From f673f0632ad08dd74803c44bb729ebdf743f6d63 Mon Sep 17 00:00:00 2001 From: "xitpc\\xituser" Date: Wed, 25 Sep 2024 11:21:58 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BF=BC=EB=A6=AC=20=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sql/mapper/fims/rent/lsct-mapper.xml | 24 +++++++++---------- .../fims/rent/userRentEntMpng-mapper.xml | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) 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 19d762dd..913a7c41 100644 --- a/src/main/resources/sql/mapper/fims/rent/lsct-mapper.xml +++ b/src/main/resources/sql/mapper/fims/rent/lsct-mapper.xml @@ -380,7 +380,7 @@ WHEN L.CHG_APRV_YN = 'N' AND L.CHG_DMND_YN = 'N' THEN '계약서등록' ELSE '대상' END) AS TRGT_STTS_NM - , (CASE WHEN L.ENT_ID IS NULL THEN (SELECT RE.ENT_ID FROM TB_RENT_ENT RE WHERE RE.ENT_NO = P.RTPYR_NO) + , (CASE WHEN L.ENT_ID IS NULL THEN (SELECT RE.ENT_ID FROM TB_RENT_ENT RE WHERE RE.ENT_REG_NO = P.RTPYR_NO) ELSE L.ENT_ID END) AS ENT_ID , L.HIRER_ID @@ -489,7 +489,7 @@ , RE.ENT_SE_CD , (SELECT GET_CODE_NM('FIM088', RE.ENT_SE_CD) FROM DUAL) AS ENT_SE_NM , RE.ENT_NM - , RE.ENT_NO + , RE.ENT_REG_NO , RE.RPRSV_NM , RE.ENT_TELNO , RE.ENT_FXNO @@ -527,31 +527,31 @@ AND L.CRDN_YMD #{schCrdnYmdTo} - AND L.VHRNO = #{schVhrno} + AND L.VHRNO = #{schVhrno} - AND L.RTPYR_NO IN ( + AND L.RTPYR_NO IN ( #{rtpyrNo} ) - AND L.RTPYR_NO = #{rtpyrNo} + AND L.RTPYR_NO = #{rtpyrNo} - AND RE.ENT_NO IN ( - #{schEntNo} + AND RE.ENT_REG_NO IN ( + #{schEntRegNo} ) - - AND RE.ENT_NO = #{schEntNo} + + AND RE.ENT_REG_NO = #{schEntRegNo} - AND L.SGG_CD = #{sggCd} + AND L.SGG_CD = #{sggCd} - AND L.TASK_SE_CD = #{taskSeCd} + AND L.TASK_SE_CD = #{taskSeCd} - AND L.DEL_YN = 'N' + AND L.DEL_YN = 'N' diff --git a/src/main/resources/sql/mapper/fims/rent/userRentEntMpng-mapper.xml b/src/main/resources/sql/mapper/fims/rent/userRentEntMpng-mapper.xml index f1e78df7..fb330fc5 100644 --- a/src/main/resources/sql/mapper/fims/rent/userRentEntMpng-mapper.xml +++ b/src/main/resources/sql/mapper/fims/rent/userRentEntMpng-mapper.xml @@ -34,7 +34,7 @@ , RE.ENT_SE_CD , (SELECT GET_CODE_NM('FIM088', RE.ENT_SE_CD) FROM DUAL) AS ENT_SE_NM , RE.ENT_NM - , RE.ENT_NO + , RE.ENT_REG_NO , RE.RPRSV_NM , RE.ENT_TELNO , RE.ENT_FXNO