refactor : 납부자 컬럼 수정

main
이범준 2 years ago
parent 727d17efe6
commit e287709d24

@ -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;
}
}

@ -31,7 +31,7 @@ public interface FimsCrackdownMgtMapper {
CmmAnsTmplDTO.Dtl selectCtznAnswerTmplInfo(final FimsCrackdownDTO.AnsRequest dto);
List<RtDTO.SttusChangeHist> selectProcessSttusChangeHist(final FimsCrackdownDTO.AnsRequest dto);
List<RtDTO.PayerHist> selectPayerAdresHist(final FimsCrackdownDTO.AnsRequest dto);
List<RtDTO.RtpyrHist> selectRtpyrAdresHist(final FimsCrackdownDTO.AnsRequest dto);
List<CmmAnsTmplDTO.Dtl> selectElctrnNticSndng(final FimsCrackdownDTO.AnsRequest dto);
List<FimsCrackdownDTO.CtznSttemntCmplt> selectCtznSttemntCmplt(final FimsCrackdownDTO.CtznSttemntCmplt dto);

@ -25,7 +25,7 @@ public interface FimsCrackdownMgtService {
CmmAnsTmplDTO.Dtl findCtznAnswerTmplInfo(final FimsCrackdownDTO.AnsRequest dto);
CtznStmtDTO.Ans findCtznStmtAnswer(final FimsCrackdownDTO.AnsRequest dto);
List<RtDTO.SttusChangeHist> findProcessSttusChangeHist(final FimsCrackdownDTO.AnsRequest dto);
List<RtDTO.PayerHist> findPayerAdresHist(final FimsCrackdownDTO.AnsRequest dto);
List<RtDTO.RtpyrHist> findRtpyrAdresHist(final FimsCrackdownDTO.AnsRequest dto);
List<CmmAnsTmplDTO.Dtl> findElctrnNticSndng(final FimsCrackdownDTO.AnsRequest dto);
List<FimsCrackdownDTO.CtznSttemntCmplt> findCtznSttemntCmplt(final FimsCrackdownDTO.CtznSttemntCmplt dto);
void addCtznSttemntCmplt(final FimsCrackdownDTO.CtznSttemntCmplt dto);

@ -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<RtDTO.PayerHist> findPayerAdresHist(final FimsCrackdownDTO.AnsRequest dto){
return mapper.selectPayerAdresHist(dto);
public List<RtDTO.RtpyrHist> findRtpyrAdresHist(final FimsCrackdownDTO.AnsRequest dto){
return mapper.selectRtpyrAdresHist(dto);
}
@Override
public List<CmmAnsTmplDTO.Dtl> findElctrnNticSndng(final FimsCrackdownDTO.AnsRequest dto){

@ -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")

@ -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;
/**
*
*/

@ -19,7 +19,7 @@ public interface RtCrackdownMgtMapper {
List<RtDTO.Reglt> selectRtReglts(final Map<String,Object> paraMap, final RowBounds rowBounds);
<T> RtDTO.Reglt selectRtReglt(final T t);
<T> List<RtDTO.Reglt> selectRtRegltByVhrno(final T t);
<T> RtDTO.Payer selectRtPayer(final T 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);
//-----------------------------------------------------

@ -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);*/

@ -7,7 +7,7 @@
************************************************************************************************************** -->
<sql id="sqlRtReglt">
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
</sql>
@ -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}
</select>
<select id="selectPayerAdresHist" resultType="kr.xit.fims.biz.rt.RtDTO$PayerHist">
/* cmm-fims-crackdown-mysql-mapper|selectPayerAdresHist-소유자 주소 변경 이력 조회|julim */
<select id="selectRtpyrAdresHist" resultType="kr.xit.fims.biz.rt.RtDTO$RtpyrHist">
/* 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}
</select>
<select id="selectElctrnNticSndng" resultType="kr.xit.fims.framework.biz.cmm.CmmAnsTmplDTO$Dtl">
@ -437,7 +437,7 @@
AND EXISTS (SELECT 1
FROM tb_rt_reglt
WHERE tecsc.reglt_id = reglt_id
AND payer_id = #{payerId}
AND rtpyr_id = #{rtpyrId}
)
</if>
<if test='gubun eq "1"'>

@ -8,7 +8,7 @@
************************************************************************************************************** -->
<sql id="sqlRtReglt">
SELECT trr.reglt_id
, trr.payer_id -- 납부자ID
, trr.rtpyr_id -- 납부자ID
, trr.instt_code -- 기관코드
, trr.sys_se_cd -- 시스템코드
, trr.reglt_se_code -- 단속구분코드
@ -50,9 +50,9 @@
-- ON trr.reglt_id = tre.reglt_id
</sql>
<!--
/* TODO : 차적조회를 안하고 바로 자료 전송 하여 payer를 알수 없음
/* TODO : 차적조회를 안하고 바로 자료 전송 하여 rtpyr를 알수 없음
JOIN tb_rt_payer trp
ON trr.payer_id = trp.payer_id
ON trr.rtpyr_id = trp.rtpyr_id
*/
-->
@ -211,18 +211,18 @@
<!-- *************************************************************************************************************
* tb_rt_payer : 납부자
************************************************************************************************************** -->
<select id="selectRtPayer" resultType="kr.xit.fims.biz.rt.RtDTO$Payer">
/* rt-reglt-and-erpp-mysql-mapper|selectRtPayer-납부자 정보 조회|julim */
SELECT payer_id
<select id="selectRtRtpyr" resultType="kr.xit.fims.biz.rt.RtDTO$Rtpyr">
/* rt-reglt-and-erpp-mysql-mapper|selectRtRtpyr-납부자 정보 조회|julim */
SELECT 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
@ -240,32 +240,32 @@
, adres
, detail_adres
, all_adres
, payer_regist_se_code
, rtpyr_regist_se_code
, reg_dt
, rgtr
, mdfcn_dt
, mdfr
FROM tb_rt_payer
WHERE payer_id = #{payerId}
WHERE rtpyr_id = #{rtpyrId}
</select>
<insert id="insertRtPayer">
/* rt-reglt-and-erpp-mysql-mapper|insertRtPayer-납부자 정보 등록|julim */
<selectKey resultType="string" keyProperty="payerId" order="BEFORE">
SELECT LPAD(NEXTVAL(seq_rt_payer), 12, '0')
<insert id="insertRtRtpyr">
/* rt-reglt-and-erpp-mysql-mapper|insertRtRtpyr-납부자 정보 등록|julim */
<selectKey resultType="string" keyProperty="rtpyrId" order="BEFORE">
SELECT LPAD(NEXTVAL(seq_rt_rtpyr), 12, '0')
</selectKey>
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}
)
</insert>
<update id="updateRtPayer">
/* rt-reglt-and-erpp-mysql-mapper|updateRtPayer-납부자 정보 변경|julim */
<update id="updateRtRtpyr">
/* 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}
</update>
<insert id="saveRtPayer">
/* rt-reglt-and-erpp-mysql-mapper|saveRtPayer-납부자 정보 등록 / 변경|julim */
<insert id="saveRtRtpyr">
/* 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})

@ -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}'
};

@ -39,7 +39,7 @@ Date Author Description
select[name=vhctyAsortCode] {
width: 30%;
}
select[name=payerSeCode] {
select[name=rtpyrSeCode] {
width: 25%;
}
</style>

@ -51,7 +51,7 @@ Date Author Description
<input type="hidden" name="extrlRegltCntcId" />
<input type="hidden" name="interfaceSeqN" />
<input type="hidden" name="ctznSttemntDetailSn" />
<input type="hidden" name="payerId" />
<input type="hidden" name="rtpyrId" />
<table class="table-03 col-12">
<caption>위반정보 상세</caption>
<colgroup>
@ -177,15 +177,15 @@ Date Author Description
<th>소유자(차종)</th>
<td>
<div class="d-flex gap-1">
<input type="text" name="payerNm" />
<input type="text" name="rtpyrNm" />
<code:select id="vhctyAsortCode" name="vhctyAsortCode" grpId="FIM009" title="차종" cls="form-select w-form-select" alt="차종"/>
</div>
</td>
<th>주민번호(구분)</th>
<td>
<div class="d-flex gap-1">
<code:select id="payerSeCode" name="payerSeCode" grpId="FIM011" title="납부자구분" cls="form-select w-form-select" alt="납부자구분"/>
<privacy:input id="payerNo" name="payerNo" />
<code:select id="rtpyrSeCode" name="rtpyrSeCode" grpId="FIM011" title="납부자구분" cls="form-select w-form-select" alt="납부자구분"/>
<privacy:input id="rtpyrNo" name="rtpyrNo" />
</div>
</td>
</tr>
@ -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);
}
};

@ -265,8 +265,8 @@ Date Author Description
</tbody>
</table>
</form>
<form id="frmPayer">
<input type="hidden" id="payerId" name="payerId" />
<form id="frmRtpyr">
<input type="hidden" id="rtpyrId" name="rtpyrId" />
<table class="table-03 col-12">
<caption>소유주 정보</caption>
<colgroup>
@ -281,11 +281,11 @@ Date Author Description
<tr>
<th>소유주</th>
<td>
<input type="text" name="payerNm" readonly/>
<input type="text" name="rtpyrNm" readonly/>
</td>
<th>주민번호</th>
<td colspan="3">
<privacy:input id="payerNo" name="payerNo" readonly="true" />
<privacy:input id="rtpyrNo" name="rtpyrNo" readonly="true" />
</td>
</tr>
<tr>
@ -310,7 +310,7 @@ Date Author Description
</td>
<th>등록구분</th>
<td>
<input type="text" name="payerRegistSeCode" readonly/>
<input type="text" name="rtpyrRegistSeCode" readonly/>
</td>
</tr>
</tbody>
@ -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
}

@ -39,7 +39,7 @@ Date Author Description
select[name=vhctyAsortCode] {
width: 30%;
}
select[name=payerSeCode] {
select[name=rtpyrSeCode] {
width: 25%;
}
</style>

@ -70,13 +70,13 @@ Date Author Description
<span class="form-search-linebox">
<label class="form-label fw-bold form-search-title">납부자명</label>
</span>
<input type="text" id="payerNm" name="payerNm" class="form-control" value="" />
<input type="text" id="rtpyrNm" name="rtpyrNm" class="form-control" value="" />
</div>
<div class="col-4">
<span class="form-search-linebox">
<label class="form-label fw-bold form-search-title">납부자번호</label>
</span>
<input type="text" id="payerNo" name="payerNo" class="form-control" value="" />
<input type="text" id="rtpyrNo" name="rtpyrNo" class="form-control" value="" />
</div>
<div class="col-4">
<span class="form-search-linebox">
@ -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
},
{

@ -768,7 +768,7 @@ Date Author Description
},
{
header: '소유자ID',
name: 'payerId',
name: 'rtpyrId',
hidden: true,
},
{

@ -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
},
{

@ -9,7 +9,7 @@
<input type="hidden" id="rowKey" name="rowKey" value="">
<form id="frmSearch" name="frmSearch" method="get">
<input type="hidden" id="payerId" name="payerId" value="<c:out value="${contents.payerId }"/>">
<input type="hidden" id="rtpyrId" name="rtpyrId" value="<c:out value="${contents.rtpyrId }"/>">
<input type="hidden" id="regltId" name="regltId" value="${contents.regltId }">

@ -52,8 +52,8 @@
<div class="ms-2 me-2" style="min-width: max-content;">
<select id="schOpt" class="form-select">
<option value="vhrno">차량번호</option>
<option value="payerNm">납부자명</option>
<option value="payerNo">납부자번호</option>
<option value="rtpyrNm">납부자명</option>
<option value="rtpyrNo">납부자번호</option>
<option value="petitionerNm">신고인명</option>
</select>
<input type="text" id="schWord" class="form-control" />

@ -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: '수기입력'}
]

@ -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'

Loading…
Cancel
Save