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