diff --git a/src/main/resources/sql/mapper/fims/crdn/crdn-eqpmnt-mapper.xml b/src/main/resources/sql/mapper/fims/crdn/crdn-eqpmnt-mapper.xml index 80d8c174..8351f455 100644 --- a/src/main/resources/sql/mapper/fims/crdn/crdn-eqpmnt-mapper.xml +++ b/src/main/resources/sql/mapper/fims/crdn/crdn-eqpmnt-mapper.xml @@ -20,7 +20,7 @@ SELECT A.FILE_LAYOUT_ID , A.ENT_NM , B.LINK_ENT_NM 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' AND A.TASK_SE_CD = #{taskSeCd} AND A.SGG_CD = #{sggCd} @@ -58,7 +58,7 @@ SELECT A.FILE_LAYOUT_ID , B.REMOTE_WORK_PATH , B.LINK_ENT_NM 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' AND A.FILE_LAYOUT_ID = #{fileLayoutId} @@ -129,7 +129,7 @@ INSERT /* 파일연계 원격지 정보 등록(crdnEqpmntMapper.insertFtpInfo) */ INSERT - INTO TB_FTP ( + INTO TB_EQPMNT_CRDN_FTP ( FILE_LAYOUT_ID , REMOTE_IP , REMOTE_PORT @@ -178,7 +178,7 @@ UPDATE TB_CRDN_FILE_LAYOUT /* 파일연계 원격지 정보 수정(crdnEqpmntMapper.updateFtpInfo) */ -UPDATE TB_FTP +UPDATE TB_EQPMNT_CRDN_FTP SET REMOTE_IP = #{remoteSystemInfo.ip} , REMOTE_PORT = #{remoteSystemInfo.port} , REMOTE_ID = #{remoteSystemInfo.id} @@ -244,7 +244,7 @@ SELECT A.FILE_LAYOUT_ID , A.INCREASE_TYPE , B.LINK_ENT_NM 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' @@ -269,7 +269,7 @@ SELECT FILE_LAYOUT_ID , REMOTE_PASSWORD , REMOTE_OS , REMOTE_WORK_PATH - FROM TB_FTP + FROM TB_EQPMNT_CRDN_FTP WHERE FILE_LAYOUT_ID = #{fileLayoutId}