refactor : 기관코드 수정

main
이범준 2 years ago
parent 630d8b46f4
commit 9177183307

@ -8,7 +8,7 @@ DELETE FROM tb_ec_ctzn_sttemnt_answer;
DELETE FROM tb_rt_reglt; DELETE FROM tb_rt_reglt;
DELETE FROM tb_rt_erpp; DELETE FROM tb_rt_erpp;
DELETE FROM old_payer; DELETE FROM tb_payer;
DELETE FROM tb_rt_process_sttus_change_hist; DELETE FROM tb_rt_process_sttus_change_hist;
DELETE FROM tb_ec_extrl_reglt_cntc; DELETE FROM tb_ec_extrl_reglt_cntc;
@ -30,7 +30,7 @@ select * from tb_ec_ctzn_sttemnt_answer;
SELECT * FROM tb_rt_reglt; SELECT * FROM tb_rt_reglt;
SELECT * FROM tb_rt_erpp; SELECT * FROM tb_rt_erpp;
SELECT * FROM old_payer; SELECT * FROM tb_payer;
SELECT * FROM tb_rt_process_sttus_change_hist; SELECT * FROM tb_rt_process_sttus_change_hist;
/*--------------------------------*/ /*--------------------------------*/

@ -184,7 +184,7 @@ public class FimsCrackdownDTO {
/** /**
* *
*/ */
private String insttCode; private String sggCd;
/** /**
* *
*/ */

@ -66,7 +66,7 @@ public class CctvBusOnlyCrackDownServiceBean implements ExtrStrategyService {
// data set // data set
// CctvCrackdownDTO.ExtrlRegltCntc extrRegltDTO = getExtrlRegltCntcDTO(txtNames[0], records); // CctvCrackdownDTO.ExtrlRegltCntc extrRegltDTO = getExtrlRegltCntcDTO(txtNames[0], records);
// extrRegltDTO.setSysSeCd(getUserInfo().getOrgnztId()); // extrRegltDTO.setSysSeCd(getUserInfo().getOrgnztId());
// extrRegltDTO.setInsttCode(getUserInfo().getPstinstCode()); // extrRegltDTO.setSggCd(getUserInfo().getPstinstCode());
// //
// if(records.size() >= 3){ // if(records.size() >= 3){
// extrRegltDTO.setRegltSeCode(FimsConst.RegltSeCode.CCTV_DRV.getCode()); // extrRegltDTO.setRegltSeCode(FimsConst.RegltSeCode.CCTV_DRV.getCode());

@ -260,7 +260,7 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
erppDTO.setRgtr(getUserInfo().getUniqId()); erppDTO.setRgtr(getUserInfo().getUniqId());
erppDTO.setSysSeCd(getUserInfo().getOrgnztId()); erppDTO.setSysSeCd(getUserInfo().getOrgnztId());
erppDTO.setInsttCode(getUserInfo().getPstinstCode()); erppDTO.setSggCd(getUserInfo().getPstinstCode());
rtCrackdownMgtMapper.insertRtErpp(erppDTO); rtCrackdownMgtMapper.insertRtErpp(erppDTO);
// 시민신고인 경우 // 시민신고인 경우
@ -311,7 +311,7 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
@Override @Override
public void addCtznSttemntCmplt(final FimsCrackdownDTO.CtznSttemntCmplt dto) { public void addCtznSttemntCmplt(final FimsCrackdownDTO.CtznSttemntCmplt dto) {
dto.setInsttCode(getUserInfo().getPstinstCode()); dto.setSggCd(getUserInfo().getPstinstCode());
dto.setRgtr(getUserInfo().getUniqId()); dto.setRgtr(getUserInfo().getUniqId());
mapper.insertCtznSttemntCmplt(dto); mapper.insertCtznSttemntCmplt(dto);
} }
@ -412,7 +412,7 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
String ansTxt = getAnswerText(mapper.selectCtznAnswerTmplInfo(ansReqDTO)); String ansTxt = getAnswerText(mapper.selectCtznAnswerTmplInfo(ansReqDTO));
CtznStmtDTO.Ans ansDTO = CtznStmtDTO.Ans.builder() CtznStmtDTO.Ans ansDTO = CtznStmtDTO.Ans.builder()
.insttCode(getUserInfo().getPstinstCode()) .sggCd(getUserInfo().getPstinstCode())
.sysSeCd(getUserInfo().getOrgnztId()) .sysSeCd(getUserInfo().getOrgnztId())
.interfaceSeqN(saveDTO.getInterfaceSeqN()) .interfaceSeqN(saveDTO.getInterfaceSeqN())
.cvplProcessResult(ansTxt) .cvplProcessResult(ansTxt)

@ -107,7 +107,7 @@ public class CctvCrackdownDTO {
/** /**
* *
*/ */
private String insttCode; private String sggCd;
/** /**
* *
*/ */

@ -27,7 +27,7 @@ public class CtznStmtDTO { //extends ExtlEsbDataType {
/** /**
* -anc_code_v * -anc_code_v
*/ */
private String insttCode; private String sggCd;
/** /**
* :88-sys_gubun_c * :88-sys_gubun_c
*/ */
@ -193,7 +193,7 @@ public class CtznStmtDTO { //extends ExtlEsbDataType {
/** /**
* *
*/ */
private String insttCode; private String sggCd;
/** /**
* *
*/ */
@ -227,7 +227,7 @@ public class CtznStmtDTO { //extends ExtlEsbDataType {
/** /**
* *
*/ */
private String insttCode; private String sggCd;
/** /**
* *
*/ */
@ -301,7 +301,7 @@ public class CtznStmtDTO { //extends ExtlEsbDataType {
private String sysGubunC; private String sysGubunC;
/** /**
* insttCode * sggCd
*/ */
private String ancCodeV; private String ancCodeV;

@ -127,7 +127,7 @@ public class EcCctvCrackdownServiceBean extends AbstractServiceBean implements E
// data set // data set
CctvCrackdownDTO.ExtrlRegltCntc extrDTO = getExtrlRegltCntcDTO(txtNames[0], records); CctvCrackdownDTO.ExtrlRegltCntc extrDTO = getExtrlRegltCntcDTO(txtNames[0], records);
extrDTO.setSysSeCd(getUserInfo().getOrgnztId()); extrDTO.setSysSeCd(getUserInfo().getOrgnztId());
extrDTO.setInsttCode(getUserInfo().getPstinstCode()); extrDTO.setSggCd(getUserInfo().getPstinstCode());
if(records.size() >= 3){ if(records.size() >= 3){
extrDTO.setRegltSeCode(FimsConst.RegltSeCode.CCTV_DRV.getCode()); extrDTO.setRegltSeCode(FimsConst.RegltSeCode.CCTV_DRV.getCode());
@ -183,7 +183,7 @@ public class EcCctvCrackdownServiceBean extends AbstractServiceBean implements E
CctvCrackdownDTO.ExtrlRegltCntc extrDTO = CctvCrackdownDTO.ExtrlRegltCntc CctvCrackdownDTO.ExtrlRegltCntc extrDTO = CctvCrackdownDTO.ExtrlRegltCntc
.builder() .builder()
.sysSeCd(getUserInfo().getOrgnztId()) .sysSeCd(getUserInfo().getOrgnztId())
.insttCode(getUserInfo().getPstinstCode()) .sggCd(getUserInfo().getPstinstCode())
.vhrno(busOnlyDTO.getVhrno()) .vhrno(busOnlyDTO.getVhrno())
//.regltDongNm(mdInfos[1]) //.regltDongNm(mdInfos[1])
//.regltPlace(mdInfos[2]) //.regltPlace(mdInfos[2])

@ -184,7 +184,7 @@ public class EcCtznSttemntServiceBean extends AbstractServiceBean implements EcC
// 답변 테이블 insert(save) // 답변 테이블 insert(save)
dto.setSysSeCd(getUserInfo().getOrgnztId()); dto.setSysSeCd(getUserInfo().getOrgnztId());
dto.setInsttCode(getUserInfo().getPstinstCode()); dto.setSggCd(getUserInfo().getPstinstCode());
dto.setRgtr(getUserInfo().getUniqId()); dto.setRgtr(getUserInfo().getUniqId());
mapper.saveEcCtznSttemntAnswer(dto); mapper.saveEcCtznSttemntAnswer(dto);

@ -240,7 +240,7 @@ public class EcNatlNewspaperServiceBean extends AbstractServiceBean implements E
String reasonStr = xmlDto.getPetiReasonL(); String reasonStr = xmlDto.getPetiReasonL();
dto.setInterfaceSeqN(xmlDto.getInterfaceSeqN()); dto.setInterfaceSeqN(xmlDto.getInterfaceSeqN());
dto.setInsttCode(getUserInfo().getPstinstCode()); dto.setSggCd(getUserInfo().getPstinstCode());
dto.setSysSeCd(getUserInfo().getOrgnztId()); dto.setSysSeCd(getUserInfo().getOrgnztId());
dto.setCvplSe(xmlDto.getPetiGubunC()); dto.setCvplSe(xmlDto.getPetiGubunC());
dto.setCvplReqstNo(xmlDto.getPetiNoC()); dto.setCvplReqstNo(xmlDto.getPetiNoC());
@ -296,7 +296,7 @@ public class EcNatlNewspaperServiceBean extends AbstractServiceBean implements E
dtlDto.setInterfaceSeqN(xmlDto.getInterfaceSeqN()); dtlDto.setInterfaceSeqN(xmlDto.getInterfaceSeqN());
dtlDto.setCtznSttemntDetailProcessSttus(FimsConst.CtznStmtDtlStsCode.UNPROCESSED.getCode()); dtlDto.setCtznSttemntDetailProcessSttus(FimsConst.CtznStmtDtlStsCode.UNPROCESSED.getCode());
dtlDto.setSysSeCd(getUserInfo().getOrgnztId()); dtlDto.setSysSeCd(getUserInfo().getOrgnztId());
dtlDto.setInsttCode(getUserInfo().getPstinstCode()); dtlDto.setSggCd(getUserInfo().getPstinstCode());
dtlDto.setRgtr(getUserInfo().getUniqId()); dtlDto.setRgtr(getUserInfo().getUniqId());
dtlList.add(dtlDto); dtlList.add(dtlDto);
isFirst = false; isFirst = false;

@ -30,7 +30,7 @@ public class RtDTO {
/** /**
* *
*/ */
private String insttCode; private String sggCd;
/** /**
* *
*/ */
@ -212,7 +212,7 @@ public class RtDTO {
/** /**
* *
*/ */
private String insttCode; private String sggCd;
/** /**
* *
*/ */
@ -265,7 +265,7 @@ public class RtDTO {
/** /**
* *
*/ */
private String insttCode; private String sggCd;
/** /**
* *
*/ */
@ -491,7 +491,7 @@ public class RtDTO {
/** /**
* *
*/ */
private String insttCode; private String sggCd;
/** /**
* *
*/ */

@ -30,7 +30,7 @@ public interface RtCrackdownMgtMapper {
//----------------------------------------------------- //-----------------------------------------------------
// 납부자 : old_payer // 납부자 : tb_payer
//----------------------------------------------------- //-----------------------------------------------------
void insertRtRtpyr(final RtDTO.Rtpyr dto); void insertRtRtpyr(final RtDTO.Rtpyr dto);
void updateRtRtpyr(final RtDTO.Rtpyr dto); void updateRtRtpyr(final RtDTO.Rtpyr dto);

@ -24,7 +24,7 @@ public interface RtCrackdownMgtService {
//----------------------------------------------------- //-----------------------------------------------------
// 납부자 : old_payer // 납부자 : tb_payer
//----------------------------------------------------- //-----------------------------------------------------

@ -56,7 +56,7 @@ public class XitLoginVO implements Serializable{
private String groupId; private String groupId;
/** /**
* - (instt_code) * - (sgg_cd)
*/ */
private String pstinstCode; private String pstinstCode;
/** 업무 데이터 권한 */ /** 업무 데이터 권한 */

@ -75,7 +75,7 @@ public class XitSessionMapping extends EgovUsersByUsernameMapping {
loginVO.setOrgnztNm(strOrgnztNm); //조직(부서)ID 명 loginVO.setOrgnztNm(strOrgnztNm); //조직(부서)ID 명
loginVO.setUniqId(strUniqId); //고유아이디 loginVO.setUniqId(strUniqId); //고유아이디
loginVO.setGroupId(strGroupId); //그룹 loginVO.setGroupId(strGroupId); //그룹
loginVO.setPstinstCode(strPstinstCode); //소속기관-업무그룹(instt_code) loginVO.setPstinstCode(strPstinstCode); //소속기관-업무그룹(sgg_cd)
loginVO.setJobDataAuthor(strJobDataAuthor); //업무 데이터 권한 loginVO.setJobDataAuthor(strJobDataAuthor); //업무 데이터 권한
loginVO.setUserManageAuthor(strUserManageAuthor); //사용자 관리 권한 loginVO.setUserManageAuthor(strUserManageAuthor); //사용자 관리 권한
loginVO.setElctrnsanctnUseYn(strElctrnsanctnUseYn); //전자결재 사용 여부 loginVO.setElctrnsanctnUseYn(strElctrnsanctnUseYn); //전자결재 사용 여부

@ -46,7 +46,7 @@ public class XitUserInfoVO extends XitUserEtcOptionVO {
protected String emailAdres; //이메일 주소 protected String emailAdres; //이메일 주소
protected String ofcpsNm; //직위 명 protected String ofcpsNm; //직위 명
protected String houseMiddleTelno; //주택 중간 전화번호 protected String houseMiddleTelno; //주택 중간 전화번호
protected String groupId; //그룹 id - 업무그룹(instt_code) protected String groupId; //그룹 id - 업무그룹(sgg_cd)
protected String pstinstCode; //소속기관 코드 - 시스템코드(sysSeCd) protected String pstinstCode; //소속기관 코드 - 시스템코드(sysSeCd)
protected String userSttusCode; //사용자 상태 코드 protected String userSttusCode; //사용자 상태 코드
protected String esntlId; //고유 id protected String esntlId; //고유 id

@ -8,7 +8,7 @@
<sql id="sqlRtReglt"> <sql id="sqlRtReglt">
SELECT trr.reglt_id SELECT trr.reglt_id
, trr.rtpyr_id -- 납부자ID , trr.rtpyr_id -- 납부자ID
, trr.instt_code -- 기관코드 , trr.sgg_cd -- 기관코드
, trr.sys_se_cd -- 시스템코드 , trr.sys_se_cd -- 시스템코드
, trr.reglt_se_code -- 단속구분코드 , trr.reglt_se_code -- 단속구분코드
, trr.input_se_code -- 입력구분코드 , trr.input_se_code -- 입력구분코드
@ -91,7 +91,7 @@
ON tecs.interface_seq_n = teei.interface_seq_n ON tecs.interface_seq_n = teei.interface_seq_n
LEFT JOIN tb_rt_erpp tre LEFT JOIN tb_rt_erpp tre
ON trr.reglt_id = tre.reglt_id ON trr.reglt_id = tre.reglt_id
LEFT JOIN old_payer trp LEFT JOIN tb_payer trp
ON trr.rtpyr_id = trp.rtpyr_id ON trr.rtpyr_id = trp.rtpyr_id
</sql> </sql>
@ -149,7 +149,7 @@
<select id="selectCtznStmtInfo" resultType="kr.xit.fims.biz.cmm.FimsCrackdownDTO$Ctzn"> <select id="selectCtznStmtInfo" resultType="kr.xit.fims.biz.cmm.FimsCrackdownDTO$Ctzn">
/* cmm-fims-crackdown-mysql-mapper|selectCtznStmtInfo-시민신고 정보 조회|julim */ /* cmm-fims-crackdown-mysql-mapper|selectCtznStmtInfo-시민신고 정보 조회|julim */
SELECT tecs.interface_seq_n SELECT tecs.interface_seq_n
, tecs.instt_code , tecs.sgg_cd
, tecs.sys_se_cd , tecs.sys_se_cd
, tecs.cvpl_se , tecs.cvpl_se
, tecs.cvpl_reqst_no , tecs.cvpl_reqst_no
@ -274,7 +274,7 @@
INSERT INSERT
INTO tb_ec_ctzn_sttemnt_answer ( INTO tb_ec_ctzn_sttemnt_answer (
interface_seq_n interface_seq_n
, instt_code , sgg_cd
, sys_se_cd , sys_se_cd
, cvpl_se , cvpl_se
, cvpl_reqst_no , cvpl_reqst_no
@ -291,7 +291,7 @@
, reg_dt , reg_dt
, rgtr , rgtr
) SELECT teei.interface_seq_n ) SELECT teei.interface_seq_n
, #{insttCode} , #{sggCd}
, #{sysSeCd} , #{sysSeCd}
, teei.peti_gubun_c -- 민원구분 , teei.peti_gubun_c -- 민원구분
, teei.peti_no_c -- 민원신청번호 , teei.peti_no_c -- 민원신청번호
@ -324,7 +324,7 @@
INTO tb_ec_ctzn_sttemnt_cmplt ( INTO tb_ec_ctzn_sttemnt_cmplt (
cmplt_id cmplt_id
, reglt_id , reglt_id
, instt_code , sgg_cd
, content , content
, gubun , gubun
, vhrno , vhrno
@ -333,7 +333,7 @@
) VALUES ( ) VALUES (
#{cmpltId} #{cmpltId}
, #{regltId} , #{regltId}
, #{insttCode} , #{sggCd}
, #{content} , #{content}
, #{gubun} , #{gubun}
, #{vhrno} , #{vhrno}
@ -346,7 +346,7 @@
/* cmm-fims-crackdown-mysql-mapper|selectEcCtznSttemntAnswer-시민신고답변 데이타 조회|julim */ /* cmm-fims-crackdown-mysql-mapper|selectEcCtznSttemntAnswer-시민신고답변 데이타 조회|julim */
SELECT tecsa.interface_seq_n SELECT tecsa.interface_seq_n
, tecsa.sys_se_cd -- sysGubunC , tecsa.sys_se_cd -- sysGubunC
, tecsa.instt_code -- ancCodeV , tecsa.sgg_cd -- ancCodeV
, tecsa.cvpl_se -- 민원구분 , tecsa.cvpl_se -- 민원구분
, tecsa.cvpl_reqst_no -- 민원신청번호 , tecsa.cvpl_reqst_no -- 민원신청번호
, tecsa.cvpl_rcept_no -- 민원접수번호 , tecsa.cvpl_rcept_no -- 민원접수번호
@ -381,7 +381,7 @@
/* cmm-fims-crackdown-mysql-mapper|selectRtpyrAdresHist-소유자 주소 변경 이력 조회|julim */ /* cmm-fims-crackdown-mysql-mapper|selectRtpyrAdresHist-소유자 주소 변경 이력 조회|julim */
SELECT reg_dt SELECT reg_dt
, all_adres , all_adres
FROM old_payer_hstry FROM tb_payer_hstry
WHERE rtpyr_id = #{rtpyrId} WHERE rtpyr_id = #{rtpyrId}
</select> </select>
@ -423,7 +423,7 @@
/* cmm-fims-crackdown-mysql-mapper|selectCtznSttemntCmplt-민원등록 이력 조회|julim */ /* cmm-fims-crackdown-mysql-mapper|selectCtznSttemntCmplt-민원등록 이력 조회|julim */
SELECT tecsc.cmplt_id SELECT tecsc.cmplt_id
, tecsc.reglt_id , tecsc.reglt_id
, tecsc.instt_code , tecsc.sgg_cd
, tecsc.content , tecsc.content
, tecsc.gubun , tecsc.gubun
, tecsc.vhrno , tecsc.vhrno

@ -8,7 +8,7 @@
************************************************************************************************************** --> ************************************************************************************************************** -->
<sql id="sqlEcCtznStmt"> <sql id="sqlEcCtznStmt">
SELECT interface_seq_n SELECT interface_seq_n
, instt_code , sgg_cd
, sys_se_cd , sys_se_cd
, cvpl_se , cvpl_se
, cvpl_reqst_no , cvpl_reqst_no
@ -48,7 +48,7 @@
INSERT INSERT
INTO tb_ec_ctzn_sttemnt ( INTO tb_ec_ctzn_sttemnt (
interface_seq_n interface_seq_n
, instt_code , sgg_cd
, sys_se_cd , sys_se_cd
, cvpl_se , cvpl_se
, cvpl_reqst_no , cvpl_reqst_no
@ -70,7 +70,7 @@
, rgtr , rgtr
) VALUES ( ) VALUES (
#{interfaceSeqN} #{interfaceSeqN}
, #{insttCode} , #{sggCd}
, #{sysSeCd} , #{sysSeCd}
, #{cvplSe} , #{cvplSe}
, #{cvplReqstNo} , #{cvplReqstNo}
@ -102,7 +102,7 @@
, tecsd.ctzn_sttemnt_detail_sn , tecsd.ctzn_sttemnt_detail_sn
, tecsd.vhrno , tecsd.vhrno
, tecsd.reglt_id , tecsd.reglt_id
, tecsd.instt_code , tecsd.sgg_cd
, tecsd.sys_se_cd , tecsd.sys_se_cd
, tecsd.reglt_de_time , tecsd.reglt_de_time
, tecsd.reglt_place , tecsd.reglt_place
@ -154,7 +154,7 @@
, ctzn_sttemnt_detail_sn , ctzn_sttemnt_detail_sn
, vhrno , vhrno
, reglt_id , reglt_id
, instt_code , sgg_cd
, sys_se_cd , sys_se_cd
, reglt_de_time , reglt_de_time
, reglt_place , reglt_place
@ -169,7 +169,7 @@
, #{ctznSttemntDetailSn} , #{ctznSttemntDetailSn}
, #{vhrno} , #{vhrno}
, #{regltId} , #{regltId}
, #{insttCode} , #{sggCd}
, #{sysSeCd} , #{sysSeCd}
, #{regltDeTime} , #{regltDeTime}
, #{regltPlace} , #{regltPlace}
@ -207,7 +207,7 @@
/* ec-ctzn-sttemnt-mysql-mapper|insertRtRegltFromCtznStmt-시민신고 단속 생성|julim */ /* ec-ctzn-sttemnt-mysql-mapper|insertRtRegltFromCtznStmt-시민신고 단속 생성|julim */
INSERT INTO tb_rt_reglt ( INSERT INTO tb_rt_reglt (
reglt_id reglt_id
, instt_code , sgg_cd
, sys_se_cd , sys_se_cd
, reglt_se_code , reglt_se_code
, input_se_code , input_se_code
@ -233,7 +233,7 @@
, reg_dt , reg_dt
, rgtr , rgtr
) SELECT ecsd.reglt_id ) SELECT ecsd.reglt_id
, ecsd.instt_code , ecsd.sgg_cd
, ecsd.sys_se_cd , ecsd.sys_se_cd
, #{regltSeCode} , #{regltSeCode}
, #{inputSeCode} -- 입력 구분 코드 , #{inputSeCode} -- 입력 구분 코드
@ -292,7 +292,7 @@
INSERT INTO tb_rt_erpp ( INSERT INTO tb_rt_erpp (
erpp_id erpp_id
, reglt_id , reglt_id
, instt_code , sgg_cd
, sys_se_cd , sys_se_cd
, erpp_process_de -- 서손 처리 일자 , erpp_process_de -- 서손 처리 일자
, erpp_se_code -- 서손 구분 코드 , erpp_se_code -- 서손 구분 코드
@ -301,7 +301,7 @@
, rgtr , rgtr
) SELECT #{erppId} ) SELECT #{erppId}
, #{regltId} , #{regltId}
, ecsd.instt_code , ecsd.sgg_cd
, ecsd.sys_se_cd , ecsd.sys_se_cd
, DATE_FORMAT(NOW(), '%Y%m%d') , DATE_FORMAT(NOW(), '%Y%m%d')
, '' , ''
@ -345,7 +345,7 @@
/* ec-ctzn-sttemnt-mysql-mapper|selectCreateEcCtznSttemntAnswer-시민신고답변 생성 데이타 조회|cjm */ /* ec-ctzn-sttemnt-mysql-mapper|selectCreateEcCtznSttemntAnswer-시민신고답변 생성 데이타 조회|cjm */
SELECT teei.interface_seq_n SELECT teei.interface_seq_n
, teei.sys_gubun_c -- sysSeCd , teei.sys_gubun_c -- sysSeCd
, teei.anc_code_v -- insttCode , teei.anc_code_v -- sggCd
, teei.peti_gubun_c AS cvplSe -- 민원구분 , teei.peti_gubun_c AS cvplSe -- 민원구분
, teei.peti_no_c AS cvplReqstNo -- 민원신청번호 , teei.peti_no_c AS cvplReqstNo -- 민원신청번호
, teei.civil_no_c AS cvplRceptNo -- 민원접수번호 , teei.civil_no_c AS cvplRceptNo -- 민원접수번호
@ -378,7 +378,7 @@
/* ec-ctzn-sttemnt-mysql-mapper|selectEcCtznSttemntAnswer-시민신고답변 데이타 조회|cjm */ /* ec-ctzn-sttemnt-mysql-mapper|selectEcCtznSttemntAnswer-시민신고답변 데이타 조회|cjm */
SELECT interface_seq_n SELECT interface_seq_n
, sys_se_cd -- sysGubunC , sys_se_cd -- sysGubunC
, instt_code -- ancCodeV , sgg_cd -- ancCodeV
, cvpl_se -- 민원구분 , cvpl_se -- 민원구분
, cvpl_reqst_no -- 민원신청번호 , cvpl_reqst_no -- 민원신청번호
, cvpl_rcept_no -- 민원접수번호 , cvpl_rcept_no -- 민원접수번호
@ -400,7 +400,7 @@
INSERT INSERT
INTO tb_ec_ctzn_sttemnt_answer ( INTO tb_ec_ctzn_sttemnt_answer (
interface_seq_n interface_seq_n
, instt_code , sgg_cd
, sys_se_cd , sys_se_cd
, cvpl_se , cvpl_se
, cvpl_reqst_no , cvpl_reqst_no
@ -418,7 +418,7 @@
, rgtr , rgtr
) VALUES ( ) VALUES (
#{interfaceSeqN} #{interfaceSeqN}
, #{insttCode} , #{sggCd}
, #{sysSeCd} , #{sysSeCd}
, #{cvplSe} , #{cvplSe}
, #{cvplReqstNo} , #{cvplReqstNo}
@ -486,7 +486,7 @@
<resultMap id="resultMapCtznStmt" type="kr.xit.fims.biz.ec.CtznStmtDTO$Mst"> <resultMap id="resultMapCtznStmt" type="kr.xit.fims.biz.ec.CtznStmtDTO$Mst">
<result column="interface_seq_n" property="interfaceSeqN"/> <result column="interface_seq_n" property="interfaceSeqN"/>
<result column="instt_code" property="insttCode"/> <result column="sgg_cd" property="sggCd"/>
<result column="sys_se_cd" property="sysSeCd"/> <result column="sys_se_cd" property="sysSeCd"/>
<result column="cvpl_se" property="cvplSe"/> <result column="cvpl_se" property="cvplSe"/>
<result column="cvpl_reqst_no" property="cvplReqstNo"/> <result column="cvpl_reqst_no" property="cvplReqstNo"/>

@ -9,7 +9,7 @@
<sql id="sqlEcExtrlRegltCntc"> <sql id="sqlEcExtrlRegltCntc">
SELECT extrl_reglt_cntc_id SELECT extrl_reglt_cntc_id
, reglt_id , reglt_id
, instt_code , sgg_cd
, sys_se_cd , sys_se_cd
, reglt_se_code , reglt_se_code
, input_se_code , input_se_code
@ -80,7 +80,7 @@
INTO tb_ec_extrl_reglt_cntc ( INTO tb_ec_extrl_reglt_cntc (
extrl_reglt_cntc_id extrl_reglt_cntc_id
, reglt_id , reglt_id
, instt_code , sgg_cd
, sys_se_cd , sys_se_cd
, reglt_se_code , reglt_se_code
, input_se_code , input_se_code
@ -103,7 +103,7 @@
) VALUES ( ) VALUES (
#{extrlRegltCntcId} #{extrlRegltCntcId}
, #{regltId} , #{regltId}
, #{insttCode} , #{sggCd}
, #{sysSeCd} , #{sysSeCd}
, #{regltSeCode} , #{regltSeCode}
, #{inputSeCode} , #{inputSeCode}
@ -139,7 +139,7 @@
/* ec-extrl-reglt-cntc-mysql-mapper|insertRtRegltFromEcExtrRegltCntc-외부연계 단속 자료 생성|julim */ /* ec-extrl-reglt-cntc-mysql-mapper|insertRtRegltFromEcExtrRegltCntc-외부연계 단속 자료 생성|julim */
INSERT INTO tb_rt_reglt ( INSERT INTO tb_rt_reglt (
reglt_id reglt_id
, instt_code , sgg_cd
, sys_se_cd , sys_se_cd
, reglt_se_code , reglt_se_code
, input_se_code , input_se_code
@ -165,7 +165,7 @@
, reg_dt , reg_dt
, rgtr , rgtr
) SELECT #{regltId} ) SELECT #{regltId}
, instt_code , sgg_cd
, sys_se_cd , sys_se_cd
, #{regltSeCode} , #{regltSeCode}
, #{inputSeCode} -- 입력 구분 코드 , #{inputSeCode} -- 입력 구분 코드
@ -224,7 +224,7 @@
INSERT INTO tb_rt_erpp ( INSERT INTO tb_rt_erpp (
erpp_id erpp_id
, reglt_id , reglt_id
, instt_code , sgg_cd
, sys_se_cd , sys_se_cd
, erpp_process_de -- 서손 처리 일자 , erpp_process_de -- 서손 처리 일자
, erpp_se_code -- 서손 구분 코드 , erpp_se_code -- 서손 구분 코드
@ -233,7 +233,7 @@
, rgtr , rgtr
) SELECT #{erppId} ) SELECT #{erppId}
, #{regltId} , #{regltId}
, instt_code , sgg_cd
, sys_se_cd , sys_se_cd
, DATE_FORMAT(NOW(), '%Y%m%d') , DATE_FORMAT(NOW(), '%Y%m%d')
, '' , ''

@ -9,7 +9,7 @@
<sql id="sqlRtReglt"> <sql id="sqlRtReglt">
SELECT trr.reglt_id SELECT trr.reglt_id
, trr.rtpyr_id -- 납부자ID , trr.rtpyr_id -- 납부자ID
, trr.instt_code -- 기관코드 , trr.sgg_cd -- 기관코드
, trr.sys_se_cd -- 시스템코드 , trr.sys_se_cd -- 시스템코드
, trr.reglt_se_code -- 단속구분코드 , trr.reglt_se_code -- 단속구분코드
, trr.input_se_code -- 입력구분코드 , trr.input_se_code -- 입력구분코드
@ -46,12 +46,10 @@
, trr.regist_se_code , trr.regist_se_code
, CONCAT(trr.reglt_de, trr.reglt_begin_time) AS regltDeTime , CONCAT(trr.reglt_de, trr.reglt_begin_time) AS regltDeTime
FROM tb_rt_reglt trr FROM tb_rt_reglt trr
-- LEFT OUTER JOIN tb_rt_erpp tre
-- ON trr.reglt_id = tre.reglt_id
</sql> </sql>
<!-- <!--
/* TODO : 차적조회를 안하고 바로 자료 전송 하여 rtpyr를 알수 없음 /* TODO : 차적조회를 안하고 바로 자료 전송 하여 rtpyr를 알수 없음
JOIN old_payer trp JOIN tb_payer trp
ON trr.rtpyr_id = trp.rtpyr_id ON trr.rtpyr_id = trp.rtpyr_id
*/ */
--> -->
@ -108,7 +106,7 @@
/* rt-reglt-and-erpp-mysql-mapper|insertRtReglt-단속 정보 등록|julim */ /* rt-reglt-and-erpp-mysql-mapper|insertRtReglt-단속 정보 등록|julim */
insert into tb_rt_reglt( insert into tb_rt_reglt(
reglt_id reglt_id
, instt_code , sgg_cd
, sys_se_cd , sys_se_cd
, reglt_se_code , reglt_se_code
, input_se_code , input_se_code
@ -129,7 +127,7 @@
, rgtr , rgtr
) VALUES ( ) VALUES (
LPAD(NEXTVAL(seq_rt_reglt), 16, '0') LPAD(NEXTVAL(seq_rt_reglt), 16, '0')
, #{insttCode} , #{sggCd}
, #{sysSeCd} , #{sysSeCd}
, #{regltSeCode} , #{regltSeCode}
, #{inputSeCode} , #{inputSeCode}
@ -188,7 +186,7 @@
INTO tb_rt_erpp ( INTO tb_rt_erpp (
erpp_id erpp_id
, reglt_id , reglt_id
, instt_code , sgg_cd
, sys_se_cd , sys_se_cd
, erpp_process_de , erpp_process_de
, erpp_se_code , erpp_se_code
@ -198,7 +196,7 @@
) VALUES ( ) VALUES (
LPAD(NEXTVAL(seq_rt_erpp), 12, '0') LPAD(NEXTVAL(seq_rt_erpp), 12, '0')
, #{regltId} , #{regltId}
, #{insttCode} , #{sggCd}
, #{sysSeCd} , #{sysSeCd}
, #{erppProcessDe} , #{erppProcessDe}
, #{erppSeCode} , #{erppSeCode}
@ -209,12 +207,12 @@
</insert> </insert>
<!-- ************************************************************************************************************* <!-- *************************************************************************************************************
* old_payer : 납부자 * tb_payer : 납부자
************************************************************************************************************** --> ************************************************************************************************************** -->
<select id="selectRtRtpyr" resultType="kr.xit.fims.biz.rt.RtDTO$Rtpyr"> <select id="selectRtRtpyr" resultType="kr.xit.fims.biz.rt.RtDTO$Rtpyr">
/* rt-reglt-and-erpp-mysql-mapper|selectRtRtpyr-납부자 정보 조회|julim */ /* rt-reglt-and-erpp-mysql-mapper|selectRtRtpyr-납부자 정보 조회|julim */
SELECT rtpyr_id SELECT rtpyr_id
, instt_code , sgg_cd
, sys_se_cd , sys_se_cd
, rtpyr_se_cd , rtpyr_se_cd
, rtpyr_no , rtpyr_no
@ -245,7 +243,7 @@
, rgtr , rgtr
, mdfcn_dt , mdfcn_dt
, mdfr , mdfr
FROM old_payer FROM tb_payer
WHERE rtpyr_id = #{rtpyrId} WHERE rtpyr_id = #{rtpyrId}
</select> </select>
@ -255,9 +253,9 @@
SELECT LPAD(NEXTVAL(seq_rt_rtpyr), 12, '0') SELECT LPAD(NEXTVAL(seq_rt_rtpyr), 12, '0')
</selectKey> </selectKey>
INSERT INSERT
INTO old_payer ( INTO tb_payer (
rtpyr_id rtpyr_id
, instt_code , sgg_cd
, sys_se_cd , sys_se_cd
, rtpyr_se_cd , rtpyr_se_cd
, rtpyr_no , rtpyr_no
@ -288,7 +286,7 @@
, rgtr , rgtr
) VALUES ( ) VALUES (
#{rtpyrId} #{rtpyrId}
, #{insttCode} , #{sggCd}
, #{sysSeCd} , #{sysSeCd}
, #{rtpyrSeCd} , #{rtpyrSeCd}
, #{rtpyrNo} , #{rtpyrNo}
@ -322,7 +320,7 @@
<update id="updateRtRtpyr"> <update id="updateRtRtpyr">
/* rt-reglt-and-erpp-mysql-mapper|updateRtRtpyr-납부자 정보 변경|julim */ /* rt-reglt-and-erpp-mysql-mapper|updateRtRtpyr-납부자 정보 변경|julim */
UPDATE old_payer UPDATE tb_payer
SET rtpyr_se_cd = IF(rtpyr_se_cd = #{rtpyrSeCd}, rtpyr_se_cd, #{rtpyrSeCd}) SET rtpyr_se_cd = IF(rtpyr_se_cd = #{rtpyrSeCd}, rtpyr_se_cd, #{rtpyrSeCd})
, rtpyr_no = IF(rtpyr_no = #{rtpyrNo}, rtpyr_no, #{rtpyrNo}) , rtpyr_no = IF(rtpyr_no = #{rtpyrNo}, rtpyr_no, #{rtpyrNo})
, rtpyr_nm = IF(rtpyr_nm = #{rtpyrNm}, rtpyr_nm, #{rtpyrNm}) , rtpyr_nm = IF(rtpyr_nm = #{rtpyrNm}, rtpyr_nm, #{rtpyrNm})
@ -339,9 +337,9 @@
<insert id="saveRtRtpyr"> <insert id="saveRtRtpyr">
/* rt-reglt-and-erpp-mysql-mapper|saveRtRtpyr-납부자 정보 등록 / 변경|julim */ /* rt-reglt-and-erpp-mysql-mapper|saveRtRtpyr-납부자 정보 등록 / 변경|julim */
INSERT INSERT
INTO old_payer ( INTO tb_payer (
rtpyr_id rtpyr_id
, instt_code , sgg_cd
, sys_se_cd , sys_se_cd
, rtpyr_se_cd , rtpyr_se_cd
, rtpyr_no , rtpyr_no
@ -372,7 +370,7 @@
, rgtr , rgtr
) VALUES ( ) VALUES (
LPAD(NEXTVAL(seq_rt_rtpyr), 12, '0') LPAD(NEXTVAL(seq_rt_rtpyr), 12, '0')
, #{insttCode} , #{sggCd}
, #{sysSeCd} , #{sysSeCd}
, #{rtpyrSeCd} , #{rtpyrSeCd}
, #{rtpyrNo} , #{rtpyrNo}

@ -67,7 +67,7 @@
</td> </td>
<th>기관코드</th> <th>기관코드</th>
<td> <td>
<code:select id="insttCode" name="insttCode" grpId="XIT025" defaultSelect="${extrDTO.insttCode}" title="기관코드" cls="form-select" alt="기관코드" disabled="true"/> <code:select id="sggCd" name="sggCd" grpId="XIT025" defaultSelect="${extrDTO.sggCd}" title="기관코드" cls="form-select" alt="기관코드" disabled="true"/>
</td> </td>
<th>단속구분</th> <th>단속구분</th>
<td> <td>

@ -28,7 +28,7 @@
<th>기관코드</th> <th>기관코드</th>
<td> <td>
<c:if test="${isUpdate}"> <c:if test="${isUpdate}">
<code:select id="insttCode" name="insttCode" grpId="XIT025" defaultSelect="${ansDTO.insttCode}" title="기관코드" cls="form-select" alt="기관코드" disabled="true"/> <code:select id="sggCd" name="sggCd" grpId="XIT025" defaultSelect="${ansDTO.sggCd}" title="기관코드" cls="form-select" alt="기관코드" disabled="true"/>
</c:if> </c:if>
<c:if test="${!isUpdate}"> <c:if test="${!isUpdate}">
<input type="text" name="ancCodeV" value='<c:out value="${ansDTO.ancCodeV}"/>' readonly> <input type="text" name="ancCodeV" value='<c:out value="${ansDTO.ancCodeV}"/>' readonly>

@ -378,7 +378,7 @@
}, },
{ {
header: '기관코드', header: '기관코드',
name: 'insttCode', name: 'sggCd',
minWidth: 200, minWidth: 200,
sortable: false, sortable: false,
align: 'center', align: 'center',
@ -387,7 +387,7 @@
editor: { editor: {
type: "select", type: "select",
options: { options: {
listItems: ComboCodeData.insttCode listItems: ComboCodeData.sggCd
} }
}, },
}, },

@ -33,7 +33,7 @@
<tr> <tr>
<th>기관코드</th> <th>기관코드</th>
<td> <td>
<input type="text" name="insttCode" value='<c:out value="${ctznDTO.insttCode}"/>' readonly> <input type="text" name="sggCd" value='<c:out value="${ctznDTO.sggCd}"/>' readonly>
</td> </td>
<th>시스템코드</th> <th>시스템코드</th>
<td> <td>
@ -202,7 +202,7 @@
</td> </td>
<th>기관코드</th> <th>기관코드</th>
<td> <td>
<code:select id="insttCode" name="insttCode" grpId="XIT025" defaultSelect="${dtlDTO.insttCode}" title="기관코드" cls="form-select" alt="기관코드" disabled="true"/> <code:select id="sggCd" name="sggCd" grpId="XIT025" defaultSelect="${dtlDTO.sggCd}" title="기관코드" cls="form-select" alt="기관코드" disabled="true"/>
</td> </td>
</tr> </tr>
<tr> <tr>

@ -33,7 +33,7 @@
<tbody> <tbody>
<tr> <tr>
<th>기관코드</th> <th>기관코드</th>
<td><code:select id="insttCode" name="insttCode" grpId="XIT025" defaultSelect="${dto.insttCode}" title="기관코드" cls="form-select" alt="기관코드"/></td> <td><code:select id="sggCd" name="sggCd" grpId="XIT025" defaultSelect="${dto.sggCd}" title="기관코드" cls="form-select" alt="기관코드"/></td>
<th>과태료코드</th> <th>과태료코드</th>
<td><code:select id="sysSeCd" name="sysSeCd" grpId="FIM001" defaultSelect="${dto.sysSeCd}" title="과태료코드" cls="form-select" alt="과태료코드"/></td> <td><code:select id="sysSeCd" name="sysSeCd" grpId="FIM001" defaultSelect="${dto.sysSeCd}" title="과태료코드" cls="form-select" alt="과태료코드"/></td>
<th>단속구분</th> <th>단속구분</th>

@ -8,7 +8,7 @@ ComboCodeData = {
] ]
// 기관코드 : XIT025 // 기관코드 : XIT025
,insttCode: [ ,sggCd: [
{value: '3650000', text: '대전광역시 중구'} {value: '3650000', text: '대전광역시 중구'}
,{value: '3670000', text: '대전광역시 유성구'} ,{value: '3670000', text: '대전광역시 유성구'}
] ]

Loading…
Cancel
Save