feat: 개별총정보(민원내역) 그리드 작업

main
sjh88 2 years ago
parent b59d10f714
commit 4ef73c9a54

@ -154,4 +154,33 @@ public class FimsCrackdownDTO {
private String resnCode; private String resnCode;
private String vhcleNo; private String vhcleNo;
} }
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
public static class CtznSttemntCmplt extends RtDTO.Reglt {
/**
* id
*/
private String cmpltId;
/**
*
*/
private String content;
/**
*
*/
private String gubun;
/**
*
*/
private String updtDt;
/**
*
*/
private String updusr;
}
} }

@ -3,6 +3,7 @@ package kr.xit.fims.biz.cmm.mapper;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import kr.xit.fims.biz.cmm.fimsTotalPopup.dto.FimsTotalPopupVO;
import org.apache.ibatis.session.RowBounds; import org.apache.ibatis.session.RowBounds;
import egovframework.rte.psl.dataaccess.mapper.Mapper; import egovframework.rte.psl.dataaccess.mapper.Mapper;
@ -28,4 +29,10 @@ public interface IFimsCrackdownMgtMapper {
CtznStmtDTO.Ans selectEcCtznSttemntAnswer(final String interfaceSeqN); CtznStmtDTO.Ans selectEcCtznSttemntAnswer(final String interfaceSeqN);
CmmAnsTmplDTO.Dtl selectCtznAnswerTmplInfo(final FimsCrackdownDTO.AnsRequest dto); CmmAnsTmplDTO.Dtl selectCtznAnswerTmplInfo(final FimsCrackdownDTO.AnsRequest dto);
List<FimsTotalPopupVO> selectProcessSttusChangeHist(final FimsCrackdownDTO.AnsRequest dto);
List<FimsTotalPopupVO> selectPayerAdresHist(final FimsCrackdownDTO.AnsRequest dto);
List<CmmAnsTmplDTO.Dtl> selectElctrnNticSndng(final FimsCrackdownDTO.AnsRequest dto);
List<FimsCrackdownDTO.CtznSttemntCmplt> selectCtznSttemntCmplt(final FimsCrackdownDTO.CtznSttemntCmplt dto);
void saveCtznSttemntCmplt(FimsCrackdownDTO.CtznSttemntCmplt dto);
} }

@ -110,18 +110,18 @@ public class FimsCrackdownMgtService implements IFimsCrackdownMgtService {
// 이력테이블 // 이력테이블
if(isStsChange){ if(isStsChange){
rtCrackdownMgtMapper.insertRtProcessSttsChangeHist( rtCrackdownMgtMapper.insertRtProcessSttsChangeHist(
RtDTO.SttusChangeHist.builder() RtDTO.SttusChangeHist.builder()
.regltId(infoDTO.getRegltId()) .regltId(infoDTO.getRegltId())
.regltProcessSttusCode(infoDTO.getRegltProcessSttusCode()) .regltProcessSttusCode(infoDTO.getRegltProcessSttusCode())
.register(getUserInfo().getUniqId()) .register(getUserInfo().getUniqId())
.build() .build()
); );
} }
// 2. 외부연계정보 반영 : // 2. 외부연계정보 반영 :
if(!FimsConst.RegltSeCode.CITIZEN.getCode().equals(saveDTO.getRegltSeCode()) if(!FimsConst.RegltSeCode.CITIZEN.getCode().equals(saveDTO.getRegltSeCode())
&& Checks.isNotEmpty(saveDTO.getExtrlRegltCntcId())){ && Checks.isNotEmpty(saveDTO.getExtrlRegltCntcId())){
return; return;
@ -129,12 +129,12 @@ public class FimsCrackdownMgtService implements IFimsCrackdownMgtService {
// 시민신고인 경우 // 시민신고인 경우
if(FimsConst.RegltSeCode.CITIZEN.getCode().equals(saveDTO.getRegltSeCode()) if(FimsConst.RegltSeCode.CITIZEN.getCode().equals(saveDTO.getRegltSeCode())
&& (Checks.isNotEmpty(saveDTO.getInterfaceSeqN()) && Checks.isNotEmpty(saveDTO.getCtznSttemntDetailSn()))) { && (Checks.isNotEmpty(saveDTO.getInterfaceSeqN()) && Checks.isNotEmpty(saveDTO.getCtznSttemntDetailSn()))) {
ctznDTO.setVhcleNo(infoDTO.getVhcleNo()); ctznDTO.setVhcleNo(infoDTO.getVhcleNo());
ctznDTO.setUpdusr(getUserInfo().getUniqId()); ctznDTO.setUpdusr(getUserInfo().getUniqId());
ecCtznSttemntMapper.updateVhcleNoOfEcCtznSttemntDetail(ctznDTO); ecCtznSttemntMapper.updateVhcleNoOfEcCtznSttemntDetail(ctznDTO);
updateCtznAndAnswer(saveDTO, infoDTO, FimsConst.CtznStmtDtlStsCode.ACCEPTANCE.getCode(), updateCtznAndAnswer(saveDTO, infoDTO, FimsConst.CtznStmtDtlStsCode.ACCEPTANCE.getCode(),
FimsConst.AnswerSeCode.IMPOSE.getCode(), "01"); FimsConst.AnswerSeCode.IMPOSE.getCode(), "01");
} }
/* /*
interfaceSeqN: $('input[name=interfaceSeqN]').val() interfaceSeqN: $('input[name=interfaceSeqN]').val()
@ -179,17 +179,17 @@ public class FimsCrackdownMgtService implements IFimsCrackdownMgtService {
// 이력테이블 // 이력테이블
if(isStsChange){ if(isStsChange){
rtCrackdownMgtMapper.insertRtProcessSttsChangeHist( rtCrackdownMgtMapper.insertRtProcessSttsChangeHist(
RtDTO.SttusChangeHist.builder() RtDTO.SttusChangeHist.builder()
.regltId(infoDTO.getRegltId()) .regltId(infoDTO.getRegltId())
.regltProcessSttusCode(infoDTO.getRegltProcessSttusCode()) .regltProcessSttusCode(infoDTO.getRegltProcessSttusCode())
.register(getUserInfo().getUniqId()) .register(getUserInfo().getUniqId())
.build() .build()
); );
} }
// 2. 외부연계정보 반영 : // 2. 외부연계정보 반영 :
if(!FimsConst.RegltSeCode.CITIZEN.getCode().equals(saveDTO.getRegltSeCode()) if(!FimsConst.RegltSeCode.CITIZEN.getCode().equals(saveDTO.getRegltSeCode())
&& Checks.isNotEmpty(saveDTO.getExtrlRegltCntcId())){ && Checks.isNotEmpty(saveDTO.getExtrlRegltCntcId())){
return; return;
@ -197,14 +197,14 @@ public class FimsCrackdownMgtService implements IFimsCrackdownMgtService {
// 시민신고인 경우 // 시민신고인 경우
if(FimsConst.RegltSeCode.CITIZEN.getCode().equals(saveDTO.getRegltSeCode()) if(FimsConst.RegltSeCode.CITIZEN.getCode().equals(saveDTO.getRegltSeCode())
&& (Checks.isNotEmpty(saveDTO.getInterfaceSeqN()) && Checks.isNotEmpty(saveDTO.getCtznSttemntDetailSn()))) { && (Checks.isNotEmpty(saveDTO.getInterfaceSeqN()) && Checks.isNotEmpty(saveDTO.getCtznSttemntDetailSn()))) {
ctznDTO.setVhcleNo(infoDTO.getVhcleNo()); ctznDTO.setVhcleNo(infoDTO.getVhcleNo());
ctznDTO.setUpdusr(getUserInfo().getUniqId()); ctznDTO.setUpdusr(getUserInfo().getUniqId());
ecCtznSttemntMapper.updateVhcleNoOfEcCtznSttemntDetail(ctznDTO); ecCtznSttemntMapper.updateVhcleNoOfEcCtznSttemntDetail(ctznDTO);
updateCtznAndAnswer(saveDTO, infoDTO, FimsConst.CtznStmtDtlStsCode.ACCEPTANCE.getCode(), updateCtznAndAnswer(saveDTO, infoDTO, FimsConst.CtznStmtDtlStsCode.ACCEPTANCE.getCode(),
FimsConst.AnswerSeCode.ENLIGHT.getCode(), infoDTO.getEnlightResnCode()); FimsConst.AnswerSeCode.ENLIGHT.getCode(), infoDTO.getEnlightResnCode());
} }
/* /*
@ -235,11 +235,11 @@ public class FimsCrackdownMgtService implements IFimsCrackdownMgtService {
// 이력테이블 // 이력테이블
if(isStsChange){ if(isStsChange){
rtCrackdownMgtMapper.insertRtProcessSttsChangeHist( rtCrackdownMgtMapper.insertRtProcessSttsChangeHist(
RtDTO.SttusChangeHist.builder() RtDTO.SttusChangeHist.builder()
.regltId(infoDTO.getRegltId()) .regltId(infoDTO.getRegltId())
.regltProcessSttusCode(infoDTO.getRegltProcessSttusCode()) .regltProcessSttusCode(infoDTO.getRegltProcessSttusCode())
.register(getUserInfo().getUniqId()) .register(getUserInfo().getUniqId())
.build() .build()
); );
} }
@ -250,17 +250,17 @@ public class FimsCrackdownMgtService implements IFimsCrackdownMgtService {
// 시민신고인 경우 // 시민신고인 경우
if(FimsConst.RegltSeCode.CITIZEN.getCode().equals(saveDTO.getRegltSeCode()) if(FimsConst.RegltSeCode.CITIZEN.getCode().equals(saveDTO.getRegltSeCode())
&& (Checks.isNotEmpty(saveDTO.getInterfaceSeqN()) && Checks.isNotEmpty(saveDTO.getCtznSttemntDetailSn()))) { && (Checks.isNotEmpty(saveDTO.getInterfaceSeqN()) && Checks.isNotEmpty(saveDTO.getCtznSttemntDetailSn()))) {
ecCtznSttemntMapper.updateVhcleNoOfEcCtznSttemntDetail( ecCtznSttemntMapper.updateVhcleNoOfEcCtznSttemntDetail(
CtznStmtDTO.Dtl.builder() CtznStmtDTO.Dtl.builder()
.interfaceSeqN(saveDTO.getInterfaceSeqN()) .interfaceSeqN(saveDTO.getInterfaceSeqN())
.ctznSttemntDetailSn(saveDTO.getCtznSttemntDetailSn()) .ctznSttemntDetailSn(saveDTO.getCtznSttemntDetailSn())
.vhcleNo(infoDTO.getVhcleNo()) .vhcleNo(infoDTO.getVhcleNo())
.updusr(getUserInfo().getUniqId()) .updusr(getUserInfo().getUniqId())
.build() .build()
); );
updateCtznAndAnswer(saveDTO, infoDTO, FimsConst.CtznStmtDtlStsCode.NON_ACCEPTABLE.getCode(), updateCtznAndAnswer(saveDTO, infoDTO, FimsConst.CtznStmtDtlStsCode.NON_ACCEPTABLE.getCode(),
FimsConst.AnswerSeCode.DISALLOW.getCode(), erppDTO.getErppSeCode()); FimsConst.AnswerSeCode.DISALLOW.getCode(), erppDTO.getErppSeCode());
} }
} }
@ -278,16 +278,26 @@ public class FimsCrackdownMgtService implements IFimsCrackdownMgtService {
return ecCtznSttemntMapper.selectEcCtznSttemntAnswer(dto); return ecCtznSttemntMapper.selectEcCtznSttemntAnswer(dto);
} }
@Override @Override
public FimsTotalPopupVO findProcessSttusChangeHist(final FimsCrackdownDTO.AnsRequest dto){ public List<FimsTotalPopupVO> findProcessSttusChangeHist(final FimsCrackdownDTO.AnsRequest dto){
return null; return mapper.selectProcessSttusChangeHist(dto);
} }
@Override @Override
public FimsTotalPopupVO findPayerAdresHist(final FimsCrackdownDTO.AnsRequest dto){ public List<FimsTotalPopupVO> findPayerAdresHist(final FimsCrackdownDTO.AnsRequest dto){
return null; return mapper.selectPayerAdresHist(dto);
} }
@Override @Override
public CmmAnsTmplDTO.Dtl findElctrnNticSndng(final FimsCrackdownDTO.AnsRequest dto){ public List<CmmAnsTmplDTO.Dtl> findElctrnNticSndng(final FimsCrackdownDTO.AnsRequest dto){
return null; return mapper.selectElctrnNticSndng(dto);
}
@Override
public List<FimsCrackdownDTO.CtznSttemntCmplt> findCtznSttemntCmplt(final FimsCrackdownDTO.CtznSttemntCmplt dto) {
return mapper.selectCtznSttemntCmplt(dto);
}
@Override
public void addCtznSttemntCmplt(final FimsCrackdownDTO.CtznSttemntCmplt dto) {
dto.setRegister(getUserInfo().getUniqId());
mapper.saveCtznSttemntCmplt(dto);
} }
@Override @Override
@ -305,10 +315,10 @@ public class FimsCrackdownMgtService implements IFimsCrackdownMgtService {
public String addCtznStmtAnswer(final String interfaceSeqN) { public String addCtznStmtAnswer(final String interfaceSeqN) {
// 답변 xml 파일 생성 // 답변 xml 파일 생성
List<CmmFileDTO.FileDtl> fileDtlList = cmmFileService.findFilesByJobSeCodeAndJobId( List<CmmFileDTO.FileDtl> fileDtlList = cmmFileService.findFilesByJobSeCodeAndJobId(
CmmFileDTO.FileMst.builder() CmmFileDTO.FileMst.builder()
.jobSeCode(FimsConst.FileJobSeCode.NATL_NEWS_PAPER_RCV.getCode()) .jobSeCode(FimsConst.FileJobSeCode.NATL_NEWS_PAPER_RCV.getCode())
.fileJobId(interfaceSeqN+"01") .fileJobId(interfaceSeqN+"01")
.build()); .build());
String tgtPath = uploadResPath + fileDtlList.get(0).getFileCours(); String tgtPath = uploadResPath + fileDtlList.get(0).getFileCours();
final String fileName = interfaceSeqN + ".xml"; final String fileName = interfaceSeqN + ".xml";
@ -337,11 +347,11 @@ public class FimsCrackdownMgtService implements IFimsCrackdownMgtService {
// 시민신고 상태 - 답변완료 update // 시민신고 상태 - 답변완료 update
ecCtznSttemntMapper.updateStmtProcessStsOfEcCtznSttemnt( ecCtznSttemntMapper.updateStmtProcessStsOfEcCtznSttemnt(
CtznStmtDTO.Ans.builder() CtznStmtDTO.Ans.builder()
.interfaceSeqN(interfaceSeqN) .interfaceSeqN(interfaceSeqN)
.ctznSttemntStatusCode(FimsConst.CtznStmtStsCode.ANS_COMPLETE.getCode()) .ctznSttemntStatusCode(FimsConst.CtznStmtStsCode.ANS_COMPLETE.getCode())
.updusr(getUserInfo().getUniqId()) .updusr(getUserInfo().getUniqId())
.build() .build()
); );
return tgtPath + "/" + fileName; return tgtPath + "/" + fileName;
@ -386,30 +396,30 @@ public class FimsCrackdownMgtService implements IFimsCrackdownMgtService {
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()) .insttCode(getUserInfo().getPstinstCode())
.sysCode(getUserInfo().getOrgnztId()) .sysCode(getUserInfo().getOrgnztId())
.interfaceSeqN(saveDTO.getInterfaceSeqN()) .interfaceSeqN(saveDTO.getInterfaceSeqN())
.cvplProcessResult(ansTxt) .cvplProcessResult(ansTxt)
.register(getUserInfo().getUniqId()) .register(getUserInfo().getUniqId())
.build(); .build();
mapper.saveEcCtznSttemntAnswer(ansDTO); mapper.saveEcCtznSttemntAnswer(ansDTO);
} }
} }
private CtznStmtDTO.Request getCtznRequestDTO(final FimsCrackdownDTO.SaveRequest saveDTO){ private CtznStmtDTO.Request getCtznRequestDTO(final FimsCrackdownDTO.SaveRequest saveDTO){
return CtznStmtDTO.Request return CtznStmtDTO.Request
.builder() .builder()
.updusr(getUserInfo().getUniqId()) .updusr(getUserInfo().getUniqId())
.interfaceSeqN(saveDTO.getInterfaceSeqN()) .interfaceSeqN(saveDTO.getInterfaceSeqN())
.ctznSttemntDetailSn(saveDTO.getCtznSttemntDetailSn()) .ctznSttemntDetailSn(saveDTO.getCtznSttemntDetailSn())
.build(); .build();
} }
private String getAnswerText(CmmAnsTmplDTO.Dtl dto){ private String getAnswerText(CmmAnsTmplDTO.Dtl dto){
return Optional.of(dto) return Optional.of(dto)
.map(o -> (Checks.isNotEmpty(o.getPrface())? o.getPrface() : "") .map(o -> (Checks.isNotEmpty(o.getPrface())? o.getPrface() : "")
+ (Checks.isNotEmpty(o.getAnswerCn())? o.getAnswerCn() : "") + (Checks.isNotEmpty(o.getAnswerCn())? o.getAnswerCn() : "")
+ (Checks.isNotEmpty(o.getTlface())? o.getTlface(): "")) + (Checks.isNotEmpty(o.getTlface())? o.getTlface(): ""))
.orElseGet(() -> ""); .orElseGet(() -> "");
} }
} }

@ -27,9 +27,11 @@ public interface IFimsCrackdownMgtService {
CmmAnsTmplDTO.Dtl findCtznAnswerTmplInfo(final FimsCrackdownDTO.AnsRequest dto); CmmAnsTmplDTO.Dtl findCtznAnswerTmplInfo(final FimsCrackdownDTO.AnsRequest dto);
CtznStmtDTO.Ans findCtznStmtAnswer(final FimsCrackdownDTO.AnsRequest dto); CtznStmtDTO.Ans findCtznStmtAnswer(final FimsCrackdownDTO.AnsRequest dto);
FimsTotalPopupVO findProcessSttusChangeHist(final FimsCrackdownDTO.AnsRequest dto); List<FimsTotalPopupVO> findProcessSttusChangeHist(final FimsCrackdownDTO.AnsRequest dto);
FimsTotalPopupVO findPayerAdresHist(final FimsCrackdownDTO.AnsRequest dto); List<FimsTotalPopupVO> findPayerAdresHist(final FimsCrackdownDTO.AnsRequest dto);
CmmAnsTmplDTO.Dtl findElctrnNticSndng(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);
void modifyCtznStmtAnswer(final CtznStmtDTO.Ans dto); void modifyCtznStmtAnswer(final CtznStmtDTO.Ans dto);
String addCtznStmtAnswer(final String interfaceSeqN); String addCtznStmtAnswer(final String interfaceSeqN);

@ -230,4 +230,17 @@ public class FimsCrackDownMgtController {
public ModelAndView findElctrnNticSndng(final FimsCrackdownDTO.AnsRequest dto){ public ModelAndView findElctrnNticSndng(final FimsCrackdownDTO.AnsRequest dto){
return ResultResponse.of(service.findElctrnNticSndng(dto)); return ResultResponse.of(service.findElctrnNticSndng(dto));
} }
@RequestMapping(value = "/findCtznSttemntCmplt")
public ModelAndView findCtznSttemntCmplt(final FimsCrackdownDTO.CtznSttemntCmplt dto){
return ResultResponse.of(service.findCtznSttemntCmplt(dto));
}
@RequestMapping("/addCtznSttemntCmplt")
public ModelAndView addCtznSttemntCmplt(final FimsCrackdownDTO.CtznSttemntCmplt dto) {
ModelAndView mav = new ModelAndView(FrameworkConstants.JSON_VIEW);
service.addCtznSttemntCmplt(dto);
AjaxMessageMapRenderer.success(mav, MessageKey.CMM_SUCCESS);
return mav;
}
} }

@ -295,6 +295,32 @@
, cvpl_process_compt_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s') , cvpl_process_compt_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
</insert> </insert>
<insert id="saveCtznSttemntCmplt">
<selectKey resultType="string" keyProperty="cmpltId" order="BEFORE">
SELECT LPAD(NEXTVAL(seq_ec_ctzn_sttemnt_cmplt), 12, '0')
</selectKey>
INSERT
INTO tb_ec_ctzn_sttemnt_cmplt (
cmplt_id
, reglt_id
, instt_code
, content
, gubun
, vhcle_no
, regist_dt
, register
) VALUES (
#{cmpltId}
, #{regltId}
, #{insttCode}
, #{content}
, #{gubun}
, #{vhcleNo}
, DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
, #{register}
)
</insert>
<select id="selectEcCtznSttemntAnswer" resultType="kr.xit.fims.biz.ec.dto.CtznStmtDTO$Ans"> <select id="selectEcCtznSttemntAnswer" resultType="kr.xit.fims.biz.ec.dto.CtznStmtDTO$Ans">
/*cmm-fims-crackdown-mysql-mapper|selectEcCtznSttemntAnswer-시민신고답변 데이타 조회|cjm */ /*cmm-fims-crackdown-mysql-mapper|selectEcCtznSttemntAnswer-시민신고답변 데이타 조회|cjm */
SELECT tecsa.interface_seq_n SELECT tecsa.interface_seq_n
@ -319,4 +345,76 @@
ON tecsa.interface_seq_n = teei.interface_seq_n ON tecsa.interface_seq_n = teei.interface_seq_n
WHERE tecsa.interface_seq_n = #{interfaceSeqN} WHERE tecsa.interface_seq_n = #{interfaceSeqN}
</select> </select>
<select id="selectProcessSttusChangeHist" resultType="kr.xit.fims.biz.cmm.fimsTotalPopup.dto.FimsTotalPopupVO">
SELECT hist_sn
, reglt_process_sttus_code
, regist_dt
, spcmnt_matter
FROM tb_rt_process_sttus_change_hist
WHERE reglt_id = #{regltId}
</select>
<select id="selectPayerAdresHist" resultType="kr.xit.fims.biz.cmm.fimsTotalPopup.dto.FimsTotalPopupVO">
SELECT regist_dt
, all_adres
FROM tb_rt_payer_hist
WHERE payer_id = #{payerId}
</select>
<select id="selectElctrnNticSndng" resultType="kr.xit.framework.biz.cmm.dto.CmmAnsTmplDTO$Dtl">
SELECT tens.elctrn_ntic_sndng_id
, tens.signgu_code
, tens.nht_tmplat_id
, tens.sndng_ty_code
, tens.sndng_co
, tens.sndng_process_sttus
, tens.sndng_dt
, tens.clos_dt
, tens.regist_dt
, tens.register
, tens.updt_dt
, tens.updusr
, tensd.elctrn_ntic_sndng_detail_id
, tensd.main_code
, tensd.ihidnum
, tensd.cn_detail
, tensd.mobile_page_cn
, tensd.external_document_uuid
, tensr.elctrn_ntic_sndng_detail_id
, tensr.sndng_result_code
, tensr.requst_dt
, tensr.inqire_dt
, tensr.readng_dt
, IFNULL(tens.error_cn, tensr.error_cn) AS errorCn
FROM tb_elctrn_ntic_sndng tens
JOIN tb_elctrn_ntic_sndng_detail tensd
ON tens.ELCTRN_NTIC_SNDNG_ID = tensd.ELCTRN_NTIC_SNDNG_ID
LEFT OUTER JOIN tb_elctrn_ntic_sndng_result tensr
ON tensd.ELCTRN_NTIC_SNDNG_DETAIL_ID = tensr.ELCTRN_NTIC_SNDNG_DETAIL_ID
WHERE tensd.main_code = #{regltId}
</select>
<select id="selectCtznSttemntCmplt" resultType="kr.xit.fims.biz.cmm.dto.FimsCrackdownDTO$CtznSttemntCmplt">
SELECT tecsc.cmplt_id
, tecsc.reglt_id
, tecsc.instt_code
, tecsc.content
, tecsc.gubun
, tecsc.vhcle_no
, tecsc.regist_dt
, tecsc.register
, tecsc.updt_dt
, tecsc.updusr
FROM tb_ec_ctzn_sttemnt_cmplt tecsc
<if test='gubun eq "0"'>
JOIN tb_rt_reglt trr
ON (tecsc.reglt_id = trr.reglt_id AND (trr.payer_id = #{payerId} OR trr.reglt_id = #{regltId}))
</if>
<where>
<if test='gubun eq "1"'>
AND tecsc.vhcle_no = #{vhcleNo}
</if>
</where>
</select>
</mapper> </mapper>

@ -30,27 +30,27 @@ Date Author Description
<%--2022.10.05 박소영 웹폰트 링크 추가--%> <%--2022.10.05 박소영 웹폰트 링크 추가--%>
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&display=swap" rel="stylesheet">
<div class="conttitle"> <div class="conttitle">
<img src="${ctx }/resources/biz/content/images/common/main/titleLogo_01.png"/> <img src="${ctx }/resources/biz/content/images/common/main/titleLogo_01.png"/>
<p class="title">개별총정보</p> <p class="title">개별총정보</p>
</div> </div>
<div class="row"> <div class="row">
<div id="popupTabs"> <div id="popupTabs">
<ul> <ul>
<li><a href="#tabs_0" id="0">위반정보<span id="t0"></span></a></li> <li><a href="#tabs_0" id="0">위반정보<span id="t0"></span></a></li>
<li><a href="#tabs_1" id="1">의견진술<span id="t1"></span></a></li> <li><a href="#tabs_1" id="1">의견진술<span id="t1"></span></a></li>
<li><a href="#tabs_2" id="2">세부내역<span id="t2"></span></a></li> <li><a href="#tabs_2" id="2">세부내역<span id="t2"></span></a></li>
<li><a href="#tabs_3" id="3">민원내역<span id="t3"></span></a></li> <li><a href="#tabs_3" id="3">민원내역<span id="t3"></span></a></li>
</ul> </ul>
<div id="tabs_0"> <div id="tabs_0">
<div class="w_fix09 gridGroup" style="position: relative;"> <div class="w_fix09 gridGroup" style="position: relative;">
<p class="title deco_01"> <p class="title deco_01">
위반정보 <span id="violtDtlsNm" name="violtDtlsNm" style="padding-left: 20px; color:darkred;"></span> 위반정보 <span id="violtDtlsNm" name="violtDtlsNm" style="padding-left: 20px; color:darkred;"></span>
</p> </p>
<%--<%@include file="/WEB-INF/jsp/framework/biz-popup-tab-btn.jsp" %>--%> <%--<%@include file="/WEB-INF/jsp/framework/biz-popup-tab-btn.jsp" %>--%>
<form id="frmReglt"> <form id="frmReglt">
<table class="tbl03"> <table class="tbl03">
<caption>위반정보 상세</caption> <caption>위반정보 상세</caption>
<colgroup> <colgroup>
@ -216,9 +216,9 @@ Date Author Description
</tr> </tr>
</tbody> </tbody>
</table> </table>
</form> </form>
<form id="frmPayer"> <form id="frmPayer">
<input type="hidden" id="payerId" name="payerId" /> <input type="hidden" id="payerId" name="payerId" />
<table class="tbl03"> <table class="tbl03">
<caption>소유주 정보</caption> <caption>소유주 정보</caption>
@ -268,310 +268,348 @@ Date Author Description
</tr> </tr>
</tbody> </tbody>
</table> </table>
</form> </form>
<%@include file="/WEB-INF/jsp/framework/biz-popup-tab-btn.jsp" %> <%@include file="/WEB-INF/jsp/framework/biz-popup-tab-btn.jsp" %>
</div> </div>
<div class="w_fix09 gridGroup" style="width:0px; min-width:300px!important;"> <div class="w_fix09 gridGroup" style="width:0px; min-width:300px!important;">
<p class="title deco_01">위반사진</p> <p class="title deco_01">위반사진</p>
<div id="imgList"></div> <div id="imgList"></div>
<div> <div>
<img id="uploadImage"/> <img id="uploadImage"/>
</div>
</div> </div>
</div> </div>
</div>
<div id="tabs_1" style="display: flex;"> <div id="tabs_1" style="display: flex;">
<div class="w_fix02 gridGroup mR_01"> <div class="w_fix02 gridGroup mR_01">
<p class="title deco_01">진술내역</p> <p class="title deco_01">진술내역</p>
<table class="tbl03">
<caption>의견진술 정보</caption>
<colgroup>
<col style="width: 10%;"/>
<col style="width: 0%;"/>
<col style="width: 0%;"/>
<col style="width: 13%;"/>
<col style="width: 10%;"/>
<col style="width: 27%;"/>
</colgroup>
<tbody>
<tr>
<th>등록구분</th>
<td colspan="3">
<input type="text">
</td>
<th>진술일</th>
<td colspan="2">
<input type="text">
</td>
</tr>
<tr>
<th>성명</th>
<td colspan="3">
<input type="text">
</td>
<th>주민등록번호</th>
<td colspan="2">
<input type="text">
</td>
</tr>
<tr>
<th>주소</th>
<td colspan="6">
<input type="text">
</td>
</tr>
<tr>
<th>번지</th>
<td colspan="6">
<input type="text">
</td>
</tr>
<tr>
<th>우편번호</th>
<td colspan="3">
<input type="text">
</td>
<th>연락처</th>
<td colspan="2">
<input type="text">
</td>
</tr>
<tr>
<th>차주와의 관계</th>
<td colspan="3">
<input type="text">
</td>
<th>이메일 주소</th>
<td colspan="2">
<input type="text">
</td>
</tr>
<tr>
<th>회신방법</th>
<td colspan="6">
<input type="text">
</td>
</tr>
<tr>
<th>진술요지</th>
<td colspan="6">
<input type="text">
</td>
</tr>
<tr>
<th>진술 내용</th>
<td colspan="6">
<textarea rows="15" style="overflow-y: scroll; width:100%;"></textarea>
</td>
</tr>
</tbody>
</table>
</div>
<div class="w_fix02 gridGroup">
<p class="title deco_01">판정</p>
<table class="tbl03">
<colgroup>
<col style="width: 10%;"/>
<col style="width: 20%;"/>
<col style="width: 10%;"/>
<col style="width: 20%;"/>
</colgroup>
<tbody>
<tr>
<th>처리일시</th>
<td colspan="5">
<input type="text">
</td>
</tr>
<tr>
<th>처리결과</th>
<td colspan="5">
<input type="text">
</td>
</tr>
<tr>
<th>담당자<br/>의견</th>
<td colspan="5">
<textarea rows="15" style="overflow-y: scroll; width:100%;"></textarea>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="tabs_2">
<div class="w_fix05" style="width: 1100px;">
<div class="w_fix04 gridGroup">
<div style="width: 100%; border:0px solid black">
<p class="title deco_01">처리상태 변동이력</p>
<div id="grid_t0"></div>
<%--삭제조심--%>
</div>
</div>
<div class="w_fix04 gridGroup">
<p class="title deco_01">감경처리</p>
<table class="tbl03"> <table class="tbl03">
<caption>의견진술 정보</caption>
<colgroup> <colgroup>
<col style="width: 10%;"/> <col style="width: 21%;"/>
<col style="width: 0%;"/> <col style="width: 8%;"/>
<col style="width: 0%;"/> <col style="width: 11%;"/>
<col style="width: 13%;"/>
<col style="width: 10%;"/>
<col style="width: 27%;"/>
</colgroup> </colgroup>
<tbody> <tr>
<tr> <th>처리일</th>
<th>등록구분</th> <td colspan="4">
<td colspan="3"> <input type="text" id="test1" name="test1" readonly/>
<input type="text"> </td>
</td> </tr>
<th>진술일</th> <tr>
<td> <th>감경사유</th>
<input type="text"> <td colspan="4">
</td> <input type="text" id="test2" name="test2" readonly/>
</tr> </td>
<tr> </tr>
<th>성명</th> <tr>
<td colspan="3"> <th>감경금액</th>
<input type="text"> <td colspan="4">
</td> <input type="text" id="redutionAmount" name="redutionAmount" readonly/>
<th>주민등록번호</th> </td>
<td> </tr>
<input type="text"> <tr>
</td> <th>처리자</th>
</tr> <td colspan="4">
<tr> <input type="text" id="changeProcessRegister" name="changeProcessRegister" readonly/>
<th>주소</th> </td>
<td colspan="5"> </tr>
<input type="text"> <tr>
</td> <th>특이사항</th>
</tr> <td colspan="4">
<tr> <textarea id="spcmntMatter" name="spcmntMatter" cols="0" rows="5" style="overflow-y: scroll; width:100%;"></textarea>
<th>번지</th> </td>
<td colspan="5"> </tr>
<input type="text">
</td>
</tr>
<tr>
<th>우편번호</th>
<td colspan="3">
<input type="text">
</td>
<th>연락처</th>
<td>
<input type="text">
</td>
</tr>
<tr>
<th>차주와의 관계</th>
<td colspan="3">
<input type="text">
</td>
<th>이메일 주소</th>
<td>
<input type="text">
</td>
</tr>
<tr>
<th>회신방법</th>
<td colspan="3">
<input type="text">
</td>
</tr>
<tr>
<th>진술요지</th>
<td colspan="6">
<input type="text" style=" width:88%;">
</td>
</tr>
<tr>
<th>진술 내용</th>
<td colspan="6">
<textarea cols="0" rows="15" style="overflow-y: scroll; width:90%;"></textarea>
</td>
</tr>
</tbody> </tbody>
</table> </table>
</div> </div>
<div class="w_fix02 gridGroup"> <div class="w_fix04 gridGroup">
<p class="title deco_01">판정</p> <p class="title deco_01">서손처리</p>
<table class="tbl03"> <table class="tbl03">
<colgroup> <colgroup>
<col style="width: 10%;"/> <col style="width: 21%;"/>
<col style="width: 20%;"/> <col style="width: 8%;"/>
<col style="width: 10%;"/> <col style="width: 11%;"/>
<col style="width: 20%;"/>
</colgroup> </colgroup>
<tbody> <tbody>
<tr> <tr>
<th>처리일시</th> <th>처리일</th>
<td colspan="3"> <td colspan="4">
<input type="text"> <input type="text" id="erppProcessDe" name="erppProcessDe" readonly/>
</td> </td>
</tr> </td>
<tr> </tr>
<th>처리결과</th> <tr>
<td colspan="3"> <th>서손사유</th>
<input type="text"> <td colspan="4">
</td> <input type="text" id="erppSeCode" name="erppSeCode" readonly/>
</tr> </td>
<tr> </tr>
<th>담당자<br/>의견</th> <tr>
<td colspan="4"> <th>처리자</th>
<textarea cols="50" rows="15" style="overflow-y: scroll; width:90%;"></textarea> <td colspan="4">
</td> <input type="text" id="register" name="register" readonly/>
</tr> </td>
</tbody> </tr>
<tr>
<th>특이사항</th>
<td colspan="4">
<textarea id="erppResnDetail" name="erppResnDetail" cols="0" rows="5" style="overflow-y: scroll; width:100%;"></textarea>
</td>
</tr>
</table> </table>
</div> </div>
</div> </div>
<div id="tabs_2"> <%--box_01--%>
<div class="w_fix05" style="width: 1100px;"> <%-- <div class="w_fix06 gridGroup">--%>
<div class="w_fix04 gridGroup"> <%-- <p class="title deco_02">처리상태 변동이력</p>--%>
<div style="width: 100%; border:0px solid black"> <%-- <div style="display: flex; width: 100%; border:0px solid chocolate; margin-bottom: 5px;">--%>
<p class="title deco_01">처리상태 변동이력</p> <%-- <div id="grid_t0" style="width:100%;"></div>--%>
<div id="grid_t0"></div> <%-- </div>--%>
<%--삭제조심--%> <%-- </div>--%>
</div> <div class="w_fix06 gridGroup" style="width: 1100px;">
</div> <p class="title deco_02">주소 변동이력</p>
<div class="w_fix04 gridGroup"> <div style="display: flex; width: 100%; border:0px solid chocolate; margin-bottom: 5px;">
<p class="title deco_01">감경처리</p> <div id="grid_d1" style="width:100%;"></div>
<table class="tbl03"> </div>
<colgroup> </div>
<col style="width: 21%;"/>
<col style="width: 8%;"/> <div class="w_fix06 gridGroup" style="width: 1100px; margin-top:17px;">
<col style="width: 11%;"/> <p class="title deco_02">발송 이력</p>
</colgroup> <form id="frmSendSearch">
<tr> <div class="search r2">
<th>처리일</th> <table>
<td colspan="4"> <caption>검색조건</caption>
<input type="text" id="erppProcessDe" name="erppProcessDe" readonly/>
</td>
</tr>
<tr>
<th>서손사유</th>
<td colspan="4">
<input type="text" id="erppResnCode" name="erppResnCode" readonly/>
</td>
</tr>
<tr>
<th>감경금액</th>
<td colspan="4">
<input type="text" id="redutionAmount" name="redutionAmount" readonly/>
</td>
</tr>
<tr>
<th>처리자</th>
<td colspan="4">
<input type="text" id="changeProcessRegister" name="changeProcessRegister" readonly/>
</td>
</tr>
<tr>
<th>특이사항</th>
<td colspan="4">
<textarea id="spcmntMatter" name="spcmntMatter" cols="0" rows="5" style="overflow-y: scroll; width:100%;"></textarea>
</td>
</tr>
</tbody>
</table>
</div>
<div class="w_fix04 gridGroup">
<p class="title deco_01">서손처리</p>
<table class="tbl03">
<colgroup> <colgroup>
<col style="width: 21%;"/> <col style="width: 7%">
<col style="width: 8%;"/> <col>
<col style="width: 11%;"/> <col style="width: 8%;">
<col>
<col style="width: 7%;">
<col>
<col style="width: 7%;">
<col>
</colgroup> </colgroup>
<tbody> <tbody>
<tr> <th>등기번호</th>
<th>처리일</th> <td>
<td colspan="4"> <input name="test3" id="test3" type="text" title="등기번호">
<input type="text" id="" name="" readonly/> </td>
</td> <th>전자납부번호</th>
</td> <td>
</tr> <input name="test4" id="test4" type="text" title="전자납부번호">
<tr> </td>
<th>감경사유</th> <th>가상계좌</th>
<td colspan="4"> <td>
<input type="text" id="" name="" readonly/> <input name="test5" id="test5" type="text" title="가상계좌">
</td> </td>
</tr> <th>공시송달일</th>
<tr> <td>
<th>처리자</th> <input name="test6" id="test6" type="text" title="공시송달일">
<td colspan="4"> </td>
<input type="text" id="register" name="register" readonly/> </tbody>
</td>
</tr>
<tr>
<th>특이사항</th>
<td colspan="4">
<textarea id="erppResnDetail" name="erppResnDetail" cols="0" rows="5" style="overflow-y: scroll; width:100%;"></textarea>
</td>
</tr>
</table> </table>
</div> </div>
</form>
<div style="display: flex; width: 100%; height:150px; border:0px solid black; margin-bottom: 20px;">
<div id="grid_d2" style="width:100%;"></div>
</div> </div>
<%--box_01--%> </div>
<%-- <div class="w_fix06 gridGroup">--%>
<%-- <p class="title deco_02">처리상태 변동이력</p>--%> <%-- <div class="topBtnArea-a" style="/*width: 990px;*/ width:75%; min-width: 430px;">--%>
<%-- <div style="display: flex; width: 100%; border:0px solid chocolate; margin-bottom: 5px;">--%> <%-- <ul class="btnList">--%>
<%-- <div id="grid_t0" style="width:100%;"></div>--%> <%-- <li>--%>
<%-- </div>--%> <%-- <%@include file="/WEB-INF/jsp/framework/biz-popup-btn.jsp" %>--%>
<%-- </div>--%> <%-- </li>--%>
<div class="w_fix06 gridGroup" style="width: 1100px;"> <%-- </ul>--%>
<p class="title deco_02">주소 변동이력</p> <%-- </div>--%>
<div style="display: flex; width: 100%; border:0px solid chocolate; margin-bottom: 5px;">
<div id="grid_d1" style="width:100%;"></div> </div>
<div id="tabs_3">
<form id="frmCmplt">
<div class="w_fix05">
<div class="w_fix04 gridGroup">
<div style="width: 100%; border:0px solid black">
<p class="title deco_01">개별자료 민원 등록내역</p>
<a href="#" class="btn green" id="btnMinWonNew">신규작성</a>
<div id="grid_m1"></div>
</div> </div>
</div> </div>
<div class="w_fix04 gridGroup">
<form id="frmSendSearch"> <div style="width: 100%; border:0px solid black">
<div class="w_fix06 gridGroup" style="width: 1100px; margin-top:17px;"> <p class="title deco_01">차량번호 민원 등록내역</p>
<p class="title deco_02">발송 이력</p> <a href="#" class="btn green" id="btnCarMinWonNew">신규작성</a>
<div style="display: flex; width: 100%; height:150px; border:0px solid black; margin-bottom: 20px;"> <div id="grid_m2"></div>
<div id="grid_d2" style="width:100%;"></div>
</div> </div>
</div> </div>
</form>
<%-- <div class="topBtnArea-a" style="/*width: 990px;*/ width:75%; min-width: 430px;">--%>
<%-- <ul class="btnList">--%>
<%-- <li>--%>
<%-- <%@include file="/WEB-INF/jsp/framework/biz-popup-btn.jsp" %>--%>
<%-- </li>--%>
<%-- </ul>--%>
<%-- </div>--%>
</div> </div>
<div id="tabs_3"> <div class="w_fix05">
<div class="w_fix05"> <div class="box mT_02">
<div class="w_fix04 gridGroup"> <div class="w_fix04 gridGroup">
<div style="width: 100%; border:0px solid black"> <p class="title deco_01">민원 내용</p>
<p class="title deco_01">개별자료 민원 등록내역</p> <input type="hidden" id="content" name="content">
<div id="grid_m1"></div> <textarea id="content1" name="content1" cols="0" rows="15" style="overflow-y: scroll; width:100%;"></textarea>
<div class="popup_btn_02">
<span>
<a href="#" class="btn blue" id="btnMinWonRegist" style="display: none;">등록</a>
<a href="#" class="btn blue" id="btnMinWonModify" style="display: none;">변경</a>
<a href="#" class="btn red" id="btnMinWonRemove" style="display: none;">삭제</a>
</span>
</div> </div>
</div> </div>
</div><%--box--%>
<div class="box mT_02">
<div class="w_fix04 gridGroup"> <div class="w_fix04 gridGroup">
<div style="width: 100%; border:0px solid black"> <p class="title deco_01">차량번호 민원 내용</p>
<p class="title deco_01">차량번호 민원 등록내역</p> <textarea id="content2" name="content2" cols="0" rows="15" style="overflow-y: scroll; width:100%;"></textarea>
<div id="grid_m2"></div> <div class="popup_btn_02">
<span>
<a href="#" class="btn blue" id="btnCarMinWonRegist" style="display: none;">등록</a>
<a href="#" class="btn blue" id="btnCarMinWonModify" style="display: none;">변경</a>
<a href="#" class="btn red" id="btnCarMinWonRemove" style="display: none;">삭제</a>
</span>
</div> </div>
</div> </div>
</div> </div><%--box--%>
<div class="w_fix05">
<div class="box mT_02">
<div class="w_fix04 gridGroup">
<p class="title deco_01">민원 새로등록</p>
<%-- <div style="height: 200px; border:1px solid #a1a1a1; margin:11px; border-radius: 4px;">--%>
<%-- &lt;%&ndash;<div id="grid"></div>&ndash;%&gt;--%>
<%-- </div>--%>
<textarea cols="0" rows="15" style="overflow-y: scroll; width:100%;"></textarea>
<li>
<%@include file="/WEB-INF/jsp/framework/biz-popup-btn.jsp" %>
</li>
</div>
</div><%--box--%>
<div class="box mT_02">
<div class="w_fix04 gridGroup">
<p class="title deco_01">차량번호 민원 수정</p>
<%-- <div style="height: 200px; border:1px solid #a1a1a1; margin:11px; border-radius: 4px;">--%>
<%-- &lt;%&ndash;<div id="grid"></div>&ndash;%&gt;--%>
<%-- </div>--%>
<textarea cols="0" rows="15" style="overflow-y: scroll; width:100%;"></textarea>
<li>
<%@include file="/WEB-INF/jsp/framework/biz-popup-btn.jsp" %>
</li>
</div>
</div><%--box--%>
</div>
<%-- <div class="topBtnArea-a" style="min-width: 440px; width:75%;">--%>
<%-- <ul class="btnList" style="padding-left:10px;">--%>
<%-- <li>--%>
<%-- <%@include file="/WEB-INF/jsp/framework/biz-popup-btn.jsp" %>--%>
<%-- </li>--%>
<%-- </ul>--%>
<%-- </div>--%>
</div> </div>
</div><!--popupTabs -->
</div><!--row -->
</form> </form>
<%-- <div class="topBtnArea-a" style="min-width: 440px; width:75%;">--%>
<%-- <ul class="btnList" style="padding-left:10px;">--%>
<%-- <li>--%>
<%-- <%@include file="/WEB-INF/jsp/framework/biz-popup-btn.jsp" %>--%>
<%-- </li>--%>
<%-- </ul>--%>
<%-- </div>--%>
</div>
</div><!--popupTabs -->
</div><!--row -->
<script type="text/javascript" src="${pageContext.request.contextPath}/resources/framework/js/cmm/cmmDownloadImg.js"></script> <script type="text/javascript" src="${pageContext.request.contextPath}/resources/framework/js/cmm/cmmDownloadImg.js"></script>
<script type="text/javaScript"> <script type="text/javaScript">
@ -583,6 +621,8 @@ Date Author Description
var callbackReloadImage = () => fnPopupBiz.downloadImg(); var callbackReloadImage = () => fnPopupBiz.downloadImg();
let orgData; let orgData;
const ARR_TAP_GRID = [null,null,null,null,null]; const ARR_TAP_GRID = [null,null,null,null,null];
const ARR_TAP_NAV = [null,null,null,null,null];
const ARR_TAP_TOTCNT = [0, 0, 0, 0, 0];
let CUR_TAB_SEQ = 0; let CUR_TAB_SEQ = 0;
//var callbackSearch = () => fnPopupBiz.search(); //var callbackSearch = () => fnPopupBiz.search();
@ -721,20 +761,42 @@ Date Author Description
$("#popupTabs").on("click", "li", function () { $("#popupTabs").on("click", "li", function () {
const popTab = parseInt($("#popupTabs .ui-tabs-active a").attr("id")); const popTab = parseInt($("#popupTabs .ui-tabs-active a").attr("id"));
console.log(popTab);
if(popTab === 2){ if(popTab === 2){
console.log(ARR_TAP_GRID[0]);
ARR_TAP_GRID[0].reloadData(); ARR_TAP_GRID[0].reloadData();
//ARR_TAP_GRID[0].refreshLayout();
console.log(ARR_TAP_GRID[1].dataProvider.readData);
ARR_TAP_GRID[1].reloadData(); ARR_TAP_GRID[1].reloadData();
//ARR_TAP_GRID[1].refreshLayout();
console.log(ARR_TAP_GRID[2]);
ARR_TAP_GRID[2].reloadData(); ARR_TAP_GRID[2].reloadData();
//ARR_TAP_GRID[2].refreshLayout(); }else if(popTab === 3){
ARR_TAP_GRID[3].reloadData();
ARR_TAP_GRID[4].reloadData();
} }
});
$('#btnMinWonNew').on('click', () => {
$('#content').val('');
$('#content1').val('');
$("#btnMinWonRegist").show();
});
$('#btnCarMinWonNew').on('click', () => {
$('#content').val('');
$('#content2').val('');
$("#btnCarMinWonRegist").show();
});
$('#btnMinWonRegist').on('click', () => {
$('#content').val($('#content1').val());
const formData = $("#frmCmplt").serialize() + `&regltId=${param.regltId}&gubun=0`;
cmmBizAjax('저장', {
url: fimsApiUrl.ADD_CTZN_STTEMNT_CMPLT
, data: formData
})
});
$('#btnCarMinWonRegist').on('click', () => {
$('#content').val($('#content2').val());
}); });
}); });
@ -758,7 +820,7 @@ Date Author Description
}, },
{ {
header: '처리상태', header: '처리상태',
name: 'changeProcessSttusCode', name: 'regltProcessSttusCode',
width: 90, width: 90,
//editor: 'text', //editor: 'text',
sortable: true, sortable: true,
@ -776,7 +838,7 @@ Date Author Description
const tab1Columns = [ //Grid 컬럼 정보(명칭,매핑 field, 기타옵션 등) const tab1Columns = [ //Grid 컬럼 정보(명칭,매핑 field, 기타옵션 등)
{ {
header: '변경일시', header: '변경일시',
name: 'registDt1', name: 'registDt',
width: 120, width: 120,
//editor: 'text', //editor: 'text',
sortable: true, sortable: true,
@ -784,7 +846,7 @@ Date Author Description
}, },
{ {
header: '내용', header: '내용',
name: 'registDt2', name: 'allAdres',
width: 900, width: 900,
//editor: 'text', //editor: 'text',
sortable: true, sortable: true,
@ -850,7 +912,7 @@ Date Author Description
}, },
{ {
header: '발송일', header: '발송일',
name: '', name: 'sndngDt',
width: 90, width: 90,
//editor: 'text', //editor: 'text',
sortable: true, sortable: true,
@ -898,7 +960,7 @@ Date Author Description
}, },
{ {
header: '반송사유', header: '반송사유',
name: '', name: 'errorCn',
width: 90, width: 90,
//editor: 'text', //editor: 'text',
sortable: true, sortable: true,
@ -937,50 +999,50 @@ Date Author Description
align: 'center' align: 'center'
} }
]; ];
const tab3Columns = [ //Grid 컬럼 정보(명칭,매핑 field, 기타옵션 등) const tab4Columns = [ //Grid 컬럼 정보(명칭,매핑 field, 기타옵션 등)
{ {
header: '등록일시', header: '등록일시',
name: 'registDt1', name: 'registDt',
width: 90,
//editor: 'text',
sortable: true,
align: 'center'
},
{
header: '요일',
name: 'registDt2',
width: 90, width: 90,
//editor: 'text', //editor: 'text',
sortable: true, sortable: true,
align: 'center' align: 'center'
}, },
// {
// header: '요일',
// name: 'registDt2',
// width: 90,
// //editor: 'text',
// sortable: true,
// align: 'center'
// },
{ {
header: '등록자', header: '등록자',
name: 'registDt3', name: 'register',
width: 90, width: 90,
//editor: 'text', //editor: 'text',
sortable: true, sortable: false,
align: 'center' align: 'center'
}, },
{ {
header: '차량번호', header: '차량번호',
name: 'registDt4', name: 'vhcleNo',
width: 90, width: 90,
//editor: 'text', //editor: 'text',
sortable: true, sortable: false,
align: 'center' align: 'center'
}, },
{ {
header: '내용', header: '내용',
name: 'registDt5', name: 'content',
width: 90, width: 90,
//editor: 'text', //editor: 'text',
sortable: true, sortable: false,
align: 'center' align: 'center'
} }
]; ];
const tab4Columns = tab3Columns.filter((_, index) => index !== 3 ); const tab3Columns = tab4Columns.filter((_, index) => index !== 3 );
//DataSource //DataSource
const tab0Datasource = { const tab0Datasource = {
@ -998,7 +1060,7 @@ Date Author Description
readData: { readData: {
url: fimsApiUrl.FIND_PAYER_ADRES_HIST url: fimsApiUrl.FIND_PAYER_ADRES_HIST
, serializer: (params) => { , serializer: (params) => {
return fnAddPageInfo(document.frmReglt, params) return fnAddPageInfo(document.frmPayer, params)
} }
} }
} }
@ -1018,9 +1080,10 @@ Date Author Description
//initialRequest: false, // 화면 load시 조회 안함 - default //initialRequest: false, // 화면 load시 조회 안함 - default
api: { api: {
readData: { readData: {
url: fimsApiUrl.FIND_PROCESS_STTUS_CHANGE_HIST url: fimsApiUrl.FIND_CTZN_STTEMNT_CMPLT
, serializer: (params) => { , serializer: (params) => {
return fnAddPageInfo(document.frmReglt, params); params = Object.assign(params,{gubun:0, payerId: $("#payerId").val(), regltId: '${param.regltId}'});
return fnAddPageInfo(document.frmCmplt, params);
} }
} }
} }
@ -1029,9 +1092,10 @@ Date Author Description
//initialRequest: false, // 화면 load시 조회 안함 - default //initialRequest: false, // 화면 load시 조회 안함 - default
api: { api: {
readData: { readData: {
url: fimsApiUrl.FIND_PROCESS_STTUS_CHANGE_HIST url: fimsApiUrl.FIND_CTZN_STTEMNT_CMPLT
, serializer: (params) => { , serializer: (params) => {
return fnAddPageInfo(document.frmReglt, params); params = Object.assign(params,{gubun:1, vhcleNo: $("#vhcleNo").val()});
return fnAddPageInfo(document.frmCmplt, params);
} }
} }
} }
@ -1060,46 +1124,39 @@ Date Author Description
}); });
ARR_TAP_GRID[0] = TuiGrid.of({...tab0Options, columns: tab0Columns}, tab0Datasource, (res) => { ARR_TAP_GRID[0] = TuiGrid.of({...tab0Options, columns: tab0Columns}, tab0Datasource, (res) => {
// ARR_TOTCNT[0] = res.data.pagination.totalCount; // ARR_TAP_TOTCNT[0] = res.data.pagination.totalCount;
//console.log(ARR_TAP_GRID[0].defaultOptions.data.api.readData.url);
}); });
//console.log(TuiGrid.defaultOptions.data.api.readData.url);
console.log(ARR_TAP_GRID[0]);
//TuiGrid.defaultOptions.columns = []; //컬럼 중복 초기화
// ARR_TAP_GRID[1] = TuiGrid.of({...tab0Options, el: 'grid_d1', columns: tab1Columns}, tab1Datasource, (res) => {
ARR_TAP_GRID[1] = TuiGrid.of({...tab1Options, el: 'grid_d1', columns: tab1Columns}, tab1Datasource, (res) => { ARR_TAP_GRID[1] = TuiGrid.of({...tab1Options, el: 'grid_d1', columns: tab1Columns}, tab1Datasource, (res) => {
// ARR_TAP_TOTCNT[1] = res.data.pagination.totalCount;
// ARR_TOTCNT[1] = res.data.pagination.totalCount;
console.log(res);
//console.log(ARR_TAP_GRID[1].defaultOptions.data.api.readData.url);
}); });
//console.log(TuiGrid.defaultOptions.data.api.readData.url);
console.log(ARR_TAP_GRID[1]);
// console.log(ARR_TAP_GRID[1].defaultOptions.data.api.readData.url);
//TuiGrid.defaultOptions.columns = []; //컬럼 중복 초기화
ARR_TAP_GRID[2] = TuiGrid.of({...tab1Options, el: 'grid_d2', columns: tab2Columns}, tab2Datasource, (res) => { ARR_TAP_GRID[2] = TuiGrid.of({...tab1Options, el: 'grid_d2', columns: tab2Columns}, tab2Datasource, (res) => {
// ARR_TOTCNT[2] = res.data.pagination.totalCount; // ARR_TAP_TOTCNT[2] = res.data.pagination.totalCount;
console.log(res);
//console.log(TuiGrid.defaultOptions.data.api.readData.url);
}); });
//TuiGrid.defaultOptions.columns = []; //컬럼 중복 초기화 ARR_TAP_GRID[3] = TuiGrid.of({...tab2Options, el: 'grid_m1', columns: tab3Columns}, tab3Datasource, (res) => {
ARR_TAP_GRID[3] = TuiGrid.of({...tab2Options, el: 'grid_m1', columns: tab4Columns}, tab0Datasource, (res) => { // ARR_TAP_TOTCNT[3] = res.data.pagination.totalCount;
// ARR_TOTCNT[3] = res.data.pagination.totalCount;
console.log(res); console.log(res);
ARR_TAP_GRID[3].resetData(res.data?.contents);
}); });
//TuiGrid.defaultOptions.columns = []; //컬럼 중복 초기화 ARR_TAP_GRID[4] = TuiGrid.of({...tab2Options, el: 'grid_m2', columns: tab4Columns}, tab4Datasource, (res) => {
ARR_TAP_GRID[4] = TuiGrid.of({...tab2Options, el: 'grid_m2', columns: tab3Columns}, tab0Datasource, (res) => { // ARR_TAP_TOTCNT[4] = res.data.pagination.totalCount;
// ARR_TOTCNT[4] = res.data.pagination.totalCount;
console.log(res);
}); });
//tab 클릭 이벤트
/*$("#popupTabs").on("click", "li", function(){ const gridResposeSet = (res, idx) => {
var tab = parseInt($("#popupTabs .ui-tabs-active a").attr("id")); ARR_TAP_TOTCNT[idx] = res.data.pagination.totalCount;
var tabbb = $('#popupTabs').children('div').not($('#tabs_'+tab)); $('#totCnt span').text(ARR_TAP_TOTCNT[idx]);
$('#tabs_'+tab).show(500); const gridInfo = ARR_TAP_NAV[idx]?.gridInfo;
$('#sch_tab_id').val(tab); if(gridInfo && gridInfo?.pageMove) {
//ARR_TAP_GRID[tab].refreshLayout();
});*/ let datas = res.data?.contents.map(d => {
return {content: d.content}
})
ARR_TAP_NAV[idx].resetGrid(res, datas, (pagiNavigation)=>{
ARR_TAP_NAV[idx] = pagiNavigation;
fnBiz.pagePopup(popupDiv, ARR_TAP_NAV[idx].gridInfo.curRowData);
})
}
}
} }

@ -21,6 +21,8 @@ const fimsApiUrl = {
,FIND_PROCESS_STTUS_CHANGE_HIST: '/fims/biz/cmm/findProcessSttusChangeHist.do' ,FIND_PROCESS_STTUS_CHANGE_HIST: '/fims/biz/cmm/findProcessSttusChangeHist.do'
,FIND_PAYER_ADRES_HIST: '/fims/biz/cmm/findPayerAdresHist.do' ,FIND_PAYER_ADRES_HIST: '/fims/biz/cmm/findPayerAdresHist.do'
,FIND_ELCTRN_NTIC_SNDNG: '/fims/biz/cmm/findElctrnNticSndng.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'
/** /**
* fims API URL * fims API URL

Loading…
Cancel
Save