|
|
|
@ -40,8 +40,6 @@
|
|
|
|
|
, trr.etc_cn -- 특기사항
|
|
|
|
|
, trr.crdn_sparea_cd -- 단속특별구역코드
|
|
|
|
|
, trr.crdn_stts_cd
|
|
|
|
|
, trr.last_process_dt -- 최종처리일시
|
|
|
|
|
, trr.last_opetr -- 최종 처리자
|
|
|
|
|
, trr.crdn_reg_se_cd -- 등록구분
|
|
|
|
|
, CONCAT(trr.crdn_ymd, trr.crdn_bgng_tm) AS crdnYmdTime
|
|
|
|
|
, trr.reg_dt
|
|
|
|
@ -80,6 +78,8 @@
|
|
|
|
|
AND tgt.vhrno = trr.vhrno
|
|
|
|
|
)
|
|
|
|
|
) AS minwonCnt
|
|
|
|
|
, trr.mdfcn_dt -- 최종처리일시
|
|
|
|
|
, trr.mdfr -- 최종 처리자
|
|
|
|
|
FROM tb_rt_reglt trr
|
|
|
|
|
LEFT JOIN tb_ec_extrl_reglt_cntc teerc
|
|
|
|
|
ON trr.crdn_id = teerc.crdn_id
|
|
|
|
@ -210,8 +210,8 @@
|
|
|
|
|
, rtpyr_id = IF(rtpyr_id = #{rtpyrId}, rtpyr_id, #{rtpyrId})
|
|
|
|
|
, enlight_process_de = IF(enlight_process_de = #{enlightProcessDe}, enlight_process_de, #{enlightProcessDe})
|
|
|
|
|
, enlight_resn_code = IF(enlight_resn_code = #{enlightResnCode}, enlight_resn_code, #{enlightResnCode})
|
|
|
|
|
, last_process_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
|
|
|
|
|
, last_opetr = #{lastOpetr}
|
|
|
|
|
, mdfcn_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
|
|
|
|
|
, mdfr = #{mdfr}
|
|
|
|
|
WHERE crdn_id = #{crdnId}
|
|
|
|
|
</update>
|
|
|
|
|
|
|
|
|
@ -219,8 +219,8 @@
|
|
|
|
|
/* cmm-fims-crackdown-mysql-mapper|updateProcessStsAndProcessDtRtReglt-단속 상태와 최종처리일 변경|julim */
|
|
|
|
|
UPDATE tb_rt_reglt
|
|
|
|
|
SET crdn_stts_cd = IF(crdn_stts_cd = #{crdnSttsCd}, crdn_stts_cd, #{crdnSttsCd})
|
|
|
|
|
, last_process_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
|
|
|
|
|
, last_opetr = #{lastOpetr}
|
|
|
|
|
, mdfcn_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
|
|
|
|
|
, mdfr = #{mdfr}
|
|
|
|
|
WHERE crdn_id = #{crdnId}
|
|
|
|
|
</update>
|
|
|
|
|
|
|
|
|
|