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