From 5e6e6c232624827d95f439f06b4d923d6a05965f Mon Sep 17 00:00:00 2001 From: "xitpc\\xituser" Date: Mon, 21 Oct 2024 10:56:33 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9E=84=EB=8C=80=EC=B0=A8=EA=B3=84=EC=95=BD?= =?UTF-8?q?=20=EB=93=B1=EB=A1=9D=20=EC=88=98=EC=A0=95.=20=20=20-=20?= =?UTF-8?q?=EC=B2=A8=EB=B6=80=ED=8C=8C=EC=9D=BC=20=EA=B4=80=EB=A0=A8?= =?UTF-8?q?=EB=82=B4=EC=9A=A9=20=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/cokr/xit/fims/rent/LsctAprv.java | 5 ++ .../fims/rent/service/bean/LsctMpngBean.java | 2 + .../xit/fims/rent/web/Rent02Controller.java | 1 - .../sql/mapper/fims/rent/lsctAprv-mapper.xml | 57 ++++++++++++++++--- 4 files changed, 56 insertions(+), 9 deletions(-) diff --git a/src/main/java/cokr/xit/fims/rent/LsctAprv.java b/src/main/java/cokr/xit/fims/rent/LsctAprv.java index 97e5ff6e..96ff75e3 100644 --- a/src/main/java/cokr/xit/fims/rent/LsctAprv.java +++ b/src/main/java/cokr/xit/fims/rent/LsctAprv.java @@ -157,6 +157,11 @@ public class LsctAprv extends AbstractEntity { */ private Integer atchFileCnt; + /** + * 임대차계약 서비스 URL + */ + private String lsctSrvcUrl; + /** * 첨부 파일 이름1 */ diff --git a/src/main/java/cokr/xit/fims/rent/service/bean/LsctMpngBean.java b/src/main/java/cokr/xit/fims/rent/service/bean/LsctMpngBean.java index 838b384e..e5cb9daf 100644 --- a/src/main/java/cokr/xit/fims/rent/service/bean/LsctMpngBean.java +++ b/src/main/java/cokr/xit/fims/rent/service/bean/LsctMpngBean.java @@ -588,6 +588,8 @@ public class LsctMpngBean extends AbstractBean { lsctAprv.setRentEntAddr(lsctMpngInfo.string("ENT_ADDR")); // 임대 기업 주소 lsctAprv.setRentEntDtlAddr(lsctMpngInfo.string("ENT_DTL_ADDR")); // 임대 기업 상세 주소 lsctAprv.setAtchFileCnt(lsctMpngInfo.number("ATCH_FILE_CNT").intValue()); // 첨부 파일 수 +// 확인필요 + lsctAprv.setLsctSrvcUrl("http://211.119.124.9:9075/efccsscs/"); // 임대차계약 서비스 URL // 임차인 ID로 파일(TB_FILE) 정보 조회 List fileList = fileBean.getFileList(new FileQuery().setInfoType(Lsct.INF_TYPE) diff --git a/src/main/java/cokr/xit/fims/rent/web/Rent02Controller.java b/src/main/java/cokr/xit/fims/rent/web/Rent02Controller.java index 005c66f7..48212ae7 100644 --- a/src/main/java/cokr/xit/fims/rent/web/Rent02Controller.java +++ b/src/main/java/cokr/xit/fims/rent/web/Rent02Controller.java @@ -527,7 +527,6 @@ public class Rent02Controller extends ApplicationController { public ModelAndView getLeaseContractMappingList(RentQuery req) { if (!"xls".equals(req.getDownload())) { List result = lsctMpngService.getLsctAprvToMpngList(setFetchSize(req)); -// List result = lsctMpngService.getLsctMpngList(setFetchSize(req)); return setPagingInfo(new ModelAndView("jsonView"), result, ""); } else { // 현재 날짜 구하기 diff --git a/src/main/resources/sql/mapper/fims/rent/lsctAprv-mapper.xml b/src/main/resources/sql/mapper/fims/rent/lsctAprv-mapper.xml index 61629bf1..2ab5ec5b 100644 --- a/src/main/resources/sql/mapper/fims/rent/lsctAprv-mapper.xml +++ b/src/main/resources/sql/mapper/fims/rent/lsctAprv-mapper.xml @@ -37,6 +37,19 @@ + + + + + + + + + + + + + @@ -82,6 +95,19 @@ , LA.RENT_ENT_ADDR , LA.RENT_ENT_DTL_ADDR , LA.ATCH_FILE_CNT + , LA.LSCT_SRVC_URL + , LA.ATCH_FILE_NM1 + , LA.ATCH_FILE_PATH1 + , LA.ATCH_FILE_SZ1 + , LA.ATCH_FILE_NM2 + , LA.ATCH_FILE_PATH2 + , LA.ATCH_FILE_SZ2 + , LA.ATCH_FILE_NM3 + , LA.ATCH_FILE_PATH3 + , LA.ATCH_FILE_SZ3 + , LA.ATCH_FILE_NM4 + , LA.ATCH_FILE_PATH4 + , LA.ATCH_FILE_SZ4 , LA.CHG_APRV_STTS , LA.CHG_APRV_DT , LA.CHG_AUTZR_NM @@ -135,7 +161,7 @@ AND LA.APRV_ID = #{aprvId} - AND LA.LSCT_MPNG_ID IN ( + AND LA.LSCT_MPNG_ID IN ( #{lsctMpngId} ) @@ -193,6 +219,7 @@ , RENT_ENT_ADDR , RENT_ENT_DTL_ADDR , ATCH_FILE_CNT + , LSCT_SRVC_URL , ATCH_FILE_NM1 , ATCH_FILE_PATH1 , ATCH_FILE_SZ1 @@ -246,6 +273,7 @@ , #{rentEntAddr} , #{rentEntDtlAddr} , #{atchFileCnt} + , #{lsctSrvcUrl} , #{atchFileNm1} , #{atchFilePath1} , #{atchFileSz1} @@ -298,6 +326,19 @@ , RENT_ENT_ADDR = #{rentEntAddr} , RENT_ENT_DTL_ADDR = #{rentEntDtlAddr} , ATCH_FILE_CNT = #{atchFileCnt} + , LSCT_SRVC_URL = #{lsctSrvcUrl} + , ATCH_FILE_NM1 = #{atchFileNm1} + , ATCH_FILE_PATH1 = #{atchFilePath1} + , ATCH_FILE_SZ1 = #{atchFileSz1} + , ATCH_FILE_NM2 = #{atchFileNm2} + , ATCH_FILE_PATH2 = #{atchFilePath2} + , ATCH_FILE_SZ2 = #{atchFileSz2} + , ATCH_FILE_NM3 = #{atchFileNm3} + , ATCH_FILE_PATH3 = #{atchFilePath3} + , ATCH_FILE_SZ3 = #{atchFileSz3} + , ATCH_FILE_NM4 = #atchFileNm4} + , ATCH_FILE_PATH4 = #{atchFilePath4} + , ATCH_FILE_SZ4 = #{atchFileSz4} , CHG_APRV_STTS = #{chgAprvStts} , CHG_APRV_DT = #{chgAprvDt} , CHG_AUTZR_NM = #{chgAutzrNm} @@ -312,21 +353,21 @@ /* 임대차계약 승인 대장 삭제(lsctAprvMapper.deleteLsctAprv) */ UPDATE ${lsctLinkTblNm} SET CHG_APRV_STTS = #{chgAprvStts} - , DEL_YN = 'Y' - , DEL_DT = - , DLTR = #{modifiedBy} - , DEL_RSN = #{delRsn} + , DEL_YN = 'Y' + , DEL_DT = + , DLTR = #{modifiedBy} + , DEL_RSN = #{delRsn} - WHERE APRV_ID IN ( + WHERE APRV_ID IN ( #{aprvId} ) - WHERE APRV_ID = #{aprvId} + WHERE APRV_ID = #{aprvId} - AND DEL_YN = 'N' + AND DEL_YN = 'N'