refactor : 단속 테이블 수정

main
이범준 1 year ago
parent e08657bc57
commit e1eae0f47f

@ -225,7 +225,7 @@ public class FimsConst {
*/
@Getter
@AllArgsConstructor
public enum RegltSpeclZoneSeCode {
public enum CrdnSpareaCd {
CHILD("01", "어린이보호구역")
,SENIOR("02", "노인보호구역")
,FIRE("03", "소방시설")

@ -123,7 +123,7 @@ public class NtriDTO {
private String crdnPlc;
/**
* : 2
* FimsConst.RegltSpeclZoneSeCode
* FimsConst.CrdnSpareaCd
* 01:
* 02:
* 03:
@ -132,7 +132,7 @@ public class NtriDTO {
*/
@NotEmpty
@Size(min = 2, max = 2, message = "단속특별구역구분")
private String regltSpeclZoneSeCode;
private String crdnSpareaCd;
/**
* : 1 -
*/
@ -245,8 +245,8 @@ public class NtriDTO {
this.crdnPlc = StringUtils.rightPad(nvl(crdnPlc), 60, " ");
}
public void setRegltSpeclZoneSeCode(String regltSpeclZoneSeCode) {
this.regltSpeclZoneSeCode = StringUtils.rightPad(nvl(regltSpeclZoneSeCode), 2, " ");
public void setCrdnSpareaCd(String crdnSpareaCd) {
this.crdnSpareaCd = StringUtils.rightPad(nvl(crdnSpareaCd), 2, " ");
}
public void setRegionSe(String regionSe) {
@ -307,7 +307,7 @@ public class NtriDTO {
}
sb.append(crdnPlc).append('|');
sb.append(regltSpeclZoneSeCode).append('|');
sb.append(crdnSpareaCd).append('|');
sb.append(regionSe).append('|');
sb.append(violtStdgCd).append('|');

@ -150,7 +150,7 @@ public class RtDTO {
/**
*
*/
private String regltSpeclZoneSeCode;
private String crdnSpareaCd;
/**
*
*/

@ -38,7 +38,7 @@
, trr.vhcty_asort_code -- 차종종별코드
, trr.vin -- 차대번호
, trr.spcmnt_matter -- 특기사항
, trr.reglt_specl_zone_se_code -- 단속특별구역코드
, trr.crdn_sparea_cd -- 단속특별구역코드
, trr.reglt_process_sttus_code
, trr.last_process_dt -- 최종처리일시
, trr.last_opetr -- 최종 처리자
@ -203,7 +203,7 @@
, vin = IF(vin = #{vin}, vin, #{vin})
, vhcty_asort_code = IF(vhcty_asort_code = #{vhctyAsortCode}, vhcty_asort_code, #{vhctyAsortCode})
, spcmnt_matter = IF(spcmnt_matter = #{spcmntMatter}, spcmnt_matter, #{spcmntMatter})
, reglt_specl_zone_se_code = IF(reglt_specl_zone_se_code = #{regltSpeclZoneSeCode}, reglt_specl_zone_se_code, #{regltSpeclZoneSeCode})
, crdn_sparea_cd = IF(crdn_sparea_cd = #{crdnSpareaCd}, crdn_sparea_cd, #{crdnSpareaCd})
, violt_dtls_code = IF(violt_dtls_code = #{violtDtlsCode}, violt_dtls_code, #{violtDtlsCode})
, reglt_process_sttus_code = IF(reglt_process_sttus_code = #{regltProcessSttusCode}, reglt_process_sttus_code, #{regltProcessSttusCode})
, rtpyr_id = IF(rtpyr_id = #{rtpyrId}, rtpyr_id, #{rtpyrId})
@ -464,7 +464,7 @@
, trr.violt_dtls_etc_cn -- 위반내역기타내용
, trr.violt_lrg_code -- 위반법규(?? 60자리)
, trr.crdn_plc -- 위반장소
, trr.reglt_specl_zone_se_code -- 단속특별구역구분
, trr.crdn_sparea_cd -- 단속특별구역구분
, '1' AS regionSe -- 지역구분
, CASE WHEN NULLIF(trr.violt_stdg_cd, '') IS NULL
THEN '0000000000'

@ -220,7 +220,7 @@
, crdn_plc
, violt_co
, violt_stdg_cd
, reglt_specl_zone_se_code
, crdn_sparea_cd
, gps_x
, gps_y
, towng_at_code

@ -152,7 +152,7 @@
, crdn_plc
, violt_co
, violt_stdg_cd
, reglt_specl_zone_se_code
, crdn_sparea_cd
, gps_x
, gps_y
, towng_at_code

@ -38,7 +38,7 @@
, trr.vhcty_asort_code -- 차종종별코드
, trr.vin -- 차대번호
, trr.spcmnt_matter -- 특기사항
, trr.reglt_specl_zone_se_code -- 단속특별구역코드
, trr.crdn_sparea_cd -- 단속특별구역코드
, trr.reglt_process_sttus_code
, trr.last_process_dt
, trr.last_opetr

@ -192,7 +192,7 @@ Date Author Description
<tr>
<th>특별단속구역</th>
<td>
<code:select id="regltSpeclZoneSeCode" name="regltSpeclZoneSeCode" grpId="FIM006" title="특별단속구역" cls="form-select" alt="단속처리상태"/>
<code:select id="crdnSpareaCd" name="crdnSpareaCd" grpId="FIM006" title="특별단속구역" cls="form-select" alt="단속처리상태"/>
</td>
<th>위반내용</th>
<td>
@ -538,7 +538,7 @@ Date Author Description
,spcmntMatter: $('input[name=spcmntMatter]').val()
,vhctyAsortCode: $('select[name=vhctyAsortCode]').val()
,regltSpeclZoneSeCode: $('select[name=regltSpeclZoneSeCode]').val()
,crdnSpareaCd: $('select[name=crdnSpareaCd]').val()
,violtDtlsCode: $('select[name=violtDtlsCode]').val()
,vhcleNm: $('input[name=vhcleNm]').val()
,vin: $('input[name=vin]').val()

@ -255,7 +255,7 @@ Date Author Description
<tr>
<th>특별단속구역</th>
<td colspan="2">
<code:select id="regltSpeclZoneSeCode" name="regltSpeclZoneSeCode" grpId="FIM010" title="특별단속구역" cls="form-select" alt="단속처리상태" disabled="true"/>
<code:select id="crdnSpareaCd" name="crdnSpareaCd" grpId="FIM010" title="특별단속구역" cls="form-select" alt="단속처리상태" disabled="true"/>
</td>
<th>위반내용</th>
<td colspan="2">

@ -73,7 +73,7 @@ ComboCodeData = {
]
// 단속 특별 구역 구분 코드 : FIM006
,regltSpeclZoneSeCode: [
,crdnSpareaCd: [
{value: '01', text: '어린이 보호구역'}
,{value: '02', text: '노인 보호구역'}
,{value: '03', text: '소방시설'}

Loading…
Cancel
Save