|
|
|
@ -113,7 +113,7 @@ INNER JOIN TB_CRDN_ADI CA ON (C.CRDN_ID = CA.CRDN_ID)
|
|
|
|
|
LEFT OUTER JOIN TB_TEAM T ON (CA.TEAM_ID = T.TEAM_ID)
|
|
|
|
|
LEFT OUTER JOIN TB_CRDN_CVLCPT CC ON (C.CVLCPT_LINK_YN = 'Y' AND C.CVLCPT_LINK_ID = CC.CVLCPT_LINK_ID)
|
|
|
|
|
LEFT OUTER JOIN TB_LEVY_EXCL LE ON (C.CRDN_ID = LE.CRDN_ID AND LE.DEL_YN = 'N')
|
|
|
|
|
LEFT OUTER JOIN TB_LEVY L ON (C.CRDN_ID = L.CRDN_ID)
|
|
|
|
|
LEFT OUTER JOIN TB_LEVY L ON (C.CRDN_ID = L.CRDN_ID AND L.DEL_YN = 'N')
|
|
|
|
|
LEFT OUTER JOIN TB_PAYER P ON (C.RTPYR_ID = P.RTPYR_ID)
|
|
|
|
|
LEFT OUTER JOIN TB_PAYER_ADDR PA ON (C.RTPYR_ID = PA.RTPYR_ID AND C.ADDR_SN = PA.ADDR_SN)
|
|
|
|
|
WHERE C.DEL_YN = 'N'
|
|
|
|
@ -137,6 +137,9 @@ AND C.CRDN_STTS_CD = #{crdnSttsCd}
|
|
|
|
|
<if test="towngYn != null">
|
|
|
|
|
AND CA.TOWNG_YN = #{towngYn}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="epayno != null">
|
|
|
|
|
AND L.EPAYNO = #{epayno}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="schRegDateFrom != null or schRegDateTo != null">
|
|
|
|
|
<if test="schRegDateOpt == 'regDt'">
|
|
|
|
|
<if test="schRegDateFrom != null"> AND C.REG_DT <![CDATA[>=]]> CONCAT(#{schRegDateFrom},'000000') </if>
|
|
|
|
|