|
|
@ -42,7 +42,7 @@
|
|
|
|
, trr.reglt_process_sttus_code
|
|
|
|
, trr.reglt_process_sttus_code
|
|
|
|
, trr.last_process_dt -- 최종처리일시
|
|
|
|
, trr.last_process_dt -- 최종처리일시
|
|
|
|
, trr.last_opetr -- 최종 처리자
|
|
|
|
, trr.last_opetr -- 최종 처리자
|
|
|
|
, trr.regist_se_code -- 등록구분
|
|
|
|
, trr.crdn_reg_se_cd -- 등록구분
|
|
|
|
, CONCAT(trr.reglt_de, trr.reglt_begin_time) AS regltDeTime
|
|
|
|
, CONCAT(trr.reglt_de, trr.reglt_begin_time) AS regltDeTime
|
|
|
|
, trr.reg_dt
|
|
|
|
, trr.reg_dt
|
|
|
|
, teerc.extrl_reglt_cntc_id -- CCTV data ID : 접수번호로 보여줄 것
|
|
|
|
, teerc.extrl_reglt_cntc_id -- CCTV data ID : 접수번호로 보여줄 것
|
|
|
@ -129,8 +129,8 @@
|
|
|
|
<if test='regltSeCode != null and regltSeCode != ""'>
|
|
|
|
<if test='regltSeCode != null and regltSeCode != ""'>
|
|
|
|
AND trr.reglt_se_code = #{regltSeCode}
|
|
|
|
AND trr.reglt_se_code = #{regltSeCode}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test='registSeCode != null and registSeCode != ""'>
|
|
|
|
<if test='crdnRegSeCd != null and crdnRegSeCd != ""'>
|
|
|
|
AND trr.regist_se_code = #{registSeCode}
|
|
|
|
AND trr.crdn_reg_se_cd = #{crdnRegSeCd}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
ORDER BY trr.sys_se_cd, trr.reglt_se_code
|
|
|
|
ORDER BY trr.sys_se_cd, trr.reglt_se_code
|
|
|
@ -190,7 +190,7 @@
|
|
|
|
/* cmm-fims-crackdown-mysql-mapper|updateRtReglt-단속 정보 초기 자료 반영|julim */
|
|
|
|
/* cmm-fims-crackdown-mysql-mapper|updateRtReglt-단속 정보 초기 자료 반영|julim */
|
|
|
|
UPDATE tb_rt_reglt
|
|
|
|
UPDATE tb_rt_reglt
|
|
|
|
SET reglt_se_code = IF(reglt_se_code = #{regltSeCode}, reglt_se_code, #{regltSeCode})
|
|
|
|
SET reglt_se_code = IF(reglt_se_code = #{regltSeCode}, reglt_se_code, #{regltSeCode})
|
|
|
|
, regist_se_code = IF(regist_se_code = #{registSeCode}, regist_se_code, #{registSeCode})
|
|
|
|
, crdn_reg_se_cd = IF(crdn_reg_se_cd = #{crdnRegSeCd}, crdn_reg_se_cd, #{crdnRegSeCd})
|
|
|
|
, sys_se_cd = IF(sys_se_cd = #{sysSeCd}, sys_se_cd, #{sysSeCd})
|
|
|
|
, sys_se_cd = IF(sys_se_cd = #{sysSeCd}, sys_se_cd, #{sysSeCd})
|
|
|
|
, reglt_de = IF(reglt_de = REPLACE(#{regltDe}, '-', ''), reglt_de, REPLACE(#{regltDe}, '-', ''))
|
|
|
|
, reglt_de = IF(reglt_de = REPLACE(#{regltDe}, '-', ''), reglt_de, REPLACE(#{regltDe}, '-', ''))
|
|
|
|
, reglt_begin_time = IF(reglt_begin_time = REPLACE(#{regltBeginTime}, ':', ''), reglt_begin_time, REPLACE(#{regltBeginTime}, ':', ''))
|
|
|
|
, reglt_begin_time = IF(reglt_begin_time = REPLACE(#{regltBeginTime}, ':', ''), reglt_begin_time, REPLACE(#{regltBeginTime}, ':', ''))
|
|
|
|