테이블명 변경(TB_FTP -> TB_EQPMNT_CRDN_FTP)

main
이범준 2 months ago
parent a9de20a9d6
commit 4139761bfc

@ -20,7 +20,7 @@ SELECT A.FILE_LAYOUT_ID
, A.ENT_NM , A.ENT_NM
, B.LINK_ENT_NM , B.LINK_ENT_NM
FROM TB_CRDN_FILE_LAYOUT A FROM TB_CRDN_FILE_LAYOUT A
LEFT OUTER JOIN TB_FTP B ON (A.FILE_LAYOUT_ID = B.FILE_LAYOUT_ID) LEFT OUTER JOIN TB_EQPMNT_CRDN_FTP B ON (A.FILE_LAYOUT_ID = B.FILE_LAYOUT_ID)
WHERE A.USE_YN = 'Y' WHERE A.USE_YN = 'Y'
AND A.TASK_SE_CD = #{taskSeCd} AND A.TASK_SE_CD = #{taskSeCd}
AND A.SGG_CD = #{sggCd} AND A.SGG_CD = #{sggCd}
@ -58,7 +58,7 @@ SELECT A.FILE_LAYOUT_ID
, B.REMOTE_WORK_PATH , B.REMOTE_WORK_PATH
, B.LINK_ENT_NM , B.LINK_ENT_NM
FROM TB_CRDN_FILE_LAYOUT A FROM TB_CRDN_FILE_LAYOUT A
LEFT OUTER JOIN TB_FTP B ON (A.FILE_LAYOUT_ID = B.FILE_LAYOUT_ID) LEFT OUTER JOIN TB_EQPMNT_CRDN_FTP B ON (A.FILE_LAYOUT_ID = B.FILE_LAYOUT_ID)
WHERE A.USE_YN = 'Y' WHERE A.USE_YN = 'Y'
AND A.FILE_LAYOUT_ID = #{fileLayoutId} AND A.FILE_LAYOUT_ID = #{fileLayoutId}
</select> </select>
@ -129,7 +129,7 @@ INSERT
<insert id="insertFtpInfo" parameterType="map"> <insert id="insertFtpInfo" parameterType="map">
/* 파일연계 원격지 정보 등록(crdnEqpmntMapper.insertFtpInfo) */ /* 파일연계 원격지 정보 등록(crdnEqpmntMapper.insertFtpInfo) */
INSERT INSERT
INTO TB_FTP ( INTO TB_EQPMNT_CRDN_FTP (
FILE_LAYOUT_ID FILE_LAYOUT_ID
, REMOTE_IP , REMOTE_IP
, REMOTE_PORT , REMOTE_PORT
@ -178,7 +178,7 @@ UPDATE TB_CRDN_FILE_LAYOUT
<update id="updateFtpInfo" parameterType="map"> <update id="updateFtpInfo" parameterType="map">
/* 파일연계 원격지 정보 수정(crdnEqpmntMapper.updateFtpInfo) */ /* 파일연계 원격지 정보 수정(crdnEqpmntMapper.updateFtpInfo) */
UPDATE TB_FTP UPDATE TB_EQPMNT_CRDN_FTP
SET REMOTE_IP = #{remoteSystemInfo.ip} SET REMOTE_IP = #{remoteSystemInfo.ip}
, REMOTE_PORT = #{remoteSystemInfo.port} , REMOTE_PORT = #{remoteSystemInfo.port}
, REMOTE_ID = #{remoteSystemInfo.id} , REMOTE_ID = #{remoteSystemInfo.id}
@ -244,7 +244,7 @@ SELECT A.FILE_LAYOUT_ID
, A.INCREASE_TYPE , A.INCREASE_TYPE
, B.LINK_ENT_NM , B.LINK_ENT_NM
FROM TB_CRDN_FILE_LAYOUT A FROM TB_CRDN_FILE_LAYOUT A
LEFT OUTER JOIN TB_FTP B ON (A.FILE_LAYOUT_ID = B.FILE_LAYOUT_ID) LEFT OUTER JOIN TB_EQPMNT_CRDN_FTP B ON (A.FILE_LAYOUT_ID = B.FILE_LAYOUT_ID)
WHERE A.USE_YN = 'Y' WHERE A.USE_YN = 'Y'
<choose> <choose>
<when test="fileLayoutId != null and fileLayoutId != '' "> <when test="fileLayoutId != null and fileLayoutId != '' ">
@ -269,7 +269,7 @@ SELECT FILE_LAYOUT_ID
, REMOTE_PASSWORD , REMOTE_PASSWORD
, REMOTE_OS , REMOTE_OS
, REMOTE_WORK_PATH , REMOTE_WORK_PATH
FROM TB_FTP FROM TB_EQPMNT_CRDN_FTP
WHERE FILE_LAYOUT_ID = #{fileLayoutId} WHERE FILE_LAYOUT_ID = #{fileLayoutId}
</select> </select>

Loading…
Cancel
Save