From e08657bc57da6b2d89716365631be2b1a4c97119 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Fri, 26 May 2023 10:45:55 +0900 Subject: [PATCH] =?UTF-8?q?refactor=20:=20=EB=8B=A8=EC=86=8D=20=ED=85=8C?= =?UTF-8?q?=EC=9D=B4=EB=B8=94=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kr/xit/fims/biz/ec/CctvCrackdownDTO.java | 4 ++-- .../bean/EcCctvCrackdownServiceBean.java | 8 ++++---- src/main/java/kr/xit/fims/biz/rt/RtDTO.java | 4 ++-- .../cmm/cmm-fims-crackdown-mysql-mapper.xml | 12 +++++------ .../biz/ec/ec-ctzn-sttemnt-mysql-mapper.xml | 4 ++-- .../ec/ec-extrl-reglt-cntc-mysql-mapper.xml | 20 +++++++++---------- .../biz/rt/rt-reglt-and-erpp-mysql-mapper.xml | 10 +++++----- .../biz/cmm/cmmFimsCrackdownEditPopup.jsp | 4 ++-- .../biz/cmm/cmmFimsCrackdownTotMgtPopup.jsp | 2 +- .../jsp/fims/biz/ec/ecCctvCrackdownPopup.jsp | 2 +- .../jsp/fims/biz/rt/rtRegltMgtForm.jsp | 2 +- .../jsp/fims/biz/rt/rtRegltMgtPopup.jsp | 4 ++-- 12 files changed, 38 insertions(+), 38 deletions(-) diff --git a/src/main/java/kr/xit/fims/biz/ec/CctvCrackdownDTO.java b/src/main/java/kr/xit/fims/biz/ec/CctvCrackdownDTO.java index c8fc7401..db816c14 100644 --- a/src/main/java/kr/xit/fims/biz/ec/CctvCrackdownDTO.java +++ b/src/main/java/kr/xit/fims/biz/ec/CctvCrackdownDTO.java @@ -131,11 +131,11 @@ public class CctvCrackdownDTO { /** * 단속 시작 시간 */ - private String regltBeginTime; + private String crdnBgngTm; /** * 단속 종료 시간 */ - private String regltEndTime; + private String crdnEndHr; /** * 위반법규명 */ diff --git a/src/main/java/kr/xit/fims/biz/ec/service/bean/EcCctvCrackdownServiceBean.java b/src/main/java/kr/xit/fims/biz/ec/service/bean/EcCctvCrackdownServiceBean.java index 10656835..049bb309 100644 --- a/src/main/java/kr/xit/fims/biz/ec/service/bean/EcCctvCrackdownServiceBean.java +++ b/src/main/java/kr/xit/fims/biz/ec/service/bean/EcCctvCrackdownServiceBean.java @@ -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) diff --git a/src/main/java/kr/xit/fims/biz/rt/RtDTO.java b/src/main/java/kr/xit/fims/biz/rt/RtDTO.java index 98f7a2b8..1eea9f37 100644 --- a/src/main/java/kr/xit/fims/biz/rt/RtDTO.java +++ b/src/main/java/kr/xit/fims/biz/rt/RtDTO.java @@ -50,11 +50,11 @@ public class RtDTO { /** * 단속 시작 시간 */ - private String regltBeginTime; + private String crdnBgngTm; /** * 단속 종료 시간 */ - private String regltEndTime; + private String crdnEndHr; /** * 위반 법규 코드 */ diff --git a/src/main/resources/sql/mapper/biz/cmm/cmm-fims-crackdown-mysql-mapper.xml b/src/main/resources/sql/mapper/biz/cmm/cmm-fims-crackdown-mysql-mapper.xml index 8898c44e..df5f9276 100644 --- a/src/main/resources/sql/mapper/biz/cmm/cmm-fims-crackdown-mysql-mapper.xml +++ b/src/main/resources/sql/mapper/biz/cmm/cmm-fims-crackdown-mysql-mapper.xml @@ -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 @@ -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 @@