refactor : 단속 테이블 수정

main
이범준 1 year ago
parent da0abb0395
commit a0f1d7f98a

@ -88,7 +88,7 @@ public class FimsConst {
*/ */
@Getter @Getter
@AllArgsConstructor @AllArgsConstructor
public enum RegltSeCode { public enum CrdnSeCd {
CCTV_FIX("01", "고정형CCTV") CCTV_FIX("01", "고정형CCTV")
,CCTV_DRV("02", "주행형CCTV") ,CCTV_DRV("02", "주행형CCTV")
,BUS_ONLY("07", "버스장착형CCTV") ,BUS_ONLY("07", "버스장착형CCTV")

@ -116,7 +116,7 @@ public class FimsCrackdownDTO {
/** /**
* *
*/ */
private String regltSeCode; private String crdnSeCd;
/** /**
* *
*/ */
@ -142,7 +142,7 @@ public class FimsCrackdownDTO {
@Builder @Builder
public static class AnsRequest { public static class AnsRequest {
private String crdnId; private String crdnId;
private String regltSeCode; private String crdnSeCd;
private String extrlRegltCntcId; private String extrlRegltCntcId;
// 민원심사 마스터 / 상세 key // 민원심사 마스터 / 상세 key

@ -40,7 +40,7 @@ public class NtriDTO {
/** /**
* *
*/ */
private String regltSeCode; private String crdnSeCd;
/** /**
* ID * ID
*/ */
@ -80,7 +80,7 @@ public class NtriDTO {
*/ */
@NotEmpty @NotEmpty
@Size(min = 2, max = 2, message = "단속구분") @Size(min = 2, max = 2, message = "단속구분")
private String regltSeCode; private String crdnSeCd;
/** /**
* : 10 * : 10
* *
@ -221,8 +221,8 @@ public class NtriDTO {
this.vhrno = StringUtils.rightPad(nvl(vhrno), 30, " "); this.vhrno = StringUtils.rightPad(nvl(vhrno), 30, " ");
} }
public void setRegltSeCode(String regltSeCode) { public void setCrdnSeCd(String crdnSeCd) {
this.regltSeCode = StringUtils.rightPad(nvl(regltSeCode), 2, ""); this.crdnSeCd = StringUtils.rightPad(nvl(crdnSeCd), 2, "");
} }
public void setRegltEqpmnManageNo(String regltEqpmnManageNo) { public void setRegltEqpmnManageNo(String regltEqpmnManageNo) {
@ -289,7 +289,7 @@ public class NtriDTO {
final StringBuilder sb = new StringBuilder(); final StringBuilder sb = new StringBuilder();
sb.append(crdnYmdTime).append('|'); sb.append(crdnYmdTime).append('|');
sb.append(vhrno).append('|'); sb.append(vhrno).append('|');
sb.append(regltSeCode).append('|'); sb.append(crdnSeCd).append('|');
sb.append(regltEqpmnManageNo).append('|'); sb.append(regltEqpmnManageNo).append('|');
sb.append(violtDtlsCode).append('|'); sb.append(violtDtlsCode).append('|');

@ -69,9 +69,9 @@ public class CctvBusOnlyCrackDownServiceBean implements ExtrStrategyService {
// extrRegltDTO.setSggCd(getUserInfo().getPstinstCode()); // extrRegltDTO.setSggCd(getUserInfo().getPstinstCode());
// //
// if(records.size() >= 3){ // if(records.size() >= 3){
// extrRegltDTO.setRegltSeCode(FimsConst.RegltSeCode.CCTV_DRV.getCode()); // extrRegltDTO.setCrdnSeCd(FimsConst.CrdnSeCd.CCTV_DRV.getCode());
// }else{ // }else{
// extrRegltDTO.setRegltSeCode(FimsConst.RegltSeCode.CCTV_FIX.getCode()); // extrRegltDTO.setCrdnSeCd(FimsConst.CrdnSeCd.CCTV_FIX.getCode());
// } // }
// // 외부연계 데이타 생성 // // 외부연계 데이타 생성
// //mapper.insertEcExtrlRegltCntc(extrRegltDTO); // //mapper.insertEcExtrlRegltCntc(extrRegltDTO);
@ -79,7 +79,7 @@ public class CctvBusOnlyCrackDownServiceBean implements ExtrStrategyService {
// // CCTV image 저장 // // CCTV image 저장
// List<MultipartFile> cpListMf = new ArrayList<>(mfList); // List<MultipartFile> cpListMf = new ArrayList<>(mfList);
// cpListMf.remove(0); // cpListMf.remove(0);
// cmmFileService.saveFiles(getFileMst(extrRegltDTO.getRegltSeCode(), extrRegltDTO.getExtrlRegltCntcId()), cpListMf); // cmmFileService.saveFiles(getFileMst(extrRegltDTO.getCrdnSeCd(), extrRegltDTO.getExtrlRegltCntcId()), cpListMf);
} }
} }

@ -84,7 +84,7 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
if(Checks.isNotEmpty(infoDTO.getRtpyrId())){ if(Checks.isNotEmpty(infoDTO.getRtpyrId())){
rtpyrDTO = rtCrackdownMgtMapper.selectRtRtpyr(infoDTO.getRtpyrId()); rtpyrDTO = rtCrackdownMgtMapper.selectRtRtpyr(infoDTO.getRtpyrId());
} }
if(Objects.equals(reqDTO.getRegltSeCode(), FimsConst.RegltSeCode.CITIZEN.getCode())){ if(Objects.equals(reqDTO.getCrdnSeCd(), FimsConst.CrdnSeCd.CITIZEN.getCode())){
ctznDTO = mapper.selectCtznStmtInfo(reqDTO); ctznDTO = mapper.selectCtznStmtInfo(reqDTO);
} }
} }
@ -135,7 +135,7 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
// 2. 외부연계정보 반영 : // 2. 외부연계정보 반영 :
if(!FimsConst.RegltSeCode.CITIZEN.getCode().equals(saveDTO.getRegltSeCode()) if(!FimsConst.CrdnSeCd.CITIZEN.getCode().equals(saveDTO.getCrdnSeCd())
&& Checks.isNotEmpty(saveDTO.getExtrlRegltCntcId())){ && Checks.isNotEmpty(saveDTO.getExtrlRegltCntcId())){
@ -143,7 +143,7 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
} }
// 시민신고인 경우 // 시민신고인 경우
if(FimsConst.RegltSeCode.CITIZEN.getCode().equals(saveDTO.getRegltSeCode()) if(FimsConst.CrdnSeCd.CITIZEN.getCode().equals(saveDTO.getCrdnSeCd())
&& (Checks.isNotEmpty(saveDTO.getInterfaceSeqN()) && Checks.isNotEmpty(saveDTO.getCtznSttemntDetailSn()))) { && (Checks.isNotEmpty(saveDTO.getInterfaceSeqN()) && Checks.isNotEmpty(saveDTO.getCtznSttemntDetailSn()))) {
ctznDTO.setVhrno(infoDTO.getVhrno()); ctznDTO.setVhrno(infoDTO.getVhrno());
ctznDTO.setMdfr(getUserInfo().getUniqId()); ctznDTO.setMdfr(getUserInfo().getUniqId());
@ -203,7 +203,7 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
} }
// 2. 외부연계정보 반영 : // 2. 외부연계정보 반영 :
if(!FimsConst.RegltSeCode.CITIZEN.getCode().equals(saveDTO.getRegltSeCode()) if(!FimsConst.CrdnSeCd.CITIZEN.getCode().equals(saveDTO.getCrdnSeCd())
&& Checks.isNotEmpty(saveDTO.getExtrlRegltCntcId())){ && Checks.isNotEmpty(saveDTO.getExtrlRegltCntcId())){
@ -211,7 +211,7 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
} }
// 시민신고인 경우 // 시민신고인 경우
if(FimsConst.RegltSeCode.CITIZEN.getCode().equals(saveDTO.getRegltSeCode()) if(FimsConst.CrdnSeCd.CITIZEN.getCode().equals(saveDTO.getCrdnSeCd())
&& (Checks.isNotEmpty(saveDTO.getInterfaceSeqN()) && Checks.isNotEmpty(saveDTO.getCtznSttemntDetailSn()))) { && (Checks.isNotEmpty(saveDTO.getInterfaceSeqN()) && Checks.isNotEmpty(saveDTO.getCtznSttemntDetailSn()))) {
ctznDTO.setVhrno(infoDTO.getVhrno()); ctznDTO.setVhrno(infoDTO.getVhrno());
@ -264,7 +264,7 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
rtCrackdownMgtMapper.insertRtErpp(erppDTO); rtCrackdownMgtMapper.insertRtErpp(erppDTO);
// 시민신고인 경우 // 시민신고인 경우
if(FimsConst.RegltSeCode.CITIZEN.getCode().equals(saveDTO.getRegltSeCode()) if(FimsConst.CrdnSeCd.CITIZEN.getCode().equals(saveDTO.getCrdnSeCd())
&& (Checks.isNotEmpty(saveDTO.getInterfaceSeqN()) && Checks.isNotEmpty(saveDTO.getCtznSttemntDetailSn()))) { && (Checks.isNotEmpty(saveDTO.getInterfaceSeqN()) && Checks.isNotEmpty(saveDTO.getCtznSttemntDetailSn()))) {
ecCtznSttemntMapper.updateVhrnoOfEcCtznSttemntDetail( ecCtznSttemntMapper.updateVhrnoOfEcCtznSttemntDetail(
CtznStmtDTO.Dtl.builder() CtznStmtDTO.Dtl.builder()
@ -445,7 +445,7 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
List<CmmFileDTO.FileDtl> fileDtlList = cmmFileService.findFilesByJobSeCodeAndJobId( List<CmmFileDTO.FileDtl> fileDtlList = cmmFileService.findFilesByJobSeCodeAndJobId(
CmmFileDTO.FileMst.builder() CmmFileDTO.FileMst.builder()
.jobSeCode(FimsBizUtils.getFileJobSeCode(param.getRegltSeCode())) .jobSeCode(FimsBizUtils.getFileJobSeCode(param.getCrdnSeCd()))
.fileJobId(param.getExtnlInterfaceId()) .fileJobId(param.getExtnlInterfaceId())
.build()); .build());
@ -453,7 +453,7 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
param, param,
layoutDto, layoutDto,
fileDtlList, fileDtlList,
FimsBizUtils.getSendNtriPhotoInterfaceFileName(param.getRegltSeCode()), FimsBizUtils.getSendNtriPhotoInterfaceFileName(param.getCrdnSeCd()),
uploadRootPath, uploadRootPath,
sendFilePath, sendFilePath,
uploadTempPath uploadTempPath

@ -64,14 +64,14 @@ public class FimsCrackDownMgtController extends AbstractController {
}else if(Objects.equals(FimsConst.RegltProcessSttusCode.CRACKDOWN.getCode(), dto.getRegltProcessSttusCode())) { }else if(Objects.equals(FimsConst.RegltProcessSttusCode.CRACKDOWN.getCode(), dto.getRegltProcessSttusCode())) {
mav.addObject("pageTitle", "과태료 시스템 등록"); mav.addObject("pageTitle", "과태료 시스템 등록");
} }
FimsConst.RegltSeCode regltSeCodeEnum = null; FimsConst.CrdnSeCd crdnSeCdEnum = null;
for (FimsConst.RegltSeCode e : FimsConst.RegltSeCode.values()) { for (FimsConst.CrdnSeCd e : FimsConst.CrdnSeCd.values()) {
if (e.getCode().equals(dto.getRegltSeCode())) { if (e.getCode().equals(dto.getCrdnSeCd())) {
regltSeCodeEnum = e; crdnSeCdEnum = e;
break; break;
} }
} }
mav.addObject("txtTitle", Objects.requireNonNull(regltSeCodeEnum, "초기자료 편집").getDesc()); mav.addObject("txtTitle", Objects.requireNonNull(crdnSeCdEnum, "초기자료 편집").getDesc());
mav.setViewName(FimsConst.FIMS_JSP_BASE_PATH + "cmm/cmmFimsCrackdownEditPopup.popup"); mav.setViewName(FimsConst.FIMS_JSP_BASE_PATH + "cmm/cmmFimsCrackdownEditPopup.popup");
return mav; return mav;

@ -115,7 +115,7 @@ public class CctvCrackdownDTO {
/** /**
* : 01-CCTV, 02-CCTV, 07-CCTV, 09-() * : 01-CCTV, 02-CCTV, 07-CCTV, 09-()
*/ */
private String regltSeCode; private String crdnSeCd;
/** /**
* *
*/ */
@ -247,7 +247,7 @@ public class CctvCrackdownDTO {
private String crdnId; private String crdnId;
private String erppId; private String erppId;
private String regltSeCode; private String crdnSeCd;
private String crdnInptSeCd; private String crdnInptSeCd;
private String crdnRegSeCd; private String crdnRegSeCd;

@ -340,7 +340,7 @@ public class CtznStmtDTO { //extends ExtlEsbDataType {
//private String pkPrefix = FimsConst.PkPrefix.CTZ.getCode(); //private String pkPrefix = FimsConst.PkPrefix.CTZ.getCode();
private String jobSeCode = FimsConst.FileJobSeCode.NATL_NEWS_PAPER_RCV.getCode(); private String jobSeCode = FimsConst.FileJobSeCode.NATL_NEWS_PAPER_RCV.getCode();
private String crdnInptSeCd = FimsConst.CrdnInptSeCd.CITIZEN.getCode(); private String crdnInptSeCd = FimsConst.CrdnInptSeCd.CITIZEN.getCode();
private String regltSeCode; private String crdnSeCd;
private String regltProcessSttusCode; private String regltProcessSttusCode;

@ -130,9 +130,9 @@ public class EcCctvCrackdownServiceBean extends AbstractServiceBean implements E
extrDTO.setSggCd(getUserInfo().getPstinstCode()); extrDTO.setSggCd(getUserInfo().getPstinstCode());
if(records.size() >= 3){ if(records.size() >= 3){
extrDTO.setRegltSeCode(FimsConst.RegltSeCode.CCTV_DRV.getCode()); extrDTO.setCrdnSeCd(FimsConst.CrdnSeCd.CCTV_DRV.getCode());
}else{ }else{
extrDTO.setRegltSeCode(FimsConst.RegltSeCode.CCTV_FIX.getCode()); extrDTO.setCrdnSeCd(FimsConst.CrdnSeCd.CCTV_FIX.getCode());
} }
// 외부연계 데이타 생성 // 외부연계 데이타 생성
mapper.insertEcExtrlRegltCntc(extrDTO); mapper.insertEcExtrlRegltCntc(extrDTO);
@ -140,7 +140,7 @@ public class EcCctvCrackdownServiceBean extends AbstractServiceBean implements E
// CCTV image 저장 // CCTV image 저장
List<MultipartFile> cpListMf = new ArrayList<>(mfList); List<MultipartFile> cpListMf = new ArrayList<>(mfList);
cpListMf.remove(0); cpListMf.remove(0);
cmmFileService.saveFiles(getFileMst(extrDTO.getRegltSeCode(), extrDTO.getExtrlRegltCntcId()), cpListMf); cmmFileService.saveFiles(getFileMst(extrDTO.getCrdnSeCd(), extrDTO.getExtrlRegltCntcId()), cpListMf);
// 단속 데이타 생성 - 단속이미지가 처리후(단속이미지 갯수 count) // 단속 데이타 생성 - 단속이미지가 처리후(단속이미지 갯수 count)
CctvCrackdownDTO.Request reqDTO = getRequestDTO(extrDTO); CctvCrackdownDTO.Request reqDTO = getRequestDTO(extrDTO);
@ -201,14 +201,14 @@ public class EcCctvCrackdownServiceBean extends AbstractServiceBean implements E
.regltEqpmnManageNo(busOnlyDTO.getRegltEquip()) .regltEqpmnManageNo(busOnlyDTO.getRegltEquip())
.rgtr(getUserInfo().getUniqId()) .rgtr(getUserInfo().getUniqId())
.build(); .build();
extrDTO.setRegltSeCode(FimsConst.RegltSeCode.BUS_ONLY.getCode()); extrDTO.setCrdnSeCd(FimsConst.CrdnSeCd.BUS_ONLY.getCode());
extrDTO.setExtrlRegltCntcProcessSttus(FimsConst.CtznStmtDtlStsCode.ACCEPTANCE.getCode()); extrDTO.setExtrlRegltCntcProcessSttus(FimsConst.CtznStmtDtlStsCode.ACCEPTANCE.getCode());
// 외부연계 데이타 생성 // 외부연계 데이타 생성
mapper.insertEcExtrlRegltCntc(extrDTO); mapper.insertEcExtrlRegltCntc(extrDTO);
// CCTV 이미지 저장 // CCTV 이미지 저장
CmmFileDTO.FileMst fileMstDTO = CmmFileDTO.FileMst.builder() CmmFileDTO.FileMst fileMstDTO = CmmFileDTO.FileMst.builder()
.jobSeCode(FimsBizUtils.getFileJobSeCode(extrDTO.getRegltSeCode())) .jobSeCode(FimsBizUtils.getFileJobSeCode(extrDTO.getCrdnSeCd()))
.fileJobId(extrDTO.getExtrlRegltCntcId()) .fileJobId(extrDTO.getExtrlRegltCntcId())
.uploadeJobPath(uploadBusCctvPath) .uploadeJobPath(uploadBusCctvPath)
.fileDirPath(FimsConst.FileDirDepth.DAY.getCode()) .fileDirPath(FimsConst.FileDirDepth.DAY.getCode())
@ -261,7 +261,7 @@ public class EcCctvCrackdownServiceBean extends AbstractServiceBean implements E
@Override @Override
@Transactional @Transactional
public void saveRtReglt(final CctvCrackdownDTO.Request dto) { public void saveRtReglt(final CctvCrackdownDTO.Request dto) {
dto.setJobSeCode(FimsBizUtils.getFileJobSeCode(dto.getRegltSeCode())); dto.setJobSeCode(FimsBizUtils.getFileJobSeCode(dto.getCrdnSeCd()));
dto.setRegltProcessSttusCode(FimsConst.RegltProcessSttusCode.CRACKDOWN_INIT.getCode()); dto.setRegltProcessSttusCode(FimsConst.RegltProcessSttusCode.CRACKDOWN_INIT.getCode());
dto.setRgtr(getUserInfo().getUniqId()); dto.setRgtr(getUserInfo().getUniqId());
mapper.insertRtRegltFromEcExtrRegltCntc(dto); mapper.insertRtRegltFromEcExtrRegltCntc(dto);
@ -278,7 +278,7 @@ public class EcCctvCrackdownServiceBean extends AbstractServiceBean implements E
@Transactional @Transactional
public void saveRtErpp(final CctvCrackdownDTO.Request dto) { public void saveRtErpp(final CctvCrackdownDTO.Request dto) {
// 단속테이블 // 단속테이블
dto.setJobSeCode(FimsBizUtils.getFileJobSeCode(dto.getRegltSeCode())); dto.setJobSeCode(FimsBizUtils.getFileJobSeCode(dto.getCrdnSeCd()));
dto.setRegltProcessSttusCode(FimsConst.RegltProcessSttusCode.DISALLOW.getCode()); dto.setRegltProcessSttusCode(FimsConst.RegltProcessSttusCode.DISALLOW.getCode());
dto.setRgtr(getUserInfo().getUniqId()); dto.setRgtr(getUserInfo().getUniqId());
mapper.insertRtRegltFromEcExtrRegltCntc(dto); mapper.insertRtRegltFromEcExtrRegltCntc(dto);
@ -335,9 +335,9 @@ public class EcCctvCrackdownServiceBean extends AbstractServiceBean implements E
.builder() .builder()
.extrlRegltCntcId(extrDTO.getExtrlRegltCntcId()) .extrlRegltCntcId(extrDTO.getExtrlRegltCntcId())
.crdnId(extrDTO.getCrdnId()) .crdnId(extrDTO.getCrdnId())
.regltSeCode(extrDTO.getRegltSeCode()) .crdnSeCd(extrDTO.getCrdnSeCd())
.crdnInptSeCd(extrDTO.getCrdnInptSeCd()) .crdnInptSeCd(extrDTO.getCrdnInptSeCd())
.jobSeCode(FimsBizUtils.getFileJobSeCode(extrDTO.getRegltSeCode())) .jobSeCode(FimsBizUtils.getFileJobSeCode(extrDTO.getCrdnSeCd()))
.crdnRegSeCd(FimsConst.CrdnRegSeCd.AUTO_REGIST.getCode()) .crdnRegSeCd(FimsConst.CrdnRegSeCd.AUTO_REGIST.getCode())
.regltProcessSttusCode(FimsConst.RegltProcessSttusCode.CRACKDOWN_INIT.getCode()) .regltProcessSttusCode(FimsConst.RegltProcessSttusCode.CRACKDOWN_INIT.getCode())
.regltPlace(extrDTO.getRegltPlace()) .regltPlace(extrDTO.getRegltPlace())
@ -349,14 +349,14 @@ public class EcCctvCrackdownServiceBean extends AbstractServiceBean implements E
.build(); .build();
} }
private CmmFileDTO.FileMst getFileMst(final String regltSeCode, final String fileJobId) { private CmmFileDTO.FileMst getFileMst(final String crdnSeCd, final String fileJobId) {
return CmmFileDTO.FileMst.builder() return CmmFileDTO.FileMst.builder()
.jobSeCode( .jobSeCode(
Objects.equals(regltSeCode, FimsConst.RegltSeCode.CCTV_DRV.getCode())? Objects.equals(crdnSeCd, FimsConst.CrdnSeCd.CCTV_DRV.getCode())?
FimsConst.FileJobSeCode.CCTV_DRV.getCode() FimsConst.FileJobSeCode.CCTV_DRV.getCode()
: FimsConst.FileJobSeCode.CCTV_FIX.getCode()) : FimsConst.FileJobSeCode.CCTV_FIX.getCode())
.fileJobId(fileJobId) .fileJobId(fileJobId)
.uploadeJobPath(Objects.equals(regltSeCode, FimsConst.RegltSeCode.CCTV_DRV.getCode())? .uploadeJobPath(Objects.equals(crdnSeCd, FimsConst.CrdnSeCd.CCTV_DRV.getCode())?
uploadCctvDrvPath uploadCctvDrvPath
: uploadCctvFixPath) : uploadCctvFixPath)
.fileDirPath(FimsConst.FileDirDepth.DAY.getCode()) .fileDirPath(FimsConst.FileDirDepth.DAY.getCode())

@ -102,7 +102,7 @@ public class EcCtznSttemntServiceBean extends AbstractServiceBean implements EcC
@Transactional @Transactional
public void saveRtReglt(final CtznStmtDTO.Request dto) { public void saveRtReglt(final CtznStmtDTO.Request dto) {
// 단속테이블 // 단속테이블
dto.setRegltSeCode(FimsConst.RegltSeCode.CITIZEN.getCode()); dto.setCrdnSeCd(FimsConst.CrdnSeCd.CITIZEN.getCode());
dto.setRegltProcessSttusCode(FimsConst.RegltProcessSttusCode.CRACKDOWN_INIT.getCode()); dto.setRegltProcessSttusCode(FimsConst.RegltProcessSttusCode.CRACKDOWN_INIT.getCode());
dto.setRgtr(getUserInfo().getUniqId()); dto.setRgtr(getUserInfo().getUniqId());
mapper.insertRtRegltFromCtznStmt(dto); mapper.insertRtRegltFromCtznStmt(dto);
@ -124,7 +124,7 @@ public class EcCtznSttemntServiceBean extends AbstractServiceBean implements EcC
@Transactional @Transactional
public void saveRtErpp(final CtznStmtDTO.Request dto) { public void saveRtErpp(final CtznStmtDTO.Request dto) {
// 단속테이블 // 단속테이블
dto.setRegltSeCode(FimsConst.RegltSeCode.CITIZEN.getCode()); dto.setCrdnSeCd(FimsConst.CrdnSeCd.CITIZEN.getCode());
dto.setRgtr(getUserInfo().getUniqId()); dto.setRgtr(getUserInfo().getUniqId());
dto.setRegltProcessSttusCode(FimsConst.RegltProcessSttusCode.DISALLOW.getCode()); dto.setRegltProcessSttusCode(FimsConst.RegltProcessSttusCode.DISALLOW.getCode());
mapper.insertRtRegltFromCtznStmt(dto); mapper.insertRtRegltFromCtznStmt(dto);

@ -144,7 +144,7 @@ public class EcNatlNewspaperServiceBean extends AbstractServiceBean implements E
CtznStmtDTO.Request reqDTO = CtznStmtDTO.Request CtznStmtDTO.Request reqDTO = CtznStmtDTO.Request
.builder() .builder()
.crdnInptSeCd(FimsConst.CrdnInptSeCd.CITIZEN.getCode()) .crdnInptSeCd(FimsConst.CrdnInptSeCd.CITIZEN.getCode())
.regltSeCode(FimsConst.RegltSeCode.CITIZEN.getCode()) .crdnSeCd(FimsConst.CrdnSeCd.CITIZEN.getCode())
.jobSeCode(FimsConst.FileJobSeCode.NATL_NEWS_PAPER_RCV.getCode()) .jobSeCode(FimsConst.FileJobSeCode.NATL_NEWS_PAPER_RCV.getCode())
.interfaceSeqN(dtl.getInterfaceSeqN()) .interfaceSeqN(dtl.getInterfaceSeqN())
.ctznSttemntDetailSn(dtl.getCtznSttemntDetailSn()) .ctznSttemntDetailSn(dtl.getCtznSttemntDetailSn())

@ -61,7 +61,7 @@ public class EcCctvCrackdownController extends AbstractController {
mav.addObject("extrDTO", service.findExtrlRegltCntc(dto.getExtrlRegltCntcId())); mav.addObject("extrDTO", service.findExtrlRegltCntc(dto.getExtrlRegltCntcId()));
mav.addObject("attchFiles", fileService.findFilesByJobSeCodeAndJobId( mav.addObject("attchFiles", fileService.findFilesByJobSeCodeAndJobId(
CmmFileDTO.FileMst.builder() CmmFileDTO.FileMst.builder()
.jobSeCode(FimsBizUtils.getFileJobSeCode(dto.getRegltSeCode())) .jobSeCode(FimsBizUtils.getFileJobSeCode(dto.getCrdnSeCd()))
.fileJobId(dto.getExtrlRegltCntcId()) .fileJobId(dto.getExtrlRegltCntcId())
.build())); .build()));
return mav; return mav;
@ -78,7 +78,7 @@ public class EcCctvCrackdownController extends AbstractController {
mav.addObject("extrDTO", service.findExtrlRegltCntc(dto)); mav.addObject("extrDTO", service.findExtrlRegltCntc(dto));
mav.addObject("attchFiles", fileService.findFilesByJobSeCodeAndJobId( mav.addObject("attchFiles", fileService.findFilesByJobSeCodeAndJobId(
CmmFileDTO.FileMst.builder() CmmFileDTO.FileMst.builder()
.jobSeCode(FimsBizUtils.getFileJobSeCode(dto.getRegltSeCode())) .jobSeCode(FimsBizUtils.getFileJobSeCode(dto.getCrdnSeCd()))
.fileJobId(dto.getExtrlRegltCntcId()) .fileJobId(dto.getExtrlRegltCntcId())
.build())); .build()));
return mav; return mav;
@ -156,11 +156,11 @@ public class EcCctvCrackdownController extends AbstractController {
} }
@RequestMapping(name = "", value = "/findExtrlRegltCntcAttchFiles") @RequestMapping(name = "", value = "/findExtrlRegltCntcAttchFiles")
public ModelAndView findExtrlRegltCntcAttchFiles(final String extrlRegltCntcId, final String regltSeCode) { public ModelAndView findExtrlRegltCntcAttchFiles(final String extrlRegltCntcId, final String crdnSeCd) {
return ResultResponse.of( return ResultResponse.of(
fileService.findFilesByJobSeCodeAndJobId( fileService.findFilesByJobSeCodeAndJobId(
CmmFileDTO.FileMst.builder() CmmFileDTO.FileMst.builder()
.jobSeCode(FimsBizUtils.getFileJobSeCode(regltSeCode)) .jobSeCode(FimsBizUtils.getFileJobSeCode(crdnSeCd))
.fileJobId(extrlRegltCntcId) .fileJobId(extrlRegltCntcId)
.build()).stream() .build()).stream()
.filter(dtl -> !Objects.equals("png", dtl.getFileExtsn())) .filter(dtl -> !Objects.equals("png", dtl.getFileExtsn()))
@ -169,11 +169,11 @@ public class EcCctvCrackdownController extends AbstractController {
} }
@RequestMapping(name = "", value = "/sendEcExtrlCrackdownRespons") @RequestMapping(name = "", value = "/sendEcExtrlCrackdownRespons")
public ModelAndView sendEcExtrlCrackdownRespons(final String extrlRegltCntcId, final String regltSeCode) { public ModelAndView sendEcExtrlCrackdownRespons(final String extrlRegltCntcId, final String crdnSeCd) {
return ResultResponse.of( return ResultResponse.of(
fileService.findFilesByJobSeCodeAndJobId( fileService.findFilesByJobSeCodeAndJobId(
CmmFileDTO.FileMst.builder() CmmFileDTO.FileMst.builder()
.jobSeCode(FimsBizUtils.getFileJobSeCode(regltSeCode)) .jobSeCode(FimsBizUtils.getFileJobSeCode(crdnSeCd))
.fileJobId(extrlRegltCntcId) .fileJobId(extrlRegltCntcId)
.build()).stream() .build()).stream()
.filter(dtl -> !Objects.equals("png", dtl.getFileExtsn())) .filter(dtl -> !Objects.equals("png", dtl.getFileExtsn()))

@ -38,7 +38,7 @@ public class RtDTO {
/** /**
* *
*/ */
private String regltSeCode; private String crdnSeCd;
/** /**
* *
*/ */
@ -628,7 +628,7 @@ public class RtDTO {
/** /**
* *
*/ */
private String regltSeCode; private String crdnSeCd;
/** /**
* *
*/ */

@ -77,7 +77,7 @@ public class RtCrackdownMgtServiceBean extends AbstractServiceBean implements Rt
@Override @Override
public List<CmmFileDTO.FileDtl> findRtRegltAttchFiles(final RtDTO.Request dto) { public List<CmmFileDTO.FileDtl> findRtRegltAttchFiles(final RtDTO.Request dto) {
dto.setJobSeCode(FimsBizUtils.getFileJobSeCode(dto.getRegltSeCode())); dto.setJobSeCode(FimsBizUtils.getFileJobSeCode(dto.getCrdnSeCd()));
return mapper.selectRtRegltAttchFiles(dto); return mapper.selectRtRegltAttchFiles(dto);
} }
} }

@ -21,25 +21,25 @@ public class FimsBizUtils {
} }
public static String getFileJobSeCode(String regltSeCode) { public static String getFileJobSeCode(String crdnSeCd) {
// 01 - 고정형CCTV // 01 - 고정형CCTV
if(Objects.equals(regltSeCode, "01"))//FimsConst.FileJobSeCode.CCTV_FIX)) if(Objects.equals(crdnSeCd, "01"))//FimsConst.FileJobSeCode.CCTV_FIX))
return FimsConst.FileJobSeCode.CCTV_FIX.getCode(); return FimsConst.FileJobSeCode.CCTV_FIX.getCode();
// 02 - 주행형CCTV // 02 - 주행형CCTV
if(Objects.equals(regltSeCode, "02"))//FimsConst.FileJobSeCode.CCTV_DRV)) if(Objects.equals(crdnSeCd, "02"))//FimsConst.FileJobSeCode.CCTV_DRV))
return FimsConst.FileJobSeCode.CCTV_DRV.getCode(); return FimsConst.FileJobSeCode.CCTV_DRV.getCode();
// 03 - 버스장착형CCTV // 03 - 버스장착형CCTV
if(Objects.equals(regltSeCode, "07"))//FimsConst.FileJobSeCode.BUS_ONLY)) if(Objects.equals(crdnSeCd, "07"))//FimsConst.FileJobSeCode.BUS_ONLY))
return FimsConst.FileJobSeCode.BUS_ONLY.getCode(); return FimsConst.FileJobSeCode.BUS_ONLY.getCode();
if(Objects.equals(regltSeCode, "09"))//FimsConst.FileJobSeCode.BUS_ONLY)) if(Objects.equals(crdnSeCd, "09"))//FimsConst.FileJobSeCode.BUS_ONLY))
return FimsConst.FileJobSeCode.NATL_NEWS_PAPER_RCV.getCode(); return FimsConst.FileJobSeCode.NATL_NEWS_PAPER_RCV.getCode();
throw BizRuntimeException.create(MessageKey.CUSTOM_MSG, "데이타 오류[파일정보를 확인해 주세요"); throw BizRuntimeException.create(MessageKey.CUSTOM_MSG, "데이타 오류[파일정보를 확인해 주세요");
} }
public static String getSendNtriPhotoInterfaceFileName(String regltSeCode) { public static String getSendNtriPhotoInterfaceFileName(String crdnSeCd) {
switch (regltSeCode){ switch (crdnSeCd){
// 고정형CCTV // 고정형CCTV
case "01": case "01":
// 이동형CCTV // 이동형CCTV

@ -10,7 +10,7 @@
, trr.rtpyr_id -- 납부자ID , trr.rtpyr_id -- 납부자ID
, trr.sgg_cd -- 기관코드 , trr.sgg_cd -- 기관코드
, trr.sys_se_cd -- 시스템코드 , trr.sys_se_cd -- 시스템코드
, trr.reglt_se_code -- 단속구분코드 , trr.crdn_se_cd -- 단속구분코드
, trr.crdn_inpt_se_cd -- 입력구분코드 , trr.crdn_inpt_se_cd -- 입력구분코드
, trr.crdn_ymd , trr.crdn_ymd
, trr.reglt_begin_time -- 단속시작시간 , trr.reglt_begin_time -- 단속시작시간
@ -62,7 +62,7 @@
, trp.adres , trp.adres
, trp.detail_adres , trp.detail_adres
, trp.stdg_cd -- 법정동 코드 , trp.stdg_cd -- 법정동 코드
, IF(trr.reglt_se_code = '09', tecsd.violt_dtls_nm, teerc.violt_dtls_nm) AS violtDtlsNm -- 위반내용 , IF(trr.crdn_se_cd = '09', tecsd.violt_dtls_nm, teerc.violt_dtls_nm) AS violtDtlsNm -- 위반내용
, (SELECT COUNT(crdn_id) , (SELECT COUNT(crdn_id)
FROM tb_rt_reglt tgt FROM tb_rt_reglt tgt
WHERE tgt.vhrno = trr.vhrno WHERE tgt.vhrno = trr.vhrno
@ -126,14 +126,14 @@
<if test='sysSeCd != null and sysSeCd != ""'> <if test='sysSeCd != null and sysSeCd != ""'>
AND trr.sys_se_cd = #{sysSeCd} AND trr.sys_se_cd = #{sysSeCd}
</if> </if>
<if test='regltSeCode != null and regltSeCode != ""'> <if test='crdnSeCd != null and crdnSeCd != ""'>
AND trr.reglt_se_code = #{regltSeCode} AND trr.crdn_se_cd = #{crdnSeCd}
</if> </if>
<if test='crdnRegSeCd != null and crdnRegSeCd != ""'> <if test='crdnRegSeCd != null and crdnRegSeCd != ""'>
AND trr.crdn_reg_se_cd = #{crdnRegSeCd} AND trr.crdn_reg_se_cd = #{crdnRegSeCd}
</if> </if>
</where> </where>
ORDER BY trr.sys_se_cd, trr.reglt_se_code ORDER BY trr.sys_se_cd, trr.crdn_se_cd
, teerc.extrl_reglt_cntc_id , teerc.extrl_reglt_cntc_id
, tecsd.interface_seq_n, tecsd.ctzn_sttemnt_detail_sn , tecsd.interface_seq_n, tecsd.ctzn_sttemnt_detail_sn
, trr.crdn_ymd, trr.vhrno, trr.reglt_begin_time , trr.crdn_ymd, trr.vhrno, trr.reglt_begin_time
@ -189,7 +189,7 @@
<update id="updateRtReglt"> <update id="updateRtReglt">
/* cmm-fims-crackdown-mysql-mapper|updateRtReglt-단속 정보 초기 자료 반영|julim */ /* cmm-fims-crackdown-mysql-mapper|updateRtReglt-단속 정보 초기 자료 반영|julim */
UPDATE tb_rt_reglt UPDATE tb_rt_reglt
SET reglt_se_code = IF(reglt_se_code = #{regltSeCode}, reglt_se_code, #{regltSeCode}) SET crdn_se_cd = IF(crdn_se_cd = #{crdnSeCd}, crdn_se_cd, #{crdnSeCd})
, crdn_reg_se_cd = IF(crdn_reg_se_cd = #{crdnRegSeCd}, crdn_reg_se_cd, #{crdnRegSeCd}) , crdn_reg_se_cd = IF(crdn_reg_se_cd = #{crdnRegSeCd}, crdn_reg_se_cd, #{crdnRegSeCd})
, sys_se_cd = IF(sys_se_cd = #{sysSeCd}, sys_se_cd, #{sysSeCd}) , sys_se_cd = IF(sys_se_cd = #{sysSeCd}, sys_se_cd, #{sysSeCd})
, crdn_ymd = IF(crdn_ymd = REPLACE(#{crdnYmd}, '-', ''), crdn_ymd, REPLACE(#{crdnYmd}, '-', '')) , crdn_ymd = IF(crdn_ymd = REPLACE(#{crdnYmd}, '-', ''), crdn_ymd, REPLACE(#{crdnYmd}, '-', ''))
@ -458,7 +458,7 @@
/* cmm-fims-crackdown-mysql-mapper|selectCrackdownPhotoLayout-주정차/전용차로 단속사진전송 정보 레이아웃 조회|julim */ /* cmm-fims-crackdown-mysql-mapper|selectCrackdownPhotoLayout-주정차/전용차로 단속사진전송 정보 레이아웃 조회|julim */
SELECT CONCAT(trr.crdn_ymd, trr.reglt_begin_time) AS crdnYmdTime -- 단속일시 SELECT CONCAT(trr.crdn_ymd, trr.reglt_begin_time) AS crdnYmdTime -- 단속일시
, trr.vhrno -- 차량번호 , trr.vhrno -- 차량번호
, trr.reglt_se_code -- 단속구분코드 , trr.crdn_se_cd -- 단속구분코드
, teerc.reglt_eqpmn_manage_no -- 단속장비관리번호 , teerc.reglt_eqpmn_manage_no -- 단속장비관리번호
, trr.violt_dtls_code -- 위반내역코드 , trr.violt_dtls_code -- 위반내역코드
, trr.violt_dtls_etc_cn -- 위반내역기타내용 , trr.violt_dtls_etc_cn -- 위반내역기타내용

@ -209,7 +209,7 @@
crdn_id crdn_id
, sgg_cd , sgg_cd
, sys_se_cd , sys_se_cd
, reglt_se_code , crdn_se_cd
, crdn_inpt_se_cd , crdn_inpt_se_cd
, crdn_ymd , crdn_ymd
, reglt_begin_time , reglt_begin_time
@ -235,7 +235,7 @@
) SELECT ecsd.crdn_id ) SELECT ecsd.crdn_id
, ecsd.sgg_cd , ecsd.sgg_cd
, ecsd.sys_se_cd , ecsd.sys_se_cd
, #{regltSeCode} , #{crdnSeCd}
, #{crdnInptSeCd} -- 입력 구분 코드 , #{crdnInptSeCd} -- 입력 구분 코드
, SUBSTR(ecsd.crdn_ymd_time, 1, 8) , SUBSTR(ecsd.crdn_ymd_time, 1, 8)
, SUBSTR(ecsd.crdn_ymd_time, 9) -- 단속 시작 시간 , SUBSTR(ecsd.crdn_ymd_time, 9) -- 단속 시작 시간

@ -11,7 +11,7 @@
, crdn_id , crdn_id
, sgg_cd , sgg_cd
, sys_se_cd , sys_se_cd
, reglt_se_code , crdn_se_cd
, crdn_inpt_se_cd , crdn_inpt_se_cd
, vhrno , vhrno
, crdn_ymd , crdn_ymd
@ -49,8 +49,8 @@
<if test='sysSeCd != null and sysSeCd != ""'> <if test='sysSeCd != null and sysSeCd != ""'>
AND sys_se_cd = #{sysSeCd} AND sys_se_cd = #{sysSeCd}
</if> </if>
<if test='regltSeCode != null and regltSeCode != ""'> <if test='crdnSeCd != null and crdnSeCd != ""'>
AND reglt_se_code = #{regltSeCode} AND crdn_se_cd = #{crdnSeCd}
</if> </if>
<if test='regltYn != null and regltYn != ""'> <if test='regltYn != null and regltYn != ""'>
<if test='regltYn eq "Y"'> <if test='regltYn eq "Y"'>
@ -61,7 +61,7 @@
</if> </if>
</if> </if>
</where> </where>
ORDER BY sys_se_cd, reglt_se_code, crdn_ymd, crdn_id desc ORDER BY sys_se_cd, crdn_se_cd, crdn_ymd, crdn_id desc
</select> </select>
<select id="selectEcExtrlRegltCntc" resultType="kr.xit.fims.biz.ec.CctvCrackdownDTO$ExtrlRegltCntc"> <select id="selectEcExtrlRegltCntc" resultType="kr.xit.fims.biz.ec.CctvCrackdownDTO$ExtrlRegltCntc">
@ -82,7 +82,7 @@
, crdn_id , crdn_id
, sgg_cd , sgg_cd
, sys_se_cd , sys_se_cd
, reglt_se_code , crdn_se_cd
, crdn_inpt_se_cd , crdn_inpt_se_cd
, vhrno , vhrno
, crdn_ymd , crdn_ymd
@ -105,7 +105,7 @@
, #{crdnId} , #{crdnId}
, #{sggCd} , #{sggCd}
, #{sysSeCd} , #{sysSeCd}
, #{regltSeCode} , #{crdnSeCd}
, #{crdnInptSeCd} , #{crdnInptSeCd}
, #{vhrno} , #{vhrno}
, #{crdnYmd} , #{crdnYmd}
@ -141,7 +141,7 @@
crdn_id crdn_id
, sgg_cd , sgg_cd
, sys_se_cd , sys_se_cd
, reglt_se_code , crdn_se_cd
, crdn_inpt_se_cd , crdn_inpt_se_cd
, crdn_ymd , crdn_ymd
, reglt_begin_time , reglt_begin_time
@ -167,7 +167,7 @@
) SELECT #{crdnId} ) SELECT #{crdnId}
, sgg_cd , sgg_cd
, sys_se_cd , sys_se_cd
, #{regltSeCode} , #{crdnSeCd}
, #{crdnInptSeCd} -- 입력 구분 코드 , #{crdnInptSeCd} -- 입력 구분 코드
, crdn_ymd , crdn_ymd
, reglt_begin_time -- 단속 시작 시간 , reglt_begin_time -- 단속 시작 시간

@ -11,7 +11,7 @@
, trr.rtpyr_id -- 납부자ID , trr.rtpyr_id -- 납부자ID
, trr.sgg_cd -- 기관코드 , trr.sgg_cd -- 기관코드
, trr.sys_se_cd -- 시스템코드 , trr.sys_se_cd -- 시스템코드
, trr.reglt_se_code -- 단속구분코드 , trr.crdn_se_cd -- 단속구분코드
, trr.crdn_inpt_se_cd -- 입력구분코드 , trr.crdn_inpt_se_cd -- 입력구분코드
, trr.crdn_ymd , trr.crdn_ymd
, trr.reglt_begin_time -- 단속시작시간 , trr.reglt_begin_time -- 단속시작시간
@ -71,8 +71,8 @@
<if test='sysSeCd != null and sysSeCd != ""'> <if test='sysSeCd != null and sysSeCd != ""'>
AND trr.sys_se_cd = #{sysSeCd} AND trr.sys_se_cd = #{sysSeCd}
</if> </if>
<if test='regltSeCode != null and regltSeCode != ""'> <if test='crdnSeCd != null and crdnSeCd != ""'>
AND trr.reglt_se_code = #{regltSeCode} AND trr.crdn_se_cd = #{crdnSeCd}
</if> </if>
<if test='crdnRegSeCd != null and crdnRegSeCd != ""'> <if test='crdnRegSeCd != null and crdnRegSeCd != ""'>
AND trr.crdn_reg_se_cd = #{crdnRegSeCd} AND trr.crdn_reg_se_cd = #{crdnRegSeCd}
@ -86,7 +86,7 @@
</if> </if>
</if> </if>
</where> </where>
ORDER BY trr.sys_se_cd, trr.reglt_se_code, trr.crdn_ymd, trr.vhrno, trr.reglt_begin_time ORDER BY trr.sys_se_cd, trr.crdn_se_cd, trr.crdn_ymd, trr.vhrno, trr.reglt_begin_time
</select> </select>
<select id="selectRtReglt" resultType="kr.xit.fims.biz.rt.RtDTO$Reglt"> <select id="selectRtReglt" resultType="kr.xit.fims.biz.rt.RtDTO$Reglt">
@ -108,7 +108,7 @@
crdn_id crdn_id
, sgg_cd , sgg_cd
, sys_se_cd , sys_se_cd
, reglt_se_code , crdn_se_cd
, crdn_inpt_se_cd , crdn_inpt_se_cd
, crdn_ymd , crdn_ymd
, reglt_place , reglt_place
@ -129,7 +129,7 @@
LPAD(NEXTVAL(seq_rt_reglt), 16, '0') LPAD(NEXTVAL(seq_rt_reglt), 16, '0')
, #{sggCd} , #{sggCd}
, #{sysSeCd} , #{sysSeCd}
, #{regltSeCode} , #{crdnSeCd}
, #{crdnInptSeCd} , #{crdnInptSeCd}
, #{crdnYmd} , #{crdnYmd}
, #{regltPlace} , #{regltPlace}
@ -152,7 +152,7 @@
<update id="updateRtReglt"> <update id="updateRtReglt">
/* rt-reglt-and-erpp-mysql-mapper|updateRtReglt-단속 정보 변경|julim */ /* rt-reglt-and-erpp-mysql-mapper|updateRtReglt-단속 정보 변경|julim */
UPDATE tb_rt_reglt UPDATE tb_rt_reglt
SET reglt_se_code = IF(reglt_se_code = #{regltSeCode}, reglt_se_code, #{regltSeCode}) SET crdn_se_cd = IF(crdn_se_cd = #{crdnSeCd}, crdn_se_cd, #{crdnSeCd})
, crdn_inpt_se_cd = IF(crdn_inpt_se_cd = #{crdnInptSeCd}, crdn_inpt_se_cd, #{crdnInptSeCd}) , crdn_inpt_se_cd = IF(crdn_inpt_se_cd = #{crdnInptSeCd}, crdn_inpt_se_cd, #{crdnInptSeCd})
, reglt_place = IF(reglt_place = #{regltPlace}, reglt_place, #{regltPlace}) , reglt_place = IF(reglt_place = #{regltPlace}, reglt_place, #{regltPlace})
, violt_co = IF(violt_co = #{violtCo}, violt_co, #{violtCo}) , violt_co = IF(violt_co = #{violtCo}, violt_co, #{violtCo})
@ -460,13 +460,13 @@
JOIN tb_cmm_file_detail tcfd JOIN tb_cmm_file_detail tcfd
ON tcfm.file_mastr_id = tcfd.file_mastr_id ON tcfm.file_mastr_id = tcfd.file_mastr_id
WHERE tcfm.job_se_code = #{jobSeCode} WHERE tcfm.job_se_code = #{jobSeCode}
<if test='regltSeCode eq "01" or regltSeCode eq "02" or regltSeCode eq "07"'> <if test='crdnSeCd eq "01" or crdnSeCd eq "02" or crdnSeCd eq "07"'>
-- 외부연계 : CCTV-고정형, CCTV-이동형, CCTV-버스장착형 -- 외부연계 : CCTV-고정형, CCTV-이동형, CCTV-버스장착형
AND tcfm.file_job_id = (SELECT extrl_reglt_cntc_id AND tcfm.file_job_id = (SELECT extrl_reglt_cntc_id
FROM tb_ec_extrl_reglt_cntc FROM tb_ec_extrl_reglt_cntc
WHERE crdn_id = #{crdnId}) WHERE crdn_id = #{crdnId})
</if> </if>
<if test='regltSeCode eq "09"'> <if test='crdnSeCd eq "09"'>
-- 시민신고(국민신문고) : 초기자료 편집인 경우 시민신고 이미지 전체, 그외는 해당 차량 단속이미지만 선택 -- 시민신고(국민신문고) : 초기자료 편집인 경우 시민신고 이미지 전체, 그외는 해당 차량 단속이미지만 선택
AND tcfm.file_job_id LIKE (SELECT CONCAT(interface_seq_n, IF(#{regltProcessSttusCode} = '01', '%', ctzn_sttemnt_detail_sn)) AND tcfm.file_job_id LIKE (SELECT CONCAT(interface_seq_n, IF(#{regltProcessSttusCode} = '01', '%', ctzn_sttemnt_detail_sn))
FROM tb_ec_ctzn_sttemnt_detail FROM tb_ec_ctzn_sttemnt_detail
@ -476,7 +476,7 @@
</select> </select>
<!-- <!--
<if test='regltSeCode eq "09"'> <if test='crdnSeCd eq "09"'>
시민신고(국민신문고) 시민신고(국민신문고)
AND tcfm.file_job_id = (SELECT CONCAT(interface_seq_n, ctzn_sttemnt_detail_sn) AND tcfm.file_job_id = (SELECT CONCAT(interface_seq_n, ctzn_sttemnt_detail_sn)
FROM tb_ec_ctzn_sttemnt_detail FROM tb_ec_ctzn_sttemnt_detail

@ -86,7 +86,7 @@ Date Author Description
}; };
function search$$s(){ function search$$s(){
$$Control.query = {vhrno: '${param.vhrno}', crdnId: '${param.crdnId}', regltSeCode: '${param.regltSeCode}'}; $$Control.query = {vhrno: '${param.vhrno}', crdnId: '${param.crdnId}', crdnSeCd: '${param.crdnSeCd}'};
GRID.clear(); GRID.clear();
$$Control.load(1); $$Control.load(1);
} }
@ -119,7 +119,7 @@ Date Author Description
const gridColumns = [ const gridColumns = [
{ {
header: '단속구분', header: '단속구분',
name: 'regltSeCode', name: 'crdnSeCd',
minWidth: 100, minWidth: 100,
//editor: 'text', //editor: 'text',
sortable: false, sortable: false,
@ -129,7 +129,7 @@ Date Author Description
editor: { editor: {
type: "select", type: "select",
options: { options: {
listItems: [...ComboCodeData.regltSeCode] listItems: [...ComboCodeData.crdnSeCd]
} }
} }
}, },

@ -33,7 +33,7 @@ Date Author Description
<tbody> <tbody>
<tr> <tr>
<td> <td>
<code:select type="CMM_ETC2" id="regltSeCode" name="regltSeCode" grpId="FIM002" defaultSelect="01" onchange="fnBiz.onComboChange()" title="단속구분코드" cls="form-select" alt="단속구분코드" /> <code:select type="CMM_ETC2" id="crdnSeCd" name="crdnSeCd" grpId="FIM002" defaultSelect="01" onchange="fnBiz.onComboChange()" title="단속구분코드" cls="form-select" alt="단속구분코드" />
</td> </td>
<td colspan="6"> <td colspan="6">
<input id="folder" type="file" webkitdirectory multiple="false"/> <input id="folder" type="file" webkitdirectory multiple="false"/>
@ -133,9 +133,9 @@ Date Author Description
******************************* */ ******************************* */
const fnBiz = { const fnBiz = {
getParams: function(){ getParams: function(){
if($('#regltSeCode').val() === '07') { if($('#crdnSeCd').val() === '07') {
return {dirPath: $('#busOnlyDirPath').val()}; return {dirPath: $('#busOnlyDirPath').val()};
}else if($('#regltSeCode').val() === '09') { }else if($('#crdnSeCd').val() === '09') {
return {dirPath: $('#ctznDirPath').val()}; return {dirPath: $('#ctznDirPath').val()};
} }
return {}; return {};
@ -172,8 +172,8 @@ Date Author Description
} }
if(confirm("등록 하시겠습니까?")) { if(confirm("등록 하시겠습니까?")) {
const regltSeCode = $('#regltSeCode').val(); const crdnSeCd = $('#crdnSeCd').val();
if(regltSeCode !== '07' && regltSeCode !== '09') { if(crdnSeCd !== '07' && crdnSeCd !== '09') {
const formData = new FormData(); const formData = new FormData();
arrFiles.forEach((f)=> { arrFiles.forEach((f)=> {
@ -200,14 +200,14 @@ Date Author Description
}else { }else {
const data = { const data = {
filePath: regltSeCode === '07' ? $('#busOnlyDirPath').val() : $('#ctznDirPath').val() filePath: crdnSeCd === '07' ? $('#busOnlyDirPath').val() : $('#ctznDirPath').val()
,fileInfoList: arrChecks.map((row) => { ,fileInfoList: arrChecks.map((row) => {
return {fileNm: row.fileNm, fileType: row.fileType, fileSize: row.fileSize} return {fileNm: row.fileNm, fileType: row.fileType, fileSize: row.fileSize}
}) })
} }
cmmAjax({ cmmAjax({
<%--url: '<c:url value="/fims/biz/ec/saveBusCctvCrackdownDatas.do"/>'--%> <%--url: '<c:url value="/fims/biz/ec/saveBusCctvCrackdownDatas.do"/>'--%>
url: regltSeCode === '07' ? fimsApiUrl.SAVE_BUS_ONLY_EC_EXTRL_REGLT_CNTC : fimsApiUrl.SAVE_EC_NATL_NEWS_PAPER url: crdnSeCd === '07' ? fimsApiUrl.SAVE_BUS_ONLY_EC_EXTRL_REGLT_CNTC : fimsApiUrl.SAVE_EC_NATL_NEWS_PAPER
,data: JSON.stringify(data) ,data: JSON.stringify(data)
,contentType: 'application/json; charset=utf-8' ,contentType: 'application/json; charset=utf-8'
,success: () => { ,success: () => {
@ -220,7 +220,7 @@ Date Author Description
,onComboChange: () => { ,onComboChange: () => {
$('#totCnt span').text(0); $('#totCnt span').text(0);
if($('#regltSeCode').val() === '07') { if($('#crdnSeCd').val() === '07') {
$('#folder') $('#folder')
.css('display', 'none') .css('display', 'none')
.attr('disabled', true); .attr('disabled', true);
@ -234,7 +234,7 @@ Date Author Description
.attr('disabled', true); .attr('disabled', true);
search$$s(); search$$s();
}else if($('#regltSeCode').val() === '09'){ }else if($('#crdnSeCd').val() === '09'){
$('#folder') $('#folder')
.css('display', 'none') .css('display', 'none')
.attr('disabled', true); .attr('disabled', true);

@ -13,7 +13,7 @@ Date Author Description
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> <%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<%@ include file="/WEB-INF/jsp/include/fims/taglib.jsp"%> <%@ include file="/WEB-INF/jsp/include/fims/taglib.jsp"%>
<c:set var="citizen" value="<%= FimsConst.RegltSeCode.CITIZEN.getCode() %>"/> <c:set var="citizen" value="<%= FimsConst.CrdnSeCd.CITIZEN.getCode() %>"/>
<style> <style>
@ -68,7 +68,7 @@ Date Author Description
</td> </td>
<th>자료출처</th> <th>자료출처</th>
<td> <td>
<code:select id="regltSeCode" name="regltSeCode" grpId="FIM002" title="자료출처" cls="form-select" alt="자료출처" disabled="true"/> <code:select id="crdnSeCd" name="crdnSeCd" grpId="FIM002" title="자료출처" cls="form-select" alt="자료출처" disabled="true"/>
</td> </td>
</tr> </tr>
<tr id="t"> <tr id="t">
@ -287,7 +287,7 @@ Date Author Description
let callPopup; let callPopup;
let isCtzn = false; let isCtzn = false;
let imgPk = ''; let imgPk = '';
let regltSeCode = ''; let crdnSeCd = '';
let schParam = null; let schParam = null;
let extnlCarUrl = '${extnlCarUrl}'; let extnlCarUrl = '${extnlCarUrl}';
@ -320,9 +320,9 @@ Date Author Description
let dataKey = ''; let dataKey = '';
let curId = ''; let curId = '';
let vhrnoCnt = 0; let vhrnoCnt = 0;
regltSeCode = res.infoDTO.regltSeCode; crdnSeCd = res.infoDTO.crdnSeCd;
if(regltSeCode === '${citizen}'){ if(crdnSeCd === '${citizen}'){
isCtzn = true; isCtzn = true;
imgPk = res.infoDTO.interfaceSeqN; imgPk = res.infoDTO.interfaceSeqN;
dataKey = imgPk + ' - ' + res.infoDTO.ctznSttemntDetailSn; dataKey = imgPk + ' - ' + res.infoDTO.ctznSttemntDetailSn;
@ -334,14 +334,14 @@ Date Author Description
curId = imgPk; curId = imgPk;
} }
$('#txtTitle').html( $('#txtTitle').html(
ComboCodeData.regltSeCode.filter(d => d.value === regltSeCode)[0].text ComboCodeData.crdnSeCd.filter(d => d.value === crdnSeCd)[0].text
+ '&nbsp;&nbsp;&nbsp;[&nbsp;' + dataKey + '&nbsp;]' + '&nbsp;&nbsp;&nbsp;[&nbsp;' + dataKey + '&nbsp;]'
); );
fnPopupBiz.showCrackdownVhrnoCnt(res.infoDTO.vhrnoCnt); fnPopupBiz.showCrackdownVhrnoCnt(res.infoDTO.vhrnoCnt);
fnPopupBiz.showMinwonCnt(res.infoDTO.minwonCnt); fnPopupBiz.showMinwonCnt(res.infoDTO.minwonCnt);
schParam = { schParam = {
crdnId: res.infoDTO?.crdnId, crdnId: res.infoDTO?.crdnId,
regltSeCode: res.infoDTO?.regltSeCode, crdnSeCd: res.infoDTO?.crdnSeCd,
rtpyrId: res.infoDTO.rtpyrId, rtpyrId: res.infoDTO.rtpyrId,
vhrno: res.infoDTO.vhrno vhrno: res.infoDTO.vhrno
} }
@ -371,7 +371,7 @@ Date Author Description
cmmAjax({ cmmAjax({
showSuccessMsg: false showSuccessMsg: false
,url: isCtzn? fimsApiUrl.FIND_EC_NATL_NEWS_PAPER_ATTCH_FILES : fimsApiUrl.FIND_EC_EXTRL_REGLT_CNTC_ATTCH_FILES ,url: isCtzn? fimsApiUrl.FIND_EC_NATL_NEWS_PAPER_ATTCH_FILES : fimsApiUrl.FIND_EC_EXTRL_REGLT_CNTC_ATTCH_FILES
,data: isCtzn? {interfaceSeqN: imgPk} : {extrlRegltCntcId: imgPk, regltSeCode: regltSeCode} ,data: isCtzn? {interfaceSeqN: imgPk} : {extrlRegltCntcId: imgPk, crdnSeCd: crdnSeCd}
,success: (res) => { ,success: (res) => {
cmmImgDownload('#imgList', res.data?.contents, fnPopupBiz.pagePopup, true); cmmImgDownload('#imgList', res.data?.contents, fnPopupBiz.pagePopup, true);
} }
@ -520,7 +520,7 @@ Date Author Description
,extrlRegltCntcId: $('input[name=extrlRegltCntcId]').val() ,extrlRegltCntcId: $('input[name=extrlRegltCntcId]').val()
,interfaceSeqN: $('input[name=interfaceSeqN]').val() ,interfaceSeqN: $('input[name=interfaceSeqN]').val()
,ctznSttemntDetailSn: $('input[name=ctznSttemntDetailSn]').val() ,ctznSttemntDetailSn: $('input[name=ctznSttemntDetailSn]').val()
,regltSeCode: $('select[name=regltSeCode]').val() ,crdnSeCd: $('select[name=crdnSeCd]').val()
,crdnRegSeCd: $('select[name=crdnRegSeCd]').val() ,crdnRegSeCd: $('select[name=crdnRegSeCd]').val()
,crdnYmd: $('input[name=crdnYmd]').val().replaceAll('-','') ,crdnYmd: $('input[name=crdnYmd]').val().replaceAll('-','')
,regltBeginTime: $('input[name=regltBeginTime]').val() ,regltBeginTime: $('input[name=regltBeginTime]').val()
@ -572,7 +572,7 @@ Date Author Description
,extrlRegltCntcId: $('input[name=extrlRegltCntcId]').val() ,extrlRegltCntcId: $('input[name=extrlRegltCntcId]').val()
,interfaceSeqN: $('input[name=interfaceSeqN]').val() ,interfaceSeqN: $('input[name=interfaceSeqN]').val()
,ctznSttemntDetailSn: $('input[name=ctznSttemntDetailSn]').val() ,ctznSttemntDetailSn: $('input[name=ctznSttemntDetailSn]').val()
,regltSeCode: $('select[name=regltSeCode]').val() ,crdnSeCd: $('select[name=crdnSeCd]').val()
,infoDTO ,infoDTO
,ctznDTO ,ctznDTO
,rtpyrDTO ,rtpyrDTO
@ -771,7 +771,7 @@ Date Author Description
fnPopupBiz.search({ fnPopupBiz.search({
crdnId: '${param.crdnId}' crdnId: '${param.crdnId}'
,regltSeCode: '${param.regltSeCode}' ,crdnSeCd: '${param.crdnSeCd}'
,regltProcessSttusCode: '${param.regltProcessSttusCode}' ,regltProcessSttusCode: '${param.regltProcessSttusCode}'
}); });

@ -14,7 +14,7 @@ Date Author Description
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> <%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<%@ include file="/WEB-INF/jsp/include/fims/taglib.jsp"%> <%@ include file="/WEB-INF/jsp/include/fims/taglib.jsp"%>
<c:set var="citizen" value="<%= FimsConst.RegltSeCode.CITIZEN.getCode() %>"/> <c:set var="citizen" value="<%= FimsConst.CrdnSeCd.CITIZEN.getCode() %>"/>
<c:set var="ctznCmpl" value="<%= FimsConst.MinwonGubunCode.COMPLAIN.getCode() %>"/> <c:set var="ctznCmpl" value="<%= FimsConst.MinwonGubunCode.COMPLAIN.getCode() %>"/>
<c:set var="vhrnoCmpl" value="<%= FimsConst.MinwonGubunCode.VHRNO_CMPL.getCode() %>"/> <c:set var="vhrnoCmpl" value="<%= FimsConst.MinwonGubunCode.VHRNO_CMPL.getCode() %>"/>
@ -113,7 +113,7 @@ Date Author Description
</td> </td>
<th>자료출처</th> <th>자료출처</th>
<td> <td>
<code:select id="regltSeCode" name="regltSeCode" grpId="FIM002" title="단속구분코드" cls="form-select" alt="단속구분코드" disabled="true"/> <code:select id="crdnSeCd" name="crdnSeCd" grpId="FIM002" title="단속구분코드" cls="form-select" alt="단속구분코드" disabled="true"/>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -912,8 +912,8 @@ Date Author Description
,data: params ,data: params
,success: (res) => { ,success: (res) => {
let curId = ''; let curId = '';
const regltSeCode = res.infoDTO.regltSeCode; const crdnSeCd = res.infoDTO.crdnSeCd;
if(regltSeCode === '${citizen}'){ if(crdnSeCd === '${citizen}'){
curId = res.infoDTO.interfaceSeqN + res.infoDTO.ctznSttemntDetailSn; curId = res.infoDTO.interfaceSeqN + res.infoDTO.ctznSttemntDetailSn;
}else{ }else{
curId = res.infoDTO.extrlRegltCntcId; curId = res.infoDTO.extrlRegltCntcId;
@ -1455,7 +1455,7 @@ Date Author Description
fnPopupBiz.search({ fnPopupBiz.search({
crdnId: '${param.crdnId}' crdnId: '${param.crdnId}'
,regltSeCode: '${param.regltSeCode}' ,crdnSeCd: '${param.crdnSeCd}'
,regltProcessSttusCode: '${param.regltProcessSttusCode}' ,regltProcessSttusCode: '${param.regltProcessSttusCode}'
}) })

@ -131,7 +131,7 @@ Date Author Description
<div class="col-12"> <div class="col-12">
<label class="form-label fw-bold form-search-title">단속구분</label> <label class="form-label fw-bold form-search-title">단속구분</label>
<span class="form-search-linebox"> <span class="form-search-linebox">
<code:radio type="CMM_ETC2" id="regltSeCode" name="regltSeCode" grpId="FIM002" <code:radio type="CMM_ETC2" id="crdnSeCd" name="crdnSeCd" grpId="FIM002"
onclick="search$$s()" cls="form-check-input" alt="단속구분" /> onclick="search$$s()" cls="form-check-input" alt="단속구분" />
</span> </span>
</div> </div>
@ -342,7 +342,7 @@ Date Author Description
,sch_date_to: $('#sch_date_to').val() ,sch_date_to: $('#sch_date_to').val()
,[$('#sch_opt').val()]: $('#sch_word').val() ,[$('#sch_opt').val()]: $('#sch_word').val()
,sysSeCd: $('input:radio[name=sysSeCd]:checked').val() ,sysSeCd: $('input:radio[name=sysSeCd]:checked').val()
,regltSeCode: CUR_TAB_IDX === 2 ? '09' : $('input:radio[name=regltSeCode]:checked').val() ,crdnSeCd: CUR_TAB_IDX === 2 ? '09' : $('input:radio[name=crdnSeCd]:checked').val()
,regltProcessSttusCode: CUR_TAB_IDX === 2 ? 'NON-INIT' : $('#regltProcessSttusCode').val() ,regltProcessSttusCode: CUR_TAB_IDX === 2 ? 'NON-INIT' : $('#regltProcessSttusCode').val()
,ctznAnsYn: $('input:radio[name=ctznAnsYn]:checked').val() ,ctznAnsYn: $('input:radio[name=ctznAnsYn]:checked').val()
,vhrno : $("#vhrno").val() ,vhrno : $("#vhrno").val()
@ -392,7 +392,7 @@ Date Author Description
case 'cvplRceptNo': case 'cvplRceptNo':
popupDiv = 'edit'; popupDiv = 'edit';
const rowDatas = ARR_GRID[CUR_TAB_IDX].store.data.rawData.map(d => { const rowDatas = ARR_GRID[CUR_TAB_IDX].store.data.rawData.map(d => {
return {regltSeCode: d.regltSeCode, crdnId: d.crdnId, regltProcessSttusCode: d.regltProcessSttusCode} return {crdnSeCd: d.crdnSeCd, crdnId: d.crdnId, regltProcessSttusCode: d.regltProcessSttusCode}
}) })
ARR_NAV[CUR_TAB_IDX] = new PageNavigation(ARR_GRID[CUR_TAB_IDX], rowDatas, props.rowKey); ARR_NAV[CUR_TAB_IDX] = new PageNavigation(ARR_GRID[CUR_TAB_IDX], rowDatas, props.rowKey);
@ -414,7 +414,7 @@ Date Author Description
$('#divAnswer').hide(); $('#divAnswer').hide();
$('#ansDiv').hide(); $('#ansDiv').hide();
$('#regltProcessSttusCode').show(); $('#regltProcessSttusCode').show();
$('#fldRegltSeCode').show(); $('#fldCrdnSeCd').show();
break; break;
case 1: case 1:
$('#btnExtrRegist').hide(); $('#btnExtrRegist').hide();
@ -422,7 +422,7 @@ Date Author Description
$('#divAnswer').hide(); $('#divAnswer').hide();
$('#ansDiv').hide(); $('#ansDiv').hide();
$('#regltProcessSttusCode').show(); $('#regltProcessSttusCode').show();
$('#fldRegltSeCode').show(); $('#fldCrdnSeCd').show();
break; break;
case 2: case 2:
$('#btnExtrRegist').hide(); $('#btnExtrRegist').hide();
@ -430,7 +430,7 @@ Date Author Description
$('#divAnswer').show(); $('#divAnswer').show();
$('#ansDiv').show(); $('#ansDiv').show();
$('#regltProcessSttusCode').show(); $('#regltProcessSttusCode').show();
$('#fldRegltSeCode').hide(); $('#fldCrdnSeCd').hide();
break; break;
} }
} }
@ -441,7 +441,7 @@ Date Author Description
ARR_GRID[idx].on('dblclick', function (props) { ARR_GRID[idx].on('dblclick', function (props) {
popupDiv = 'total'; popupDiv = 'total';
const rowDatas = ARR_GRID[idx].store.data.rawData.map(d => { const rowDatas = ARR_GRID[idx].store.data.rawData.map(d => {
return {regltSeCode: d.regltSeCode, crdnId: d.crdnId, regltProcessSttusCode: d.regltProcessSttusCode} return {crdnSeCd: d.crdnSeCd, crdnId: d.crdnId, regltProcessSttusCode: d.regltProcessSttusCode}
}) })
ARR_NAV[idx] = new PageNavigation(ARR_GRID[idx], rowDatas, props.rowKey); ARR_NAV[idx] = new PageNavigation(ARR_GRID[idx], rowDatas, props.rowKey);
fnBiz.pagePopup(popupDiv, ARR_NAV[idx].gridInfo.curRowData); fnBiz.pagePopup(popupDiv, ARR_NAV[idx].gridInfo.curRowData);
@ -528,7 +528,7 @@ Date Author Description
formatter: (props)=>{ formatter: (props)=>{
const rowData = props.grid.getRow(props.rowKey); const rowData = props.grid.getRow(props.rowKey);
return { return {
formatter: rowData.regltSeCode === '09' ? rowData.cvplRceptNo : rowData.extrlRegltCntcId formatter: rowData.crdnSeCd === '09' ? rowData.cvplRceptNo : rowData.extrlRegltCntcId
,element: "text" ,element: "text"
,dataAttrs : { ,dataAttrs : {
bsToggle: "tooltip", bsToggle: "tooltip",
@ -565,7 +565,7 @@ Date Author Description
{ {
header: '신고방법', header: '신고방법',
name: 'regltSeCode', name: 'crdnSeCd',
minWidth: 100, minWidth: 100,
sortable: false, sortable: false,
align: 'center', align: 'center',
@ -574,7 +574,7 @@ Date Author Description
editor: { editor: {
type: "select", type: "select",
options: { options: {
listItems: [...ComboCodeData.regltSeCode] listItems: [...ComboCodeData.crdnSeCd]
} }
} }
}, },

@ -21,7 +21,7 @@
<tbody> <tbody>
<tr> <tr>
<td> <td>
<code:select type="CMM_ETC2" id="regltSeCode" name="regltSeCode" grpId="FIM002" defaultSelect="01" onchange="fnBiz.onComboChange()" title="단속구분코드" cls="form-select" alt="단속구분코드" /> <code:select type="CMM_ETC2" id="crdnSeCd" name="crdnSeCd" grpId="FIM002" defaultSelect="01" onchange="fnBiz.onComboChange()" title="단속구분코드" cls="form-select" alt="단속구분코드" />
</td> </td>
<td colspan="6"> <td colspan="6">
<input id="folder" type="file" webkitdirectory multiple="false"/> <input id="folder" type="file" webkitdirectory multiple="false"/>
@ -153,7 +153,7 @@
} }
if(confirm("등록 하시겠습니까?")) { if(confirm("등록 하시겠습니까?")) {
if($('#regltSeCode').val() !== '07') { if($('#crdnSeCd').val() !== '07') {
const formData = new FormData(); const formData = new FormData();
arrFiles.forEach((f)=> { arrFiles.forEach((f)=> {
@ -200,7 +200,7 @@
,onComboChange: () => { ,onComboChange: () => {
$('#totCnt span').text(0); $('#totCnt span').text(0);
if($('#regltSeCode').val() === '07') { if($('#crdnSeCd').val() === '07') {
$('#folder') $('#folder')
.css('display', 'none') .css('display', 'none')
.attr('disabled', true); .attr('disabled', true);

@ -147,7 +147,7 @@
} }
,onClickGrid: function(props){ ,onClickGrid: function(props){
const gridDatas = GRID.store.data.rawData.map(d => { const gridDatas = GRID.store.data.rawData.map(d => {
return {extrlRegltCntcId: d.extrlRegltCntcId, regltSeCode: d.regltSeCode} return {extrlRegltCntcId: d.extrlRegltCntcId, crdnSeCd: d.crdnSeCd}
}) })
pageNav = new PageNavigation(GRID, gridDatas, props.rowKey); pageNav = new PageNavigation(GRID, gridDatas, props.rowKey);
fnBiz.pagePopup('detail', pageNav.gridInfo.curRowData); fnBiz.pagePopup('detail', pageNav.gridInfo.curRowData);
@ -173,7 +173,7 @@
const gridColumns = [ const gridColumns = [
{ {
header: '단속구분', header: '단속구분',
name: 'regltSeCode', name: 'crdnSeCd',
minWidth: 80, minWidth: 80,
sortable: false, sortable: false,
align: 'center', align: 'center',
@ -182,7 +182,7 @@
editor: { editor: {
type: "select", type: "select",
options: { options: {
listItems: ComboCodeData.regltSeCode listItems: ComboCodeData.crdnSeCd
} }
}, },
}, },

@ -71,7 +71,7 @@
</td> </td>
<th>단속구분</th> <th>단속구분</th>
<td> <td>
<code:select id="regltSeCode" name="regltSeCode" grpId="FIM002" defaultSelect="${extrDTO.regltSeCode}" title="단속구분" cls="form-select" alt="단속구분" disabled="true"/> <code:select id="crdnSeCd" name="crdnSeCd" grpId="FIM002" defaultSelect="${extrDTO.crdnSeCd}" title="단속구분" cls="form-select" alt="단속구분" disabled="true"/>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -267,7 +267,7 @@
,reglt: (extrlRegltCntcId) => { ,reglt: (extrlRegltCntcId) => {
const data = { const data = {
extrlRegltCntcId extrlRegltCntcId
,regltSeCode: '${extrDTO.regltSeCode}' ,crdnSeCd: '${extrDTO.crdnSeCd}'
} }
if(!confirm('단속자료를 생성 하시겠습니까?')) return false; if(!confirm('단속자료를 생성 하시겠습니까?')) return false;
@ -280,7 +280,7 @@
,erpp: (extrlRegltCntcId) => { ,erpp: (extrlRegltCntcId) => {
const data = { const data = {
extrlRegltCntcId extrlRegltCntcId
,regltSeCode: '${extrDTO.regltSeCode}' ,crdnSeCd: '${extrDTO.crdnSeCd}'
} }
if(!confirm('서손 처리 하시겠습니까?')) return false; if(!confirm('서손 처리 하시겠습니까?')) return false;
cmmAjax({ cmmAjax({
@ -336,7 +336,7 @@
**************************************************************************/ **************************************************************************/
$(document).ready(function () { $(document).ready(function () {
// orgData = $('form').serialize(); // orgData = $('form').serialize();
downloadImgParam = {extrlRegltCntcId: '${extrDTO.extrlRegltCntcId}', regltSeCode: '${extrDTO.regltSeCode}'}; downloadImgParam = {extrlRegltCntcId: '${extrDTO.extrlRegltCntcId}', crdnSeCd: '${extrDTO.crdnSeCd}'};
fnBiz.downloadImg(); fnBiz.downloadImg();
window.opener.pageNav.reloadNav($('#prev'), $('#next'), $('#totCnt span')) window.opener.pageNav.reloadNav($('#prev'), $('#next'), $('#totCnt span'))

@ -61,10 +61,10 @@ Date Author Description
cls="form-check-input" alt="시스템구분"/> cls="form-check-input" alt="시스템구분"/>
</span> </span>
</div> </div>
<div id="fldRegltSeCode" class="col-12"> <div id="fldCrdnSeCd" class="col-12">
<label class="form-label fw-bold form-search-title">단속구분</label> <label class="form-label fw-bold form-search-title">단속구분</label>
<span class="form-search-linebox"> <span class="form-search-linebox">
<code:radio type="CMM_ETC2" id="regltSeCode" name="regltSeCode" grpId="FIM002" <code:radio type="CMM_ETC2" id="crdnSeCd" name="crdnSeCd" grpId="FIM002"
cls="form-check-input" alt="단속구분" /> cls="form-check-input" alt="단속구분" />
</span> </span>
</div> </div>
@ -351,7 +351,7 @@ Date Author Description
,sch_date_to: $('#sch_date_to').val() ,sch_date_to: $('#sch_date_to').val()
,[$('#sch_opt').val()]: $('#sch_word').val() ,[$('#sch_opt').val()]: $('#sch_word').val()
,sysSeCd: $('input:radio[name=sysSeCd]:checked').val() ,sysSeCd: $('input:radio[name=sysSeCd]:checked').val()
,regltSeCode: CUR_TAB_IDX === 2 ? '09' : $('input:radio[name=regltSeCode]:checked').val() ,crdnSeCd: CUR_TAB_IDX === 2 ? '09' : $('input:radio[name=crdnSeCd]:checked').val()
,regltProcessSttusCode: CUR_TAB_IDX === 2 ? 'NON-INIT' : $('#regltProcessSttusCode').val() ,regltProcessSttusCode: CUR_TAB_IDX === 2 ? 'NON-INIT' : $('#regltProcessSttusCode').val()
,ctznAnsYn: $('input:radio[name=ctznAnsYn]:checked').val() ,ctznAnsYn: $('input:radio[name=ctznAnsYn]:checked').val()
} }
@ -397,7 +397,7 @@ Date Author Description
case 'cvplRceptNo': case 'cvplRceptNo':
popupDiv = 'edit'; popupDiv = 'edit';
const rowDatas = ARR_GRID[CUR_TAB_IDX].store.data.rawData.map(d => { const rowDatas = ARR_GRID[CUR_TAB_IDX].store.data.rawData.map(d => {
return {regltSeCode: d.regltSeCode, crdnId: d.crdnId, regltProcessSttusCode: d.regltProcessSttusCode} return {crdnSeCd: d.crdnSeCd, crdnId: d.crdnId, regltProcessSttusCode: d.regltProcessSttusCode}
}) })
ARR_NAV[CUR_TAB_IDX] = new PageNavigation(ARR_GRID[CUR_TAB_IDX], rowDatas, props.rowKey); ARR_NAV[CUR_TAB_IDX] = new PageNavigation(ARR_GRID[CUR_TAB_IDX], rowDatas, props.rowKey);
fnBiz.pagePopup(popupDiv, ARR_NAV[CUR_TAB_IDX].gridInfo.curRowData); fnBiz.pagePopup(popupDiv, ARR_NAV[CUR_TAB_IDX].gridInfo.curRowData);
@ -415,7 +415,7 @@ Date Author Description
$('#divAnswer').hide(); $('#divAnswer').hide();
$('#ansDiv').hide(); $('#ansDiv').hide();
$('#regltProcessSttusCode').show(); $('#regltProcessSttusCode').show();
$('#fldRegltSeCode').show(); $('#fldCrdnSeCd').show();
break; break;
case 1: case 1:
$('#btnExtrRegist').hide(); $('#btnExtrRegist').hide();
@ -423,7 +423,7 @@ Date Author Description
$('#divAnswer').hide(); $('#divAnswer').hide();
$('#ansDiv').hide(); $('#ansDiv').hide();
$('#regltProcessSttusCode').show(); $('#regltProcessSttusCode').show();
$('#fldRegltSeCode').show(); $('#fldCrdnSeCd').show();
break; break;
case 2: case 2:
$('#btnExtrRegist').hide(); $('#btnExtrRegist').hide();
@ -431,7 +431,7 @@ Date Author Description
$('#divAnswer').show(); $('#divAnswer').show();
$('#ansDiv').show(); $('#ansDiv').show();
$('#regltProcessSttusCode').hide(); $('#regltProcessSttusCode').hide();
$('#fldRegltSeCode').hide(); $('#fldCrdnSeCd').hide();
break; break;
} }
} }
@ -439,7 +439,7 @@ Date Author Description
popupDiv = 'total'; popupDiv = 'total';
const rowDatas = ARR_GRID[idx].store.data.rawData.map(d => { const rowDatas = ARR_GRID[idx].store.data.rawData.map(d => {
return {regltSeCode: d.regltSeCode, crdnId: d.crdnId, regltProcessSttusCode: d.regltProcessSttusCode} return {crdnSeCd: d.crdnSeCd, crdnId: d.crdnId, regltProcessSttusCode: d.regltProcessSttusCode}
}) })
ARR_NAV[idx] = new PageNavigation(ARR_GRID[idx], rowDatas, props.rowKey); ARR_NAV[idx] = new PageNavigation(ARR_GRID[idx], rowDatas, props.rowKey);
fnBiz.pagePopup(popupDiv, ARR_NAV[idx].gridInfo.curRowData); fnBiz.pagePopup(popupDiv, ARR_NAV[idx].gridInfo.curRowData);
@ -511,10 +511,10 @@ Date Author Description
return false; return false;
} }
IMPOSE_DATA = arrChecks.map((row) => { IMPOSE_DATA = arrChecks.map((row) => {
const extnlInterfaceId = row.regltSeCode === '09' ? row.interfaceSeqN + row.ctznSttemntDetailSn : row.extrlRegltCntcId const extnlInterfaceId = row.crdnSeCd === '09' ? row.interfaceSeqN + row.ctznSttemntDetailSn : row.extrlRegltCntcId
return { return {
crdnId: row.crdnId crdnId: row.crdnId
,regltSeCode: row.regltSeCode ,crdnSeCd: row.crdnSeCd
,extnlInterfaceId ,extnlInterfaceId
,vhrno: row.vhrno ,vhrno: row.vhrno
,cvplRceptNo: row.cvplRceptNo ,cvplRceptNo: row.cvplRceptNo
@ -607,7 +607,7 @@ Date Author Description
formatter: (props)=>{ formatter: (props)=>{
const rowData = props.grid.getRow(props.rowKey); const rowData = props.grid.getRow(props.rowKey);
return { return {
formatter: rowData.regltSeCode === '09' ? rowData.cvplRceptNo : rowData.extrlRegltCntcId formatter: rowData.crdnSeCd === '09' ? rowData.cvplRceptNo : rowData.extrlRegltCntcId
,element: "text" ,element: "text"
,dataAttrs : { ,dataAttrs : {
bsToggle: "tooltip", bsToggle: "tooltip",
@ -656,7 +656,7 @@ Date Author Description
{ {
header: '신고방법', header: '신고방법',
name: 'regltSeCode', name: 'crdnSeCd',
minWidth: 100, minWidth: 100,
sortable: false, sortable: false,
align: 'center', align: 'center',
@ -665,7 +665,7 @@ Date Author Description
editor: { editor: {
type: "select", type: "select",
options: { options: {
listItems: [...ComboCodeData.regltSeCode] listItems: [...ComboCodeData.crdnSeCd]
} }
}, },
}, },

@ -59,7 +59,7 @@ Date Author Description
<div class="col-12"> <div class="col-12">
<label class="form-label fw-bold form-search-title">단속구분</label> <label class="form-label fw-bold form-search-title">단속구분</label>
<span class="form-search-linebox"> <span class="form-search-linebox">
<code:radio type="CMM_ETC2" id="regltSeCode" name="regltSeCode" grpId="FIM002" <code:radio type="CMM_ETC2" id="crdnSeCd" name="crdnSeCd" grpId="FIM002"
onclick="search$$s()" cls="form-check-input" alt="단속구분" /> onclick="search$$s()" cls="form-check-input" alt="단속구분" />
</span> </span>
</div> </div>
@ -271,7 +271,7 @@ Date Author Description
,sch_date_to: $('#sch_date_to').val() ,sch_date_to: $('#sch_date_to').val()
,[$('#sch_opt').val()]: $('#sch_word').val() ,[$('#sch_opt').val()]: $('#sch_word').val()
,sysSeCd: $('input:radio[name=sysSeCd]:checked').val() ,sysSeCd: $('input:radio[name=sysSeCd]:checked').val()
,regltSeCode: CUR_TAB_IDX === 2 ? '09' : $('input:radio[name=regltSeCode]:checked').val() ,crdnSeCd: CUR_TAB_IDX === 2 ? '09' : $('input:radio[name=crdnSeCd]:checked').val()
,regltProcessSttusCode: CUR_TAB_IDX === 2 ? 'NON-INIT' : $('#regltProcessSttusCode').val() ,regltProcessSttusCode: CUR_TAB_IDX === 2 ? 'NON-INIT' : $('#regltProcessSttusCode').val()
,ctznAnsYn: $('input:radio[name=ctznAnsYn]:checked').val() ,ctznAnsYn: $('input:radio[name=ctznAnsYn]:checked').val()
} }
@ -317,7 +317,7 @@ Date Author Description
case 'cvplRceptNo': case 'cvplRceptNo':
popupDiv = 'edit'; popupDiv = 'edit';
const rowDatas = GRID.store.data.rawData.map(d => { const rowDatas = GRID.store.data.rawData.map(d => {
return {regltSeCode: d.regltSeCode, crdnId: d.crdnId, regltProcessSttusCode: d.regltProcessSttusCode} return {crdnSeCd: d.crdnSeCd, crdnId: d.crdnId, regltProcessSttusCode: d.regltProcessSttusCode}
}) })
pageNav = new PageNavigation(GRID, rowDatas, props.rowKey); pageNav = new PageNavigation(GRID, rowDatas, props.rowKey);
@ -339,7 +339,7 @@ Date Author Description
$('#divAnswer').hide(); $('#divAnswer').hide();
$('#ansDiv').hide(); $('#ansDiv').hide();
$('#regltProcessSttusCode').show(); $('#regltProcessSttusCode').show();
$('#fldRegltSeCode').show(); $('#fldCrdnSeCd').show();
break; break;
case 1: case 1:
$('#btnExtrRegist').hide(); $('#btnExtrRegist').hide();
@ -347,7 +347,7 @@ Date Author Description
$('#divAnswer').hide(); $('#divAnswer').hide();
$('#ansDiv').hide(); $('#ansDiv').hide();
$('#regltProcessSttusCode').show(); $('#regltProcessSttusCode').show();
$('#fldRegltSeCode').show(); $('#fldCrdnSeCd').show();
break; break;
case 2: case 2:
$('#btnExtrRegist').hide(); $('#btnExtrRegist').hide();
@ -355,14 +355,14 @@ Date Author Description
$('#divAnswer').show(); $('#divAnswer').show();
$('#ansDiv').show(); $('#ansDiv').show();
$('#regltProcessSttusCode').show(); $('#regltProcessSttusCode').show();
$('#fldRegltSeCode').hide(); $('#fldCrdnSeCd').hide();
break; break;
} }
} }
,onDblClickGrid: function (props) { ,onDblClickGrid: function (props) {
popupDiv = 'total'; popupDiv = 'total';
const rowDatas = GRID.store.data.rawData.map(d => { const rowDatas = GRID.store.data.rawData.map(d => {
return {regltSeCode: d.regltSeCode, crdnId: d.crdnId, regltProcessSttusCode: d.regltProcessSttusCode} return {crdnSeCd: d.crdnSeCd, crdnId: d.crdnId, regltProcessSttusCode: d.regltProcessSttusCode}
}); });
pageNav = new PageNavigation(GRID, rowDatas, props.rowKey); pageNav = new PageNavigation(GRID, rowDatas, props.rowKey);
@ -419,10 +419,10 @@ Date Author Description
return false; return false;
} }
IMPOSE_DATA = arrChecks.map((row) => { IMPOSE_DATA = arrChecks.map((row) => {
const extnlInterfaceId = row.regltSeCode === '09' ? row.interfaceSeqN + row.ctznSttemntDetailSn : row.extrlRegltCntcId const extnlInterfaceId = row.crdnSeCd === '09' ? row.interfaceSeqN + row.ctznSttemntDetailSn : row.extrlRegltCntcId
return { return {
crdnId: row.crdnId crdnId: row.crdnId
,regltSeCode: row.regltSeCode ,crdnSeCd: row.crdnSeCd
,extnlInterfaceId ,extnlInterfaceId
,vhrno: row.vhrno ,vhrno: row.vhrno
,cvplRceptNo: row.cvplRceptNo ,cvplRceptNo: row.cvplRceptNo
@ -511,7 +511,7 @@ Date Author Description
formatter: (props)=>{ formatter: (props)=>{
const rowData = props.grid.getRow(props.rowKey); const rowData = props.grid.getRow(props.rowKey);
return { return {
formatter: rowData.regltSeCode === '09' ? rowData.cvplRceptNo : rowData.extrlRegltCntcId formatter: rowData.crdnSeCd === '09' ? rowData.cvplRceptNo : rowData.extrlRegltCntcId
,element: "text" ,element: "text"
,dataAttrs : { ,dataAttrs : {
bsToggle: "tooltip", bsToggle: "tooltip",
@ -547,7 +547,7 @@ Date Author Description
{ {
header: '신고방법', header: '신고방법',
name: 'regltSeCode', name: 'crdnSeCd',
minWidth: 100, minWidth: 100,
sortable: false, sortable: false,
align: 'center', align: 'center',
@ -556,7 +556,7 @@ Date Author Description
editor: { editor: {
type: "select", type: "select",
options: { options: {
listItems: [...ComboCodeData.regltSeCode] listItems: [...ComboCodeData.crdnSeCd]
} }
} }
}, },

@ -160,7 +160,7 @@
} }
,onClickGrid: function(props){ ,onClickGrid: function(props){
const gridDatas = GRID.store.data.rawData.map(d => { const gridDatas = GRID.store.data.rawData.map(d => {
return {crdnId: d.crdnId, regltSeCode: d.regltSeCode} return {crdnId: d.crdnId, crdnSeCd: d.crdnSeCd}
}) })
pageNav = new PageNavigation(GRID, gridDatas, props.rowKey); pageNav = new PageNavigation(GRID, gridDatas, props.rowKey);
fnBiz.pagePopup('main', pageNav.gridInfo.curRowData); fnBiz.pagePopup('main', pageNav.gridInfo.curRowData);
@ -199,7 +199,7 @@
}, },
{ {
header: '단속구분', header: '단속구분',
name: 'regltSeCode', name: 'crdnSeCd',
minWidth: 80, minWidth: 80,
sortable: false, sortable: false,
align: 'center', align: 'center',
@ -208,7 +208,7 @@
editor: { editor: {
type: "select", type: "select",
options: { options: {
listItems: ComboCodeData.regltSeCode listItems: ComboCodeData.crdnSeCd
} }
}, },
}, },

@ -37,7 +37,7 @@
<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>
<td><code:select id="regltSeCode" name="regltSeCode" grpId="FIM002" defaultSelect="${dto.regltSeCode}" title="단속구분코드" cls="form-select" alt="단속구분코드"/></td> <td><code:select id="crdnSeCd" name="crdnSeCd" grpId="FIM002" defaultSelect="${dto.crdnSeCd}" title="단속구분코드" cls="form-select" alt="단속구분코드"/></td>
</tr> </tr>
<tr> <tr>
<th>차량번호</th> <th>차량번호</th>
@ -239,7 +239,7 @@
$(document).ready(function(){ $(document).ready(function(){
orgData = $('form').serialize(); orgData = $('form').serialize();
downloadImgParam = {crdnId: '${dto.crdnId}', regltSeCode: '${dto.regltSeCode}'}; downloadImgParam = {crdnId: '${dto.crdnId}', crdnSeCd: '${dto.crdnSeCd}'};
fnBiz.downloadImg(); fnBiz.downloadImg();
window.opener.pageNav.reloadNav($('#prev'), $('#next'), $('span#totCnt')) window.opener.pageNav.reloadNav($('#prev'), $('#next'), $('span#totCnt'))

@ -14,7 +14,7 @@ Date Author Description
<%@ include file="/WEB-INF/jsp/include/taglib.jsp" %> <%@ include file="/WEB-INF/jsp/include/taglib.jsp" %>
<%@ include file="/WEB-INF/jsp/include/fims/taglib.jsp" %> <%@ include file="/WEB-INF/jsp/include/fims/taglib.jsp" %>
<!-- java class constants 사용시 아래와 같이 사용 --> <!-- java class constants 사용시 아래와 같이 사용 -->
<%--<c:set var="citizen" value="<%= FimsConst.RegltSeCode.CITIZEN.getCode() %>"/>--%> <%--<c:set var="citizen" value="<%= FimsConst.CrdnSeCd.CITIZEN.getCode() %>"/>--%>
<div class="container-search"> <div class="container-search">
<form name="frmSearch" id="frmSearch"> <form name="frmSearch" id="frmSearch">

@ -20,7 +20,7 @@ ComboCodeData = {
] ]
// 단속구분코드 : FIM002 // 단속구분코드 : FIM002
,regltSeCode: [ ,crdnSeCd: [
{value: '01', text: '고정형CCTV'} {value: '01', text: '고정형CCTV'}
,{value: '02', text: '주행형CCTV'} ,{value: '02', text: '주행형CCTV'}
,{value: '03', text: '모바일'} ,{value: '03', text: '모바일'}

Loading…
Cancel
Save