FTP정보 테이블명 변경

main
이범준 9 months ago
parent 63be3663f5
commit d9f1560f8b

@ -65,7 +65,7 @@ SELECT A.FILE_LAYOUT_ID
, A.ENT_NM
, B.LINK_ENT_NM
FROM TB_CRDN_FILE_LAYOUT A
LEFT OUTER JOIN TB_FTP_INFO B ON (A.FILE_LAYOUT_ID = B.FILE_LAYOUT_ID)
LEFT OUTER JOIN TB_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}
@ -102,7 +102,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_INFO B ON (A.FILE_LAYOUT_ID = B.FILE_LAYOUT_ID)
LEFT OUTER JOIN TB_FTP B ON (A.FILE_LAYOUT_ID = B.FILE_LAYOUT_ID)
WHERE A.USE_YN = 'Y'
AND A.FILE_LAYOUT_ID = #{fileLayoutId}
</select>
@ -172,7 +172,7 @@ INSERT
<insert id="insertFtpInfo" parameterType="map">
/* 파일연계 원격지 정보 등록(crdnStngMapper.insertFtpInfo) */
INSERT
INTO TB_FTP_INFO (
INTO TB_FTP (
FILE_LAYOUT_ID
, REMOTE_IP
, REMOTE_ID
@ -219,7 +219,7 @@ UPDATE TB_CRDN_FILE_LAYOUT
<update id="updateFtpInfo" parameterType="map">
/* 파일연계 원격지 정보 수정(crdnStngMapper.updateFtpInfo) */
UPDATE TB_FTP_INFO
UPDATE TB_FTP
SET REMOTE_IP = #{remoteSystemInfo.ip}
, REMOTE_ID = #{remoteSystemInfo.id}
, REMOTE_PASSWORD = #{remoteSystemInfo.pw}
@ -284,7 +284,7 @@ SELECT A.FILE_LAYOUT_ID
, A.INCREASE_TYPE
, B.LINK_ENT_NM
FROM TB_CRDN_FILE_LAYOUT A
LEFT OUTER JOIN TB_FTP_INFO B ON (A.FILE_LAYOUT_ID = B.FILE_LAYOUT_ID)
LEFT OUTER JOIN TB_FTP B ON (A.FILE_LAYOUT_ID = B.FILE_LAYOUT_ID)
WHERE A.USE_YN = 'Y'
<choose>
<when test="fileLayoutId != null and fileLayoutId != '' ">
@ -308,7 +308,7 @@ SELECT FILE_LAYOUT_ID
, REMOTE_PASSWORD
, REMOTE_OS
, REMOTE_WORK_PATH
FROM TB_FTP_INFO
FROM TB_FTP
WHERE FILE_LAYOUT_ID = #{fileLayoutId}
</select>

Loading…
Cancel
Save