refactor : 단속 테이블 수정

main
이범준 1 year ago
parent 47e3197ab3
commit e08657bc57

@ -131,11 +131,11 @@ public class CctvCrackdownDTO {
/**
*
*/
private String regltBeginTime;
private String crdnBgngTm;
/**
*
*/
private String regltEndTime;
private String crdnEndHr;
/**
*
*/

@ -189,8 +189,8 @@ public class EcCctvCrackdownServiceBean extends AbstractServiceBean implements E
//.crdnPlc(mdInfos[2])
//.법규
//.어린이보호구역
.regltBeginTime(busOnlyDTO.getRegltTime())
.regltEndTime(busOnlyDTO.getRegltTime())
.crdnBgngTm(busOnlyDTO.getRegltTime())
.crdnEndHr(busOnlyDTO.getRegltTime())
.gpsX(busOnlyDTO.getGpsX().substring(0, 20))
.gpsY(busOnlyDTO.getGpsY().substring(0, 20))
@ -313,8 +313,8 @@ public class EcCctvCrackdownServiceBean extends AbstractServiceBean implements E
.crdnPlc(mdInfos[2])
.violtLrgNm(mdInfos[3])
.regltSpeclZoneNm(mdInfos[4])
.regltBeginTime(mdInfos[5])
.regltEndTime(mdInfos[6])
.crdnBgngTm(mdInfos[5])
.crdnEndHr(mdInfos[6])
.gpsX(metaFileInfos.size() >= 3? metaFileInfos.get(1).trim() : null)
.gpsY(metaFileInfos.size() >= 3? metaFileInfos.get(2).trim() : null)

@ -50,11 +50,11 @@ public class RtDTO {
/**
*
*/
private String regltBeginTime;
private String crdnBgngTm;
/**
*
*/
private String regltEndTime;
private String crdnEndHr;
/**
*
*/

@ -13,8 +13,8 @@
, trr.crdn_se_cd -- 단속구분코드
, trr.crdn_inpt_se_cd -- 입력구분코드
, trr.crdn_ymd
, trr.reglt_begin_time -- 단속시작시간
, trr.reglt_end_time -- 단속종료시간
, trr.crdn_bgng_tm -- 단속시작시간
, trr.crdn_end_hr -- 단속종료시간
, trr.violt_lrg_code -- 위반 법규 코드
, trr.violt_dtls_code -- 위반내역코드
, trr.violt_dtls_etc_cn -- 위반내역 기타 내용
@ -43,7 +43,7 @@
, trr.last_process_dt -- 최종처리일시
, trr.last_opetr -- 최종 처리자
, trr.crdn_reg_se_cd -- 등록구분
, CONCAT(trr.crdn_ymd, trr.reglt_begin_time) AS crdnYmdTime
, CONCAT(trr.crdn_ymd, trr.crdn_bgng_tm) AS crdnYmdTime
, trr.reg_dt
, teerc.extrl_reglt_cntc_id -- CCTV data ID : 접수번호로 보여줄 것
, tecsd.interface_seq_n
@ -136,7 +136,7 @@
ORDER BY trr.sys_se_cd, trr.crdn_se_cd
, teerc.extrl_reglt_cntc_id
, tecsd.interface_seq_n, tecsd.ctzn_sttemnt_detail_sn
, trr.crdn_ymd, trr.vhrno, trr.reglt_begin_time
, trr.crdn_ymd, trr.vhrno, trr.crdn_bgng_tm
</select>
@ -193,7 +193,7 @@
, 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})
, crdn_ymd = IF(crdn_ymd = REPLACE(#{crdnYmd}, '-', ''), crdn_ymd, REPLACE(#{crdnYmd}, '-', ''))
, reglt_begin_time = IF(reglt_begin_time = REPLACE(#{regltBeginTime}, ':', ''), reglt_begin_time, REPLACE(#{regltBeginTime}, ':', ''))
, crdn_bgng_tm = IF(crdn_bgng_tm = REPLACE(#{crdnBgngTm}, ':', ''), crdn_bgng_tm, REPLACE(#{crdnBgngTm}, ':', ''))
, image_se_code = IF(image_se_code = #{imageSeCode}, image_se_code, #{imageSeCode})
, image_nmrs = IF(image_nmrs = #{imageNmrs}, image_nmrs, #{imageNmrs})
, crdn_plc = IF(crdn_plc = #{crdnPlc}, crdn_plc, #{crdnPlc})
@ -456,7 +456,7 @@
<select id="selectCrackdownPhotoLayout" resultType="kr.xit.fims.biz.cmm.NtriDTO$CrackdownPhotoLayout">
/* cmm-fims-crackdown-mysql-mapper|selectCrackdownPhotoLayout-주정차/전용차로 단속사진전송 정보 레이아웃 조회|julim */
SELECT CONCAT(trr.crdn_ymd, trr.reglt_begin_time) AS crdnYmdTime -- 단속일시
SELECT CONCAT(trr.crdn_ymd, trr.crdn_bgng_tm) AS crdnYmdTime -- 단속일시
, trr.vhrno -- 차량번호
, trr.crdn_se_cd -- 단속구분코드
, teerc.reglt_eqpmn_manage_no -- 단속장비관리번호

@ -212,8 +212,8 @@
, crdn_se_cd
, crdn_inpt_se_cd
, crdn_ymd
, reglt_begin_time
, reglt_end_time
, crdn_bgng_tm
, crdn_end_hr
, violt_lrg_code
, violt_dtls_code
, violt_dtls_etc_cn

@ -15,8 +15,8 @@
, crdn_inpt_se_cd
, vhrno
, crdn_ymd
, reglt_begin_time
, reglt_end_time
, crdn_bgng_tm
, crdn_end_hr
, reglt_dong_nm
, crdn_plc
, reglt_specl_zone_nm
@ -86,8 +86,8 @@
, crdn_inpt_se_cd
, vhrno
, crdn_ymd
, reglt_begin_time
, reglt_end_time
, crdn_bgng_tm
, crdn_end_hr
, reglt_dong_nm
, crdn_plc
, reglt_specl_zone_nm
@ -109,8 +109,8 @@
, #{crdnInptSeCd}
, #{vhrno}
, #{crdnYmd}
, #{regltBeginTime}
, #{regltEndTime}
, #{crdnBgngTm}
, #{crdnEndHr}
, #{regltDongNm}
, #{crdnPlc}
, #{regltSpeclZoneNm}
@ -144,8 +144,8 @@
, crdn_se_cd
, crdn_inpt_se_cd
, crdn_ymd
, reglt_begin_time
, reglt_end_time
, crdn_bgng_tm
, crdn_end_hr
, violt_lrg_code
, violt_dtls_code
, violt_dtls_etc_cn
@ -170,8 +170,8 @@
, #{crdnSeCd}
, #{crdnInptSeCd} -- 입력 구분 코드
, crdn_ymd
, reglt_begin_time -- 단속 시작 시간
, reglt_end_time -- 단속 종료 시간
, crdn_bgng_tm -- 단속 시작 시간
, crdn_end_hr -- 단속 종료 시간
, (SELECT tgt.code
FROM tb_cmn_code tgt
WHERE tgt.grp_id = 'FIM005'

@ -14,8 +14,8 @@
, trr.crdn_se_cd -- 단속구분코드
, trr.crdn_inpt_se_cd -- 입력구분코드
, trr.crdn_ymd
, trr.reglt_begin_time -- 단속시작시간
, trr.reglt_end_time -- 단속종료시간
, trr.crdn_bgng_tm -- 단속시작시간
, trr.crdn_end_hr -- 단속종료시간
, trr.violt_lrg_code -- 위반 법규 코드
, trr.violt_dtls_code -- 위반내역코드
, trr.violt_dtls_etc_cn -- 위반내역 기타 내용
@ -44,7 +44,7 @@
, trr.last_opetr
, trr.reg_dt
, trr.crdn_reg_se_cd
, CONCAT(trr.crdn_ymd, trr.reglt_begin_time) AS crdnYmdTime
, CONCAT(trr.crdn_ymd, trr.crdn_bgng_tm) AS crdnYmdTime
FROM tb_rt_reglt trr
</sql>
<!--
@ -86,7 +86,7 @@
</if>
</if>
</where>
ORDER BY trr.sys_se_cd, trr.crdn_se_cd, trr.crdn_ymd, trr.vhrno, trr.reglt_begin_time
ORDER BY trr.sys_se_cd, trr.crdn_se_cd, trr.crdn_ymd, trr.vhrno, trr.crdn_bgng_tm
</select>
<select id="selectRtReglt" resultType="kr.xit.fims.biz.rt.RtDTO$Reglt">
@ -99,7 +99,7 @@
/* rt-reglt-and-erpp-mysql-mapper|selectRtRegltByVhrno-차량 단속 정보 목록 조회|julim */
<include refid="sqlRtReglt"/>
WHERE trr.vhrno = #{vhrno}
ORDER BY trr.crdn_ymd DESC, trr.reglt_begin_time DESC
ORDER BY trr.crdn_ymd DESC, trr.crdn_bgng_tm DESC
</select>
<insert id="insertRtReglt">

@ -81,7 +81,7 @@ Date Author Description
</td>
<th>위반시간</th>
<td>
<input type="text" data-fmt-type="time" name="regltBeginTime" class="act_bg_color" />
<input type="text" data-fmt-type="time" name="crdnBgngTm" class="act_bg_color" />
</td>
</tr>
<tr>
@ -523,7 +523,7 @@ Date Author Description
,crdnSeCd: $('select[name=crdnSeCd]').val()
,crdnRegSeCd: $('select[name=crdnRegSeCd]').val()
,crdnYmd: $('input[name=crdnYmd]').val().replaceAll('-','')
,regltBeginTime: $('input[name=regltBeginTime]').val()
,crdnBgngTm: $('input[name=crdnBgngTm]').val()
,sysSeCd: $('select[name=sysSeCd]').val()
,imageSeCode: $('select[name=imageSeCode]').val()
,imageNmrs: $('input[name=imageNmrs]').val()

@ -120,7 +120,7 @@ Date Author Description
<th>위반일시</th>
<td>
<input type="text" class="form-date w-45" data-fmt-type="day" name="crdnYmd" readonly/>
<input type="text" class="form-date w-45" data-fmt-type="time" name="regltBeginTime" readonly/>
<input type="text" class="form-date w-45" data-fmt-type="time" name="crdnBgngTm" readonly/>
</td>
<th>차량번호</th>
<td>

@ -77,7 +77,7 @@
<tr>
<th>단속일시</th>
<td>
<fmt:parseDate value="${extrDTO.crdnYmd}${extrDTO.regltBeginTime}" var="crdnYmdTime" pattern="yyyyMMddHHmmss"/>
<fmt:parseDate value="${extrDTO.crdnYmd}${extrDTO.crdnBgngTm}" var="crdnYmdTime" pattern="yyyyMMddHHmmss"/>
<input type="text" name="crdnYmdTime" value='<fmt:formatDate value="${crdnYmdTime}" pattern="yyyy-MM-dd HH:mm:ss"/>' readonly>
</td>
<th>단속장소</th>

@ -214,7 +214,7 @@
},
{
header: '단속시간',
name: 'regltBeginTime',
name: 'crdnBgngTm',
width: 80,
sortable: false,
align: 'center',

@ -51,9 +51,9 @@
<th>단속장소</th>
<td colspan=""><input type="text" id="crdnPlc" name="crdnPlc" value="${dto.crdnPlc }"></td>
<th>단속시작시간</th>
<td colspan=""><input type="text" id="regltBeginTime" name="regltBeginTime" value="${dto.regltBeginTime }"></td>
<td colspan=""><input type="text" id="crdnBgngTm" name="crdnBgngTm" value="${dto.crdnBgngTm }"></td>
<th>단속종료시간</th>
<td><input type="text" id="regltEndTime" name="regltEndTime" value="${dto.regltEndTime }"></td>
<td><input type="text" id="crdnEndHr" name="crdnEndHr" value="${dto.crdnEndHr }"></td>
</tr>
<tr>
<th>위반법규</th>

Loading…
Cancel
Save