fix : 오류 수정

main
이범준 1 year ago
parent b0b1352606
commit 987a569f79

@ -60,8 +60,8 @@
, tre.erpp_resn_detail -- 서손사유상세
, trp.addr_se_cd -- 지번 도로 주소 구분 코드
, trp.zip
, trp.adres
, trp.detail_adres
, trp.addr
, trp.dtl_addr
, trp.stdg_cd -- 법정동 코드
, IF(trr.crdn_se_cd = '09', tecsd.violt_dtls_nm, teerc.violt_dtls_nm) AS violtDtlsNm -- 위반내용
, (SELECT COUNT(crdn_id)

@ -327,8 +327,8 @@
, rtpyr_nm = IF(rtpyr_nm = #{rtpyrNm}, rtpyr_nm, #{rtpyrNm})
, rtpyr_cttpc = IF(rtpyr_cttpc = #{rtpyrCttpc}, rtpyr_cttpc, #{rtpyrCttpc})
, zip = IF(zip = #{zip}, zip, #{zip})
, adres = IF(adres = #{adres}, adres, #{adres})
, detail_adres = IF(detail_adres = #{adres}, detail_adres, #{detailAdres})
, addr = IF(addr = #{addr}, addr, #{addr})
, dtl_addr = IF(dtl_addr = #{dtlAddr}, dtl_addr, #{dtlAddr})
, mdfcn_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
, mdfr = #{mdfr}
WHERE rtpyr_id = #{rtpyrId}
@ -407,8 +407,8 @@
, rtpyr_nm = IF(rtpyr_nm = #{rtpyrNm}, rtpyr_nm, #{rtpyrNm})
, rtpyr_cttpc = IF(rtpyr_cttpc = #{rtpyrCttpc}, rtpyr_cttpc, #{rtpyrCttpc})
, zip = IF(zip = #{zip}, zip, #{zip})
, adres = IF(adres = #{adres}, adres, #{adres})
, detail_adres = IF(detail_adres = #{adres}, detail_adres, #{detailAdres})
, addr = IF(addr = #{addr}, addr, #{addr})
, dtl_addr = IF(dtl_addr = #{dtlAddr}, dtl_addr, #{dtlAddr})
, mdfcn_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
, mdfr = #{mdfr}
</insert>

Loading…
Cancel
Save