From e09bc277afdc75c07eb353956f1b5aa975eb168f Mon Sep 17 00:00:00 2001 From: leebj Date: Wed, 25 Sep 2024 09:08:44 +0900 Subject: [PATCH] =?UTF-8?q?=EB=8B=A8=EC=86=8D=EC=9E=90=EB=A3=8C=20?= =?UTF-8?q?=EC=9E=85=EB=A0=A5,=20=EC=A1=B0=ED=9A=8C=20SQL=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cokr/xit/fims/rent/service/bean/LsctBean.java | 4 ++-- src/main/resources/sql/mapper/fims/rent/lsct-mapper.xml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/cokr/xit/fims/rent/service/bean/LsctBean.java b/src/main/java/cokr/xit/fims/rent/service/bean/LsctBean.java index b920a6ab..19d5d7d6 100644 --- a/src/main/java/cokr/xit/fims/rent/service/bean/LsctBean.java +++ b/src/main/java/cokr/xit/fims/rent/service/bean/LsctBean.java @@ -113,7 +113,7 @@ public class LsctBean extends AbstractBean { // 단속 ID로 단속(TB_CRDN) 정보 조회 RentQuery rentQuery = new RentQuery(); rentQuery.setMmCode(mainList.get(iLoop).string("MM_CODE")); - + rentQuery.setTaskSeCd(mainList.get(iLoop).string("MM_TASKGB")); DataObject crdnInfo = lsctMapper.selectCrdnInfo(rentQuery); // 단속 정보가 존재하지 않는다면.. @@ -375,7 +375,7 @@ public class LsctBean extends AbstractBean { // 단속 ID로 단속(TB_CRDN) 정보 조회 RentQuery rentQuery = new RentQuery(); rentQuery.setMmCode(mainList.get(iLoop).string("MM_CODE")); - + rentQuery.setTaskSeCd(mainList.get(iLoop).string("MM_TASKGB")); DataObject crdnInfo = lsctMapper.selectCrdnInfo(rentQuery); // 단속 정보가 존재하지 않는다면.. diff --git a/src/main/resources/sql/mapper/fims/rent/lsct-mapper.xml b/src/main/resources/sql/mapper/fims/rent/lsct-mapper.xml index 6ed6b379..19d762dd 100644 --- a/src/main/resources/sql/mapper/fims/rent/lsct-mapper.xml +++ b/src/main/resources/sql/mapper/fims/rent/lsct-mapper.xml @@ -175,6 +175,7 @@ AND CRDN_ID = #{crdnId} + AND TASK_SE_CD = #{taskSeCd} AND MM_CODE = #{mmCode} @@ -235,6 +236,7 @@ , NXRP_CRDN_LINK_USER_ID , NXRP_CRDN_LINK_DT , NXRP_ACB_KEY + , MM_CODE , DEL_YN , REG_DT , RGTR @@ -282,6 +284,7 @@ , #{nxrpCrdnLinkUserId} , #{nxrpCrdnLinkDt} , #{nxrpAcbKey} + , #{mmCode} , #{delYn} , #{createdAt} , #{createdBy}