From e287709d24139070c49e15bb4ce80eaf1c68ca85 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Wed, 24 May 2023 17:21:45 +0900 Subject: [PATCH] =?UTF-8?q?refactor=20:=20=EB=82=A9=EB=B6=80=EC=9E=90=20?= =?UTF-8?q?=EC=BB=AC=EB=9F=BC=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/cmm/FimsCrackdownDTO.java | 6 +- .../biz/cmm/dao/FimsCrackdownMgtMapper.java | 2 +- .../cmm/service/FimsCrackdownMgtService.java | 2 +- .../bean/FimsCrackdownMgtServiceBean.java | 40 +++--- .../cmm/web/FimsCrackDownMgtController.java | 6 +- src/main/java/kr/xit/fims/biz/rt/RtDTO.java | 46 +++--- .../fims/biz/rt/dao/RtCrackdownMgtMapper.java | 8 +- .../bean/RtCrackdownMgtServiceBean.java | 6 +- .../cmm/cmm-fims-crackdown-mysql-mapper.xml | 18 +-- .../biz/rt/rt-reglt-and-erpp-mysql-mapper.xml | 136 +++++++++--------- .../biz/cmm/cmmCtznComplaintHistPopup.jsp | 4 +- .../fims/biz/cmm/cmmEnlightDisallowPopup.jsp | 2 +- .../biz/cmm/cmmFimsCrackdownEditPopup.jsp | 28 ++-- .../biz/cmm/cmmFimsCrackdownTotMgtPopup.jsp | 26 ++-- .../jsp/fims/biz/cmm/cmmImposePopup.jsp | 2 +- .../fims/biz/cmm/cmmIntegratedSearchForm.jsp | 14 +- .../fims/biz/rt/rtCrackdownMgtMainForm.jsp | 2 +- .../jsp/fims/biz/rt/rtInitialDataForm.jsp | 6 +- .../jsp/fims/biz/rt/rtRegltMgtPopup.jsp | 2 +- .../jsp/fims/framework/biz/cmm/XitMain.jsp | 4 +- .../js/fims/biz/common/codeComboData.js | 8 +- .../js/fims/biz/common/fimsApiURL.js | 2 +- 22 files changed, 185 insertions(+), 185 deletions(-) diff --git a/src/main/java/kr/xit/fims/biz/cmm/FimsCrackdownDTO.java b/src/main/java/kr/xit/fims/biz/cmm/FimsCrackdownDTO.java index 61dc084e..a1585878 100644 --- a/src/main/java/kr/xit/fims/biz/cmm/FimsCrackdownDTO.java +++ b/src/main/java/kr/xit/fims/biz/cmm/FimsCrackdownDTO.java @@ -132,7 +132,7 @@ public class FimsCrackdownDTO { private FimsCrackdownDTO.Info infoDTO; private FimsCrackdownDTO.Ctzn ctznDTO; - private RtDTO.Payer payerDTO; + private RtDTO.Rtpyr rtpyrDTO; private RtDTO.Erpp erppDTO; } @@ -155,7 +155,7 @@ public class FimsCrackdownDTO { private String erppId; private String erppResnCode; private String erppResnDetail; - private String payerId; + private String rtpyrId; private String tmplatId; private String answerSeCode; @@ -202,7 +202,7 @@ public class FimsCrackdownDTO { @Builder public static class CtznCmpltRequest { private String regltId; - private String payerId; + private String rtpyrId; private String vhrno; } } diff --git a/src/main/java/kr/xit/fims/biz/cmm/dao/FimsCrackdownMgtMapper.java b/src/main/java/kr/xit/fims/biz/cmm/dao/FimsCrackdownMgtMapper.java index 91e0489e..ed8aa265 100644 --- a/src/main/java/kr/xit/fims/biz/cmm/dao/FimsCrackdownMgtMapper.java +++ b/src/main/java/kr/xit/fims/biz/cmm/dao/FimsCrackdownMgtMapper.java @@ -31,7 +31,7 @@ public interface FimsCrackdownMgtMapper { CmmAnsTmplDTO.Dtl selectCtznAnswerTmplInfo(final FimsCrackdownDTO.AnsRequest dto); List selectProcessSttusChangeHist(final FimsCrackdownDTO.AnsRequest dto); - List selectPayerAdresHist(final FimsCrackdownDTO.AnsRequest dto); + List selectRtpyrAdresHist(final FimsCrackdownDTO.AnsRequest dto); List selectElctrnNticSndng(final FimsCrackdownDTO.AnsRequest dto); List selectCtznSttemntCmplt(final FimsCrackdownDTO.CtznSttemntCmplt dto); diff --git a/src/main/java/kr/xit/fims/biz/cmm/service/FimsCrackdownMgtService.java b/src/main/java/kr/xit/fims/biz/cmm/service/FimsCrackdownMgtService.java index 8325bd74..4bbbff2a 100644 --- a/src/main/java/kr/xit/fims/biz/cmm/service/FimsCrackdownMgtService.java +++ b/src/main/java/kr/xit/fims/biz/cmm/service/FimsCrackdownMgtService.java @@ -25,7 +25,7 @@ public interface FimsCrackdownMgtService { CmmAnsTmplDTO.Dtl findCtznAnswerTmplInfo(final FimsCrackdownDTO.AnsRequest dto); CtznStmtDTO.Ans findCtznStmtAnswer(final FimsCrackdownDTO.AnsRequest dto); List findProcessSttusChangeHist(final FimsCrackdownDTO.AnsRequest dto); - List findPayerAdresHist(final FimsCrackdownDTO.AnsRequest dto); + List findRtpyrAdresHist(final FimsCrackdownDTO.AnsRequest dto); List findElctrnNticSndng(final FimsCrackdownDTO.AnsRequest dto); List findCtznSttemntCmplt(final FimsCrackdownDTO.CtznSttemntCmplt dto); void addCtznSttemntCmplt(final FimsCrackdownDTO.CtznSttemntCmplt dto); diff --git a/src/main/java/kr/xit/fims/biz/cmm/service/bean/FimsCrackdownMgtServiceBean.java b/src/main/java/kr/xit/fims/biz/cmm/service/bean/FimsCrackdownMgtServiceBean.java index 4ac1f0e9..96e1d781 100644 --- a/src/main/java/kr/xit/fims/biz/cmm/service/bean/FimsCrackdownMgtServiceBean.java +++ b/src/main/java/kr/xit/fims/biz/cmm/service/bean/FimsCrackdownMgtServiceBean.java @@ -76,20 +76,20 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements // 단속구분코드 : 01-고정형CCTV, 02-주행형CCTV, 07-버스장착형CCTV, 09-시민신고(국민신문고) FimsCrackdownDTO.Info infoDTO = new FimsCrackdownDTO.Info(); - RtDTO.Payer payerDTO = new RtDTO.Payer(); + RtDTO.Rtpyr rtpyrDTO = new RtDTO.Rtpyr(); FimsCrackdownDTO.Ctzn ctznDTO = new FimsCrackdownDTO.Ctzn(); if(Checks.isNotEmpty(reqDTO.getRegltId())){ infoDTO = mapper.selectCrackdown(reqDTO); - if(Checks.isNotEmpty(infoDTO.getPayerId())){ - payerDTO = rtCrackdownMgtMapper.selectRtPayer(infoDTO.getPayerId()); + if(Checks.isNotEmpty(infoDTO.getRtpyrId())){ + rtpyrDTO = rtCrackdownMgtMapper.selectRtRtpyr(infoDTO.getRtpyrId()); } if(Objects.equals(reqDTO.getRegltSeCode(), FimsConst.RegltSeCode.CITIZEN.getCode())){ ctznDTO = mapper.selectCtznStmtInfo(reqDTO); } } rtnMap.put("infoDTO", infoDTO); - rtnMap.put("payerDTO", payerDTO); + rtnMap.put("rtpyrDTO", rtpyrDTO); rtnMap.put("ctznDTO", ctznDTO); return rtnMap; } @@ -99,22 +99,22 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements public void saveImposeTgt(final FimsCrackdownDTO.SaveRequest saveDTO) { FimsCrackdownDTO.Info infoDTO = saveDTO.getInfoDTO(); FimsCrackdownDTO.Ctzn ctznDTO = saveDTO.getCtznDTO(); - RtDTO.Payer payerDTO = saveDTO.getPayerDTO(); + RtDTO.Rtpyr rtpyrDTO = saveDTO.getRtpyrDTO(); // 1. 납부자 정보 등록 및 변경 - if (Checks.isEmpty(payerDTO.getPayerId())) { - payerDTO.setRgtr(getUserInfo().getUniqId()); - rtCrackdownMgtMapper.insertRtPayer(payerDTO); + if (Checks.isEmpty(rtpyrDTO.getRtpyrId())) { + rtpyrDTO.setRgtr(getUserInfo().getUniqId()); + rtCrackdownMgtMapper.insertRtRtpyr(rtpyrDTO); } else { - payerDTO.setMdfr(getUserInfo().getUniqId()); - rtCrackdownMgtMapper.updateRtPayer(payerDTO); + rtpyrDTO.setMdfr(getUserInfo().getUniqId()); + rtCrackdownMgtMapper.updateRtRtpyr(rtpyrDTO); } // 2. 단속 테이블 정보 반영 - 처리상태, 시구군, 법정동, 특기사항, 특기사항코드, 위반코드, 차량명, 차대번호 // 진행상태 - 부과대상 //시군구 추가 //면제차량 여부 추가 : $('input:checkbox[name=sysSeCd]:checked').val() - infoDTO.setPayerId(payerDTO.getPayerId()); + infoDTO.setRtpyrId(rtpyrDTO.getRtpyrId()); infoDTO.setRegltProcessSttusCode(FimsConst.RegltProcessSttusCode.CRACKDOWN.getCode()); infoDTO.setLastOpetr(getUserInfo().getUniqId()); @@ -168,22 +168,22 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements public void saveEnlight(final FimsCrackdownDTO.SaveRequest saveDTO) { FimsCrackdownDTO.Info infoDTO = saveDTO.getInfoDTO(); FimsCrackdownDTO.Ctzn ctznDTO = saveDTO.getCtznDTO(); - RtDTO.Payer payerDTO = saveDTO.getPayerDTO(); + RtDTO.Rtpyr rtpyrDTO = saveDTO.getRtpyrDTO(); // 1. 납부자 정보 등록 및 변경 - if (Checks.isEmpty(payerDTO.getPayerId())) { - payerDTO.setRgtr(getUserInfo().getUniqId()); - rtCrackdownMgtMapper.insertRtPayer(payerDTO); + if (Checks.isEmpty(rtpyrDTO.getRtpyrId())) { + rtpyrDTO.setRgtr(getUserInfo().getUniqId()); + rtCrackdownMgtMapper.insertRtRtpyr(rtpyrDTO); } else { - payerDTO.setMdfr(getUserInfo().getUniqId()); - rtCrackdownMgtMapper.updateRtPayer(payerDTO); + rtpyrDTO.setMdfr(getUserInfo().getUniqId()); + rtCrackdownMgtMapper.updateRtRtpyr(rtpyrDTO); } // 2. 단속 테이블 정보 반영 - 처리상태, 시구군, 법정동, 특기사항, 특기사항코드, 위반코드, 차량명, 차대번호 // 진행상태 - 부과대상 //시군구 추가 //면제차량 여부 추가 : $('input:checkbox[name=sysSeCd]:checked').val() - infoDTO.setPayerId(payerDTO.getPayerId()); + infoDTO.setRtpyrId(rtpyrDTO.getRtpyrId()); infoDTO.setRegltProcessSttusCode(FimsConst.RegltProcessSttusCode.ENLIGHT.getCode());; infoDTO.setLastOpetr(getUserInfo().getUniqId()); @@ -297,8 +297,8 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements return mapper.selectProcessSttusChangeHist(dto); } @Override - public List findPayerAdresHist(final FimsCrackdownDTO.AnsRequest dto){ - return mapper.selectPayerAdresHist(dto); + public List findRtpyrAdresHist(final FimsCrackdownDTO.AnsRequest dto){ + return mapper.selectRtpyrAdresHist(dto); } @Override public List findElctrnNticSndng(final FimsCrackdownDTO.AnsRequest dto){ diff --git a/src/main/java/kr/xit/fims/biz/cmm/web/FimsCrackDownMgtController.java b/src/main/java/kr/xit/fims/biz/cmm/web/FimsCrackDownMgtController.java index 177c864b..43771a0d 100644 --- a/src/main/java/kr/xit/fims/biz/cmm/web/FimsCrackDownMgtController.java +++ b/src/main/java/kr/xit/fims/biz/cmm/web/FimsCrackDownMgtController.java @@ -250,9 +250,9 @@ public class FimsCrackDownMgtController extends AbstractController { return ResultResponse.of(service.findProcessSttusChangeHist(dto)); } - @RequestMapping(name = "", value = "/findPayerAdresHist") - public ModelAndView findPayerAdresHist(final FimsCrackdownDTO.AnsRequest dto){ - return ResultResponse.of(service.findPayerAdresHist(dto)); + @RequestMapping(name = "", value = "/findRtpyrAdresHist") + public ModelAndView findRtpyrAdresHist(final FimsCrackdownDTO.AnsRequest dto){ + return ResultResponse.of(service.findRtpyrAdresHist(dto)); } @RequestMapping(name = "", value = "/findElctrnNticSndng") 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 f666ebfd..ec079d36 100644 --- a/src/main/java/kr/xit/fims/biz/rt/RtDTO.java +++ b/src/main/java/kr/xit/fims/biz/rt/RtDTO.java @@ -26,7 +26,7 @@ public class RtDTO { /** * 납부자 id */ - private String payerId; + private String rtpyrId; /** * 기관 코드 */ @@ -255,13 +255,13 @@ public class RtDTO { @NoArgsConstructor @AllArgsConstructor @Builder - public static class Payer implements Serializable { + public static class Rtpyr implements Serializable { private static final long serialVersionUID = 1L; /** * 납부자 id */ - private String payerId; + private String rtpyrId; /** * 기관 코드 */ @@ -273,31 +273,31 @@ public class RtDTO { /** * 납부자 구분 코드 */ - private String payerSeCode; + private String rtpyrSeCode; /** * 납부자 번호 */ - private String payerNo; + private String rtpyrNo; /** * 납부자 명 */ - private String payerNm; + private String rtpyrNm; /** * 납부자 연락처 */ - private String payerCttpc; + private String rtpyrCttpc; /** * 납부자 연락처 구분 코드 */ - private String payerCttpcSeCode; + private String rtpyrCttpcSeCode; /** * 납부자 이메일 주소 */ - private String payerEmailAdres; + private String rtpyrEmailAdres; /** * 납부자 상태 코드 */ - private String payerSttusCode; + private String rtpyrSttusCode; /** * 지번 도로 주소 구분 코드 */ @@ -369,7 +369,7 @@ public class RtDTO { /** * 납부자 등록 구분 코드 */ - private String payerRegistSeCode; + private String rtpyrRegistSeCode; /** * 등록구분코드 : FIM026 - 10:자동등록, 20:수기등록 */ @@ -396,7 +396,7 @@ public class RtDTO { /** * 납부자 이력 순번 */ - private String payerHistSn; + private String rtpyrHistSn; } /** @@ -477,17 +477,17 @@ public class RtDTO { @NoArgsConstructor @AllArgsConstructor @Builder - public static class PayerHist implements Serializable { + public static class RtpyrHist implements Serializable { private static final long serialVersionUID = 1L; /** * 납부자 id */ - private String payerId; + private String rtpyrId; /** * 납부자 이력 순번 */ - private String payerHistSn; + private String rtpyrHistSn; /** * 기관 코드 */ @@ -499,31 +499,31 @@ public class RtDTO { /** * 납부자 구분 코드 */ - private String payerSeCode; + private String rtpyrSeCode; /** * 납부자 번호 */ - private String payerNo; + private String rtpyrNo; /** * 납부자 명 */ - private String payerNm; + private String rtpyrNm; /** * 납부자 연락처 */ - private String payerCttpc; + private String rtpyrCttpc; /** * 납부자 연락처 구분 코드 */ - private String payerCttpcSeCode; + private String rtpyrCttpcSeCode; /** * 납부자 이메일 주소 */ - private String payerEmailAdres; + private String rtpyrEmailAdres; /** * 납부자 상태 코드 */ - private String payerSttusCode; + private String rtpyrSttusCode; /** * 지번 도로 주소 구분 코드 */ @@ -595,7 +595,7 @@ public class RtDTO { /** * 납부자 등록 구분 코드 */ - private String payerRegistSeCode; + private String rtpyrRegistSeCode; /** * 등록 일시 */ diff --git a/src/main/java/kr/xit/fims/biz/rt/dao/RtCrackdownMgtMapper.java b/src/main/java/kr/xit/fims/biz/rt/dao/RtCrackdownMgtMapper.java index c0030f63..673f2ed6 100644 --- a/src/main/java/kr/xit/fims/biz/rt/dao/RtCrackdownMgtMapper.java +++ b/src/main/java/kr/xit/fims/biz/rt/dao/RtCrackdownMgtMapper.java @@ -19,7 +19,7 @@ public interface RtCrackdownMgtMapper { List selectRtReglts(final Map paraMap, final RowBounds rowBounds); RtDTO.Reglt selectRtReglt(final T t); List selectRtRegltByVhrno(final T t); - RtDTO.Payer selectRtPayer(final T t); + RtDTO.Rtpyr selectRtRtpyr(final T t); void insertRtReglt(final RtDTO.Reglt dto); void updateRtReglt(final RtDTO.Reglt dto); @@ -32,11 +32,11 @@ public interface RtCrackdownMgtMapper { //----------------------------------------------------- // 납부자 : tb_rt_payer //----------------------------------------------------- - void insertRtPayer(final RtDTO.Payer dto); - void updateRtPayer(final RtDTO.Payer dto); + void insertRtRtpyr(final RtDTO.Rtpyr dto); + void updateRtRtpyr(final RtDTO.Rtpyr dto); @Deprecated - void saveRtPayer(final RtDTO.Payer dto); + void saveRtRtpyr(final RtDTO.Rtpyr dto); //----------------------------------------------------- diff --git a/src/main/java/kr/xit/fims/biz/rt/service/bean/RtCrackdownMgtServiceBean.java b/src/main/java/kr/xit/fims/biz/rt/service/bean/RtCrackdownMgtServiceBean.java index fc130e54..99723bf2 100644 --- a/src/main/java/kr/xit/fims/biz/rt/service/bean/RtCrackdownMgtServiceBean.java +++ b/src/main/java/kr/xit/fims/biz/rt/service/bean/RtCrackdownMgtServiceBean.java @@ -52,8 +52,8 @@ public class RtCrackdownMgtServiceBean extends AbstractServiceBean implements Rt mapper.updateRtReglt(dto); //소유자 수정 /*1단계 차적조회를 안하고 바로 자료 전송 - 하여 payer를 알수 없음.*/ - /*fimsTotalPopupMapper.modifyProcPayer(vo);*/ + 하여 rtpyr를 알수 없음.*/ + /*fimsTotalPopupMapper.modifyProcRtpyr(vo);*/ //서손 수정 /*fimsTotalPopupMapper.modifyProcErpp(vo);*/ @@ -69,7 +69,7 @@ public class RtCrackdownMgtServiceBean extends AbstractServiceBean implements Rt //단속정보 삭제 mapper.deleteRtReglt(dto); //소유자 수정 - /*fimsTotalPopupMapper.modifyProcPayer(vo);*/ + /*fimsTotalPopupMapper.modifyProcRtpyr(vo);*/ //서손 수정 /*fimsTotalPopupMapper.modifyProcErpp(vo);*/ 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 c0fce43f..d055d8eb 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 @@ -7,7 +7,7 @@ ************************************************************************************************************** --> SELECT trr.reglt_id - , trr.payer_id -- 납부자ID + , trr.rtpyr_id -- 납부자ID , trr.instt_code -- 기관코드 , trr.sys_se_cd -- 시스템코드 , trr.reglt_se_code -- 단속구분코드 @@ -72,8 +72,8 @@ WHERE EXISTS(SELECT 1 FROM tb_rt_reglt WHERE tgt.reglt_id = reglt_id - AND NOT NULLIF(payer_id, '') IS NULL - AND payer_id = trr.payer_id + AND NOT NULLIF(rtpyr_id, '') IS NULL + AND rtpyr_id = trr.rtpyr_id ) OR ( NOT NULLIF(trr.vhrno, '') IS NULL @@ -92,7 +92,7 @@ LEFT JOIN tb_rt_erpp tre ON trr.reglt_id = tre.reglt_id LEFT JOIN tb_rt_payer trp - ON trr.payer_id = trp.payer_id + ON trr.rtpyr_id = trp.rtpyr_id @@ -206,7 +206,7 @@ , reglt_specl_zone_se_code = IF(reglt_specl_zone_se_code = #{regltSpeclZoneSeCode}, reglt_specl_zone_se_code, #{regltSpeclZoneSeCode}) , 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}) - , payer_id = IF(payer_id = #{payerId}, payer_id, #{payerId}) + , rtpyr_id = IF(rtpyr_id = #{rtpyrId}, rtpyr_id, #{rtpyrId}) , enlight_process_de = IF(enlight_process_de = #{enlightProcessDe}, enlight_process_de, #{enlightProcessDe}) , enlight_resn_code = IF(enlight_resn_code = #{enlightResnCode}, enlight_resn_code, #{enlightResnCode}) , last_process_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s') @@ -377,12 +377,12 @@ WHERE reglt_id = #{regltId} - + /* cmm-fims-crackdown-mysql-mapper|selectRtpyrAdresHist-소유자 주소 변경 이력 조회|julim */ SELECT reg_dt , all_adres FROM tb_rt_payer_hist - WHERE payer_id = #{payerId} + WHERE rtpyr_id = #{rtpyrId} - /* rt-reglt-and-erpp-mysql-mapper|selectRtPayer-납부자 정보 조회|julim */ - SELECT payer_id + - - /* rt-reglt-and-erpp-mysql-mapper|insertRtPayer-납부자 정보 등록|julim */ - - SELECT LPAD(NEXTVAL(seq_rt_payer), 12, '0') + + /* rt-reglt-and-erpp-mysql-mapper|insertRtRtpyr-납부자 정보 등록|julim */ + + SELECT LPAD(NEXTVAL(seq_rt_rtpyr), 12, '0') INSERT INTO tb_rt_payer ( - payer_id + rtpyr_id , instt_code , sys_se_cd - , payer_se_code - , payer_no - , payer_nm - , payer_cttpc - , payer_cttpc_se_code - , payer_email_adres - , payer_sttus_code + , rtpyr_se_code + , rtpyr_no + , rtpyr_nm + , rtpyr_cttpc + , rtpyr_cttpc_se_code + , rtpyr_email_adres + , rtpyr_sttus_code , lnm_road_adres_se_code , zip , rn_code @@ -283,20 +283,20 @@ , adres , detail_adres , all_adres - , payer_regist_se_code + , rtpyr_regist_se_code , reg_dt , rgtr ) VALUES ( - #{payerId} + #{rtpyrId} , #{insttCode} , #{sysSeCd} - , #{payerSeCode} - , #{payerNo} - , #{payerNm} - , #{payerCttpc} - , #{payerCttpcSeCode} - , #{payerEmailAdres} - , #{payerSttusCode} + , #{rtpyrSeCode} + , #{rtpyrNo} + , #{rtpyrNm} + , #{rtpyrCttpc} + , #{rtpyrCttpcSeCode} + , #{rtpyrEmailAdres} + , #{rtpyrSttusCode} , #{lnmRoadAdresSeCode} , #{zip} , #{rnCode} @@ -314,42 +314,42 @@ , #{adres} , #{detailAdres} , #{allAdres} - , #{payerRegistSeCode} + , #{rtpyrRegistSeCode} , DATE_FORMAT(NOW(), '%Y%m%d%H%i%s') , #{rgtr} ) - - /* rt-reglt-and-erpp-mysql-mapper|updateRtPayer-납부자 정보 변경|julim */ + + /* rt-reglt-and-erpp-mysql-mapper|updateRtRtpyr-납부자 정보 변경|julim */ UPDATE tb_rt_payer - SET payer_se_code = IF(payer_se_code = #{payerSeCode}, payer_se_code, #{payerSeCode}) - , payer_no = IF(payer_no = #{payerNo}, payer_no, #{payerNo}) - , payer_nm = IF(payer_nm = #{payerNm}, payer_nm, #{payerNm}) - , payer_cttpc = IF(payer_cttpc = #{payerCttpc}, payer_cttpc, #{payerCttpc}) + SET rtpyr_se_code = IF(rtpyr_se_code = #{rtpyrSeCode}, rtpyr_se_code, #{rtpyrSeCode}) + , rtpyr_no = IF(rtpyr_no = #{rtpyrNo}, rtpyr_no, #{rtpyrNo}) + , rtpyr_nm = IF(rtpyr_nm = #{rtpyrNm}, rtpyr_nm, #{rtpyrNm}) + , rtpyr_cttpc = IF(rtpyr_cttpc = #{rtpyrCttpc}, rtpyr_cttpc, #{rtpyrCttpc}) , zip = IF(zip = #{zip}, zip, #{zip}) , adres = IF(adres = #{adres}, adres, #{adres}) , detail_adres = IF(detail_adres = #{adres}, detail_adres, #{detailAdres}) , mdfcn_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s') , mdfr = #{mdfr} - WHERE payer_id = #{payerId} + WHERE rtpyr_id = #{rtpyrId} - - /* rt-reglt-and-erpp-mysql-mapper|saveRtPayer-납부자 정보 등록 / 변경|julim */ + + /* rt-reglt-and-erpp-mysql-mapper|saveRtRtpyr-납부자 정보 등록 / 변경|julim */ INSERT INTO tb_rt_payer ( - payer_id + rtpyr_id , instt_code , sys_se_cd - , payer_se_code - , payer_no - , payer_nm - , payer_cttpc - , payer_cttpc_se_code - , payer_email_adres - , payer_sttus_code + , rtpyr_se_code + , rtpyr_no + , rtpyr_nm + , rtpyr_cttpc + , rtpyr_cttpc_se_code + , rtpyr_email_adres + , rtpyr_sttus_code , lnm_road_adres_se_code , zip , rn_code @@ -367,20 +367,20 @@ , adres , detail_adres , all_adres - , payer_regist_se_code + , rtpyr_regist_se_code , reg_dt , rgtr ) VALUES ( - LPAD(NEXTVAL(seq_rt_payer), 12, '0') + LPAD(NEXTVAL(seq_rt_rtpyr), 12, '0') , #{insttCode} , #{sysSeCd} - , #{payerSeCode} - , #{payerNo} - , #{payerNm} - , #{payerCttpc} - , #{payerCttpcSeCode} - , #{payerEmailAdres} - , #{payerSttusCode} + , #{rtpyrSeCode} + , #{rtpyrNo} + , #{rtpyrNm} + , #{rtpyrCttpc} + , #{rtpyrCttpcSeCode} + , #{rtpyrEmailAdres} + , #{rtpyrSttusCode} , #{lnmRoadAdresSeCode} , #{zip} , #{rnCode} @@ -398,15 +398,15 @@ , #{adres} , #{detailAdres} , #{allAdres} - , #{payerRegistSeCode} + , #{rtpyrRegistSeCode} , DATE_FORMAT(NOW(), '%Y%m%d%H%i%s') , #{rgtr} ) ON DUPLICATE KEY - UPDATE payer_se_code = IF(payer_se_code = #{payerSeCode}, payer_se_code, #{payerSeCode}) - , payer_no = IF(payer_no = #{payerNo}, payer_no, #{payerNo}) - , payer_nm = IF(payer_nm = #{payerNm}, payer_nm, #{payerNm}) - , payer_cttpc = IF(payer_cttpc = #{payerCttpc}, payer_cttpc, #{payerCttpc}) + UPDATE rtpyr_se_code = IF(rtpyr_se_code = #{rtpyrSeCode}, rtpyr_se_code, #{rtpyrSeCode}) + , rtpyr_no = IF(rtpyr_no = #{rtpyrNo}, rtpyr_no, #{rtpyrNo}) + , rtpyr_nm = IF(rtpyr_nm = #{rtpyrNm}, rtpyr_nm, #{rtpyrNm}) + , rtpyr_cttpc = IF(rtpyr_cttpc = #{rtpyrCttpc}, rtpyr_cttpc, #{rtpyrCttpc}) , zip = IF(zip = #{zip}, zip, #{zip}) , adres = IF(adres = #{adres}, adres, #{adres}) , detail_adres = IF(detail_adres = #{adres}, detail_adres, #{detailAdres}) diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmCtznComplaintHistPopup.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmCtznComplaintHistPopup.jsp index aa8ed4c0..f01145e3 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmCtznComplaintHistPopup.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmCtznComplaintHistPopup.jsp @@ -110,7 +110,7 @@ Date Author Description function search$$s(){ - $$Control.query = {gubun: 0, payerId: '${param.payerId}', regltId: '${param.regltId}'}; + $$Control.query = {gubun: 0, rtpyrId: '${param.rtpyrId}', regltId: '${param.regltId}'}; $2$Control.query = {gubun: 1, vhrno: '${param.vhrno}'}; ARR_TAP_GRID[0].clear(); @@ -297,7 +297,7 @@ Date Author Description initPopupGrid(); const param = { regltId: '${param.regltId}' - ,payerId: '${param.payerId}' + ,rtpyrId: '${param.rtpyrId}' ,vhrno: '${param.vhrno}' }; diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmEnlightDisallowPopup.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmEnlightDisallowPopup.jsp index 9483cb3f..92cb59be 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmEnlightDisallowPopup.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmEnlightDisallowPopup.jsp @@ -39,7 +39,7 @@ Date Author Description select[name=vhctyAsortCode] { width: 30%; } - select[name=payerSeCode] { + select[name=rtpyrSeCode] { width: 25%; } diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmFimsCrackdownEditPopup.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmFimsCrackdownEditPopup.jsp index ab4d6f2e..f4b7cc00 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmFimsCrackdownEditPopup.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmFimsCrackdownEditPopup.jsp @@ -51,7 +51,7 @@ Date Author Description - + @@ -177,15 +177,15 @@ Date Author Description @@ -342,7 +342,7 @@ Date Author Description schParam = { regltId: res.infoDTO?.regltId, regltSeCode: res.infoDTO?.regltSeCode, - payerId: res.infoDTO.payerId, + rtpyrId: res.infoDTO.rtpyrId, vhrno: res.infoDTO.vhrno } @@ -361,7 +361,7 @@ Date Author Description fnPopupBiz.resetDisplay(res.ctznDTO?.cvplRceptNo); let formFields = new FimsFormFields("#frm"); - formFields.set({...res.ctznDTO, ...res.payerDTO, ...res.infoDTO}); + formFields.set({...res.ctznDTO, ...res.rtpyrDTO, ...res.infoDTO}); orgData = $('form').serialize(); } @@ -557,11 +557,11 @@ Date Author Description ,cvplReqstCn: $('input[name=cvplReqstCn]').val() } - const payerDTO = { - payerId: $('input[name=payerId]').val() - ,payerSeCode: $('input[name=payerSeCode]').val() - ,payerNm: $('input[name=payerNm]').val() - ,payerNo: $('input[name=payerNo]').val() + const rtpyrDTO = { + rtpyrId: $('input[name=rtpyrId]').val() + ,rtpyrSeCode: $('input[name=rtpyrSeCode]').val() + ,rtpyrNm: $('input[name=rtpyrNm]').val() + ,rtpyrNo: $('input[name=rtpyrNo]').val() ,zip: $('input[name=zip]').val() ,adres: $('input[name=adres]').val() ,detailAdres: $('input[name=detailAdres]').val() @@ -575,7 +575,7 @@ Date Author Description ,regltSeCode: $('select[name=regltSeCode]').val() ,infoDTO ,ctznDTO - ,payerDTO + ,rtpyrDTO } } @@ -649,7 +649,7 @@ Date Author Description const url = fimsApiUrl.POPUP_CTZN_CMPLNT_HIST; const popOption = {width: 800, height:600}; const popTitle = "민원 내역 조회"; - const params = {regltId: schParam.regltId, payerId: schParam.payerId, vhrno:schParam.vhrno} + const params = {regltId: schParam.regltId, rtpyrId: schParam.rtpyrId, vhrno:schParam.vhrno} const p = CmmPopup.open($$Control.urls.minwonPopup, params, popOption, popTitle); } @@ -657,7 +657,7 @@ Date Author Description const url = fimsApiUrl.POPUP_CAR_CRACKDOWN_CNT; const popOption = {width: 900, height:600}; const popTitle = "민원 내역 조회"; - const params = {regltId: schParam.regltId, payerId: schParam.payerId, vhrno:schParam.vhrno} + const params = {regltId: schParam.regltId, rtpyrId: schParam.rtpyrId, vhrno:schParam.vhrno} const p = CmmPopup.open($$Control.urls.carCrackdownCntPopup, params, popOption, popTitle); } }; diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmFimsCrackdownTotMgtPopup.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmFimsCrackdownTotMgtPopup.jsp index 55b507c3..3ab67871 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmFimsCrackdownTotMgtPopup.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmFimsCrackdownTotMgtPopup.jsp @@ -265,8 +265,8 @@ Date Author Description
위반정보 상세
소유자(차종)
- +
주민번호(구분)
- - + +
-
- + + @@ -281,11 +281,11 @@ Date Author Description @@ -310,7 +310,7 @@ Date Author Description @@ -693,7 +693,7 @@ Date Author Description const ARR_TAP_TOTCNT = [0, 0, 0, 0, 0]; let CUR_TAB_SEQ = 0; - // 처리상태변경이력 : regltId, 주소변경이력, 전자고지발송이력 : payerId, 개별민원등록이력: interfaceSeqN, 차량번호민원등록리력: vhrno + // 처리상태변경이력 : regltId, 주소변경이력, 전자고지발송이력 : rtpyrId, 개별민원등록이력: interfaceSeqN, 차량번호민원등록리력: vhrno let schParam = null; let $$Control = new FimsDatasetControl({ @@ -742,7 +742,7 @@ Date Author Description prefixName:"주소변경이력", infoSize:"xl", urls : { - load : fimsApiUrl.FIND_PAYER_ADRES_HIST + load : fimsApiUrl.FIND_RTPYR_ADRES_HIST }, keymapper:info => info ? info.CRACKDOWN_KEY : "", dataGetter:obj => obj.data.contents @@ -851,17 +851,17 @@ Date Author Description $1$Control.load(1); } function search$2$s(){ - $2$Control.query = {payerId: schParam.payerId}; + $2$Control.query = {rtpyrId: schParam.rtpyrId}; ARR_TAP_GRID[1].clear(); $2$Control.load(1); } function search$3$s(){ - $3$Control.query = {payerId: schParam.payerId}; + $3$Control.query = {rtpyrId: schParam.rtpyrId}; ARR_TAP_GRID[2].clear(); $3$Control.load(1); } function search$4$s(){ - $4$Control.query = {gubun: 0, payerId: schParam.payerId, regltId: schParam.regltId}; + $4$Control.query = {gubun: 0, rtpyrId: schParam.rtpyrId, regltId: schParam.regltId}; ARR_TAP_GRID[3].clear(); $4$Control.load(1); } @@ -936,12 +936,12 @@ Date Author Description let formFields1 = new FimsFormFields("#frmReglt"); formFields1.set({...res.ctznDTO, ...res.infoDTO}); - let formFields2 = new FimsFormFields("#frmPayer"); - formFields2.set(res.payerDTO); + let formFields2 = new FimsFormFields("#frmRtpyr"); + formFields2.set(res.rtpyrDTO); schParam = { regltId: res.infoDTO?.regltId, - payerId: res.payerDTO?.payerId, + rtpyrId: res.rtpyrDTO?.rtpyrId, interfaceSeqN: res.infoDTO.interfaceSeqN, vhrno: res.infoDTO?.vhrno } diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmImposePopup.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmImposePopup.jsp index a27ff370..4cff6f04 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmImposePopup.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmImposePopup.jsp @@ -39,7 +39,7 @@ Date Author Description select[name=vhctyAsortCode] { width: 30%; } - select[name=payerSeCode] { + select[name=rtpyrSeCode] { width: 25%; } diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmIntegratedSearchForm.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmIntegratedSearchForm.jsp index e1316cf4..1b56f1ee 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmIntegratedSearchForm.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmIntegratedSearchForm.jsp @@ -70,13 +70,13 @@ Date Author Description - +
- +
@@ -346,8 +346,8 @@ Date Author Description ,regltProcessSttusCode: CUR_TAB_IDX === 2 ? 'NON-INIT' : $('#regltProcessSttusCode').val() ,ctznAnsYn: $('input:radio[name=ctznAnsYn]:checked').val() ,vhrno : $("#vhrno").val() - ,payerNm : $("#payerNm").val() - ,payerNo : $("#payerNo").val() + ,rtpyrNm : $("#rtpyrNm").val() + ,rtpyrNo : $("#rtpyrNo").val() ,petitionerNm : $("#petitionerNm").val() } } @@ -587,7 +587,7 @@ Date Author Description }, { header: '주민번호(전체)', - name: 'payerNo', + name: 'rtpyrNo', minWidth: 110, sortable: false, align: 'center', @@ -595,7 +595,7 @@ Date Author Description }, { header: '주민번호(마스킹)', - name: 'payerNoMask', + name: 'rtpyrNoMask', minWidth: 110, sortable: false, align: 'center', @@ -693,7 +693,7 @@ Date Author Description }, { header: '소유자ID', - name: 'payerId', + name: 'rtpyrId', hidden: true }, { diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtCrackdownMgtMainForm.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtCrackdownMgtMainForm.jsp index 86cce1c7..585fbb4e 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtCrackdownMgtMainForm.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtCrackdownMgtMainForm.jsp @@ -768,7 +768,7 @@ Date Author Description }, { header: '소유자ID', - name: 'payerId', + name: 'rtpyrId', hidden: true, }, { diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtInitialDataForm.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtInitialDataForm.jsp index 4a71b5ba..75d9f86b 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtInitialDataForm.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtInitialDataForm.jsp @@ -569,7 +569,7 @@ Date Author Description }, { header: '주민번호(전체)', - name: 'payerNo', + name: 'rtpyrNo', minWidth: 110, sortable: false, align: 'center', @@ -577,7 +577,7 @@ Date Author Description }, { header: '주민번호(마스킹)', - name: 'payerNoMask', + name: 'rtpyrNoMask', minWidth: 110, sortable: false, align: 'center', @@ -675,7 +675,7 @@ Date Author Description }, { header: '소유자ID', - name: 'payerId', + name: 'rtpyrId', hidden: true }, { diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtRegltMgtPopup.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtRegltMgtPopup.jsp index bbea4b02..c5d69320 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtRegltMgtPopup.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtRegltMgtPopup.jsp @@ -9,7 +9,7 @@ - "> + "> diff --git a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/cmm/XitMain.jsp b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/cmm/XitMain.jsp index dff54fe5..4277a60d 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/cmm/XitMain.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/cmm/XitMain.jsp @@ -52,8 +52,8 @@
diff --git a/src/main/webapp/resources/js/fims/biz/common/codeComboData.js b/src/main/webapp/resources/js/fims/biz/common/codeComboData.js index fae4d915..f1783e84 100644 --- a/src/main/webapp/resources/js/fims/biz/common/codeComboData.js +++ b/src/main/webapp/resources/js/fims/biz/common/codeComboData.js @@ -121,7 +121,7 @@ ComboCodeData = { ] // 납부자구분코드 : FIM011 - ,payerClassificationCode: [ + ,rtpyrClassificationCode: [ {value: '01', text: '개인'} ,{value: '02', text: '법인'} ,{value: '03', text: '단체'} @@ -129,7 +129,7 @@ ComboCodeData = { ] // 납부자연락처구분 : FIM012 - ,payerConnDivCode: [ + ,rtpyrConnDivCode: [ {value: '01', text: '전화'} ,{value: '02', text: '휴대전화'} ] @@ -141,7 +141,7 @@ ComboCodeData = { ] // 납부자상태코드 : FIM014 - ,payerStsCode: [ + ,rtpyrStsCode: [ {value: '10', text: '거주자'} ,{value: '11', text: '국외이주신고자'} ,{value: '15', text: '직권조치중'} @@ -155,7 +155,7 @@ ComboCodeData = { ] // 납부자등록구분 : FIM015 - ,payerRegDivCode: [ + ,rtpyrRegDivCode: [ {value: '01', text: '자동차관리정보시스템'} ,{value: '02', text: '수기입력'} ] diff --git a/src/main/webapp/resources/js/fims/biz/common/fimsApiURL.js b/src/main/webapp/resources/js/fims/biz/common/fimsApiURL.js index 879fa685..b1000612 100644 --- a/src/main/webapp/resources/js/fims/biz/common/fimsApiURL.js +++ b/src/main/webapp/resources/js/fims/biz/common/fimsApiURL.js @@ -22,7 +22,7 @@ const fimsApiUrl = { ,FIND_CRACKDOWN_VHRNO_CNT: '/fims/biz/cmm/findCrackdownVhrnoCnt.do' //차량 단속건수 조회 ,FIND_PROCESS_STTUS_CHANGE_HIST: '/fims/biz/cmm/findProcessSttusChangeHist.do' - ,FIND_PAYER_ADRES_HIST: '/fims/biz/cmm/findPayerAdresHist.do' + ,FIND_RTPYR_ADRES_HIST: '/fims/biz/cmm/findRtpyrAdresHist.do' ,FIND_ELCTRN_NTIC_SNDNG: '/fims/biz/cmm/findElctrnNticSndng.do' ,FIND_CTZN_STTEMNT_CMPLT: '/fims/biz/cmm/findCtznSttemntCmplt.do' ,ADD_CTZN_STTEMNT_CMPLT: '/fims/biz/cmm/addCtznSttemntCmplt.do'
소유주 정보
소유주 - + 주민번호 - +
등록구분 - +