fix : 단속 테이블 수정(법정동)

main
이범준 1 year ago
parent 5af5b78517
commit c7be15ee15

@ -146,7 +146,7 @@ public class NtriDTO {
@NotEmpty
@Size(min = 10, max = 10, message = "지역코드")
@Builder.Default
private String violtStdgCd = "0000000000";
private String crdnStdgCd = "0000000000";
/**
* gps X: 20
* ( _0002, _0004) "000"
@ -243,8 +243,8 @@ public class NtriDTO {
this.regionSe = StringUtils.rightPad(nvl(regionSe), 1, " ");
}
public void setVioltStdgCd(String violtStdgCd) {
this.violtStdgCd = StringUtils.rightPad(nvl(violtStdgCd), 10, " ");
public void setCrdnStdgCd(String crdnStdgCd) {
this.crdnStdgCd = StringUtils.rightPad(nvl(crdnStdgCd), 10, " ");
}
public void setGpsX(String gpsX) {
@ -295,7 +295,7 @@ public class NtriDTO {
sb.append(crdnPlc).append('|');
sb.append(crdnSpareaCd).append('|');
sb.append(regionSe).append('|');
sb.append(violtStdgCd).append('|');
sb.append(crdnStdgCd).append('|');
if((Checks.isEmpty(gpsX) || Checks.isEmpty(gpsX.trim()))
&& (SendNtriPhotoInterfaceId.PARK_FILE_NAME.getCode().equals(ifId)

@ -78,7 +78,7 @@ public class RtDTO {
/**
*
*/
private String violtStdgCd;
private String crdnStdgNm;
/**
* gps_x
*/

@ -20,7 +20,7 @@
, trr.violt_dtls_etc_cn -- 위반내역 기타 내용
, trr.crdn_plc -- 위반장소
, trr.vltn_nmtm -- 위반횟수
, trr.violt_stdg_cd -- 위반법정코드
, trr.crdn_stdg_nm -- 위반법정동명
, trr.gps_x
, trr.gps_y
, trr.towng_yn -- 견인여부 코드
@ -196,7 +196,7 @@
, crdn_bgng_tm = IF(crdn_bgng_tm = REPLACE(#{crdnBgngTm}, ':', ''), crdn_bgng_tm, REPLACE(#{crdnBgngTm}, ':', ''))
, atch_file_cnt = IF(atch_file_cnt = #{atchFileCnt}, atch_file_cnt, #{atchFileCnt})
, crdn_plc = IF(crdn_plc = #{crdnPlc}, crdn_plc, #{crdnPlc})
, violt_stdg_cd = IF(violt_stdg_cd = #{violtStdgCd}, violt_stdg_cd, #{violtStdgCd})
, crdn_stdg_nm = IF(crdn_stdg_nm = #{crdnStdgNm}, crdn_stdg_nm, #{crdnStdgNm})
, vhrno = IF(vhrno = #{vhrno}, vhrno, #{vhrno})
, vhcl_nm = IF(vhcl_nm = #{vhclNm}, vhcl_nm, #{vhclNm})
, vin = IF(vin = #{vin}, vin, #{vin})
@ -467,10 +467,10 @@
, trr.crdn_plc -- 위반장소
, trr.crdn_sparea_cd -- 단속특별구역구분
, '1' AS regionSe -- 지역구분
, CASE WHEN NULLIF(trr.violt_stdg_cd, '') IS NULL
, CASE WHEN NULLIF(trr.crdn_stdg_nm, '') IS NULL
THEN '0000000000'
ELSE trr.violt_stdg_cd
END AS violtStdgCd -- 지역코드
ELSE trr.crdn_stdg_nm
END AS crdnStdgCd -- 지역코드
, trr.gps_x
, trr.gps_y
, '' AS vhclNoX -- 자동차등록번호판위치 X축

@ -219,7 +219,7 @@
, violt_dtls_etc_cn
, crdn_plc
, vltn_nmtm
, violt_stdg_cd
, crdn_stdg_nm
, crdn_sparea_cd
, gps_x
, gps_y
@ -246,7 +246,7 @@
, '' -- 위반 내역 기타 내용
, ecsd.crdn_plc
, '1' -- 위반 횟수
, (SELECT tgt.stdg_cd
, (SELECT tgt.stdg_nm
FROM tb_stdg_info tgt
WHERE tgt.stdg_nm = null
limit 1

@ -151,7 +151,7 @@
, violt_dtls_etc_cn
, crdn_plc
, vltn_nmtm
, violt_stdg_cd
, crdn_stdg_nm
, crdn_sparea_cd
, gps_x
, gps_y
@ -182,11 +182,11 @@
, '' -- 위반 내역 기타 내용
, #{crdnPlc} -- crdn_plc
, '1' -- 위반 횟수
, (SELECT tgt.stdg_cd
, (SELECT tgt.stdg_nm
FROM tb_stdg_info tgt
WHERE tgt.stdg_nm = #{regltDongNm}
limit 1
) -- 위반 법정동 코드
) -- 위반 법정동
, (SELECT tgt.mapng_code
FROM tb_cmm_code_mapng tgt
WHERE tgt.transr_code_nm = #{regltSpeclZoneNm}

@ -21,7 +21,7 @@
, trr.violt_dtls_etc_cn -- 위반내역 기타 내용
, trr.crdn_plc -- 위반장소
, trr.vltn_nmtm -- 위반횟수
, trr.violt_stdg_cd -- 위반법정코드
, trr.crdn_stdg_nm -- 위반법정코드
, trr.gps_x
, trr.gps_y
, trr.towng_yn -- 견인여부 코드

@ -127,11 +127,11 @@ Date Author Description
<tr>
<th>시군구</th>
<td>
<input type="text" name="" />
<input type="text" name="sggNm" />
</td>
<th>법정동</th>
<td>
<input type="text" name="violtStdgCd" class="act_bg_color"/>
<input type="text" name="crdnStdgNm" class="act_bg_color"/>
</td>
</tr>
@ -532,7 +532,7 @@ Date Author Description
//시군군 추가
,violtStdgCd: $('input[name=violtStdgCd]').val()
,crdnStdgNm: $('input[name=crdnStdgNm]').val()
,vhrno: $('input[name=vhrno]').val()
//면제차량 여부 추가 : $('input:checkbox[name=sysSeCd]:checked').val()

@ -207,11 +207,11 @@ Date Author Description
</td>
<th>시군구</th>
<td>
<input type="text" name="violtStdgCd" readonly/>
<input type="text" name="sggNm" readonly/>
</td>
<th>법정동</th>
<td>
<input type="text" name="violtStdgCd" readonly/>
<input type="text" name="crdnStdgNm" readonly/>
</td>
</tr>
<tr>

Loading…
Cancel
Save