refactor : 단속 테이블 수정

main
이범준 1 year ago
parent da0abb0395
commit a0f1d7f98a

@ -88,7 +88,7 @@ public class FimsConst {
*/
@Getter
@AllArgsConstructor
public enum RegltSeCode {
public enum CrdnSeCd {
CCTV_FIX("01", "고정형CCTV")
,CCTV_DRV("02", "주행형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
public static class AnsRequest {
private String crdnId;
private String regltSeCode;
private String crdnSeCd;
private String extrlRegltCntcId;
// 민원심사 마스터 / 상세 key

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

@ -69,9 +69,9 @@ public class CctvBusOnlyCrackDownServiceBean implements ExtrStrategyService {
// extrRegltDTO.setSggCd(getUserInfo().getPstinstCode());
//
// if(records.size() >= 3){
// extrRegltDTO.setRegltSeCode(FimsConst.RegltSeCode.CCTV_DRV.getCode());
// extrRegltDTO.setCrdnSeCd(FimsConst.CrdnSeCd.CCTV_DRV.getCode());
// }else{
// extrRegltDTO.setRegltSeCode(FimsConst.RegltSeCode.CCTV_FIX.getCode());
// extrRegltDTO.setCrdnSeCd(FimsConst.CrdnSeCd.CCTV_FIX.getCode());
// }
// // 외부연계 데이타 생성
// //mapper.insertEcExtrlRegltCntc(extrRegltDTO);
@ -79,7 +79,7 @@ public class CctvBusOnlyCrackDownServiceBean implements ExtrStrategyService {
// // CCTV image 저장
// List<MultipartFile> cpListMf = new ArrayList<>(mfList);
// 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())){
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);
}
}
@ -135,7 +135,7 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
// 2. 외부연계정보 반영 :
if(!FimsConst.RegltSeCode.CITIZEN.getCode().equals(saveDTO.getRegltSeCode())
if(!FimsConst.CrdnSeCd.CITIZEN.getCode().equals(saveDTO.getCrdnSeCd())
&& 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()))) {
ctznDTO.setVhrno(infoDTO.getVhrno());
ctznDTO.setMdfr(getUserInfo().getUniqId());
@ -203,7 +203,7 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
}
// 2. 외부연계정보 반영 :
if(!FimsConst.RegltSeCode.CITIZEN.getCode().equals(saveDTO.getRegltSeCode())
if(!FimsConst.CrdnSeCd.CITIZEN.getCode().equals(saveDTO.getCrdnSeCd())
&& 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()))) {
ctznDTO.setVhrno(infoDTO.getVhrno());
@ -264,7 +264,7 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
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()))) {
ecCtznSttemntMapper.updateVhrnoOfEcCtznSttemntDetail(
CtznStmtDTO.Dtl.builder()
@ -445,7 +445,7 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
List<CmmFileDTO.FileDtl> fileDtlList = cmmFileService.findFilesByJobSeCodeAndJobId(
CmmFileDTO.FileMst.builder()
.jobSeCode(FimsBizUtils.getFileJobSeCode(param.getRegltSeCode()))
.jobSeCode(FimsBizUtils.getFileJobSeCode(param.getCrdnSeCd()))
.fileJobId(param.getExtnlInterfaceId())
.build());
@ -453,7 +453,7 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
param,
layoutDto,
fileDtlList,
FimsBizUtils.getSendNtriPhotoInterfaceFileName(param.getRegltSeCode()),
FimsBizUtils.getSendNtriPhotoInterfaceFileName(param.getCrdnSeCd()),
uploadRootPath,
sendFilePath,
uploadTempPath

@ -64,14 +64,14 @@ public class FimsCrackDownMgtController extends AbstractController {
}else if(Objects.equals(FimsConst.RegltProcessSttusCode.CRACKDOWN.getCode(), dto.getRegltProcessSttusCode())) {
mav.addObject("pageTitle", "과태료 시스템 등록");
}
FimsConst.RegltSeCode regltSeCodeEnum = null;
for (FimsConst.RegltSeCode e : FimsConst.RegltSeCode.values()) {
if (e.getCode().equals(dto.getRegltSeCode())) {
regltSeCodeEnum = e;
FimsConst.CrdnSeCd crdnSeCdEnum = null;
for (FimsConst.CrdnSeCd e : FimsConst.CrdnSeCd.values()) {
if (e.getCode().equals(dto.getCrdnSeCd())) {
crdnSeCdEnum = e;
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");
return mav;

@ -115,7 +115,7 @@ public class CctvCrackdownDTO {
/**
* : 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 erppId;
private String regltSeCode;
private String crdnSeCd;
private String crdnInptSeCd;
private String crdnRegSeCd;

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

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

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

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

@ -61,7 +61,7 @@ public class EcCctvCrackdownController extends AbstractController {
mav.addObject("extrDTO", service.findExtrlRegltCntc(dto.getExtrlRegltCntcId()));
mav.addObject("attchFiles", fileService.findFilesByJobSeCodeAndJobId(
CmmFileDTO.FileMst.builder()
.jobSeCode(FimsBizUtils.getFileJobSeCode(dto.getRegltSeCode()))
.jobSeCode(FimsBizUtils.getFileJobSeCode(dto.getCrdnSeCd()))
.fileJobId(dto.getExtrlRegltCntcId())
.build()));
return mav;
@ -78,7 +78,7 @@ public class EcCctvCrackdownController extends AbstractController {
mav.addObject("extrDTO", service.findExtrlRegltCntc(dto));
mav.addObject("attchFiles", fileService.findFilesByJobSeCodeAndJobId(
CmmFileDTO.FileMst.builder()
.jobSeCode(FimsBizUtils.getFileJobSeCode(dto.getRegltSeCode()))
.jobSeCode(FimsBizUtils.getFileJobSeCode(dto.getCrdnSeCd()))
.fileJobId(dto.getExtrlRegltCntcId())
.build()));
return mav;
@ -156,11 +156,11 @@ public class EcCctvCrackdownController extends AbstractController {
}
@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(
fileService.findFilesByJobSeCodeAndJobId(
CmmFileDTO.FileMst.builder()
.jobSeCode(FimsBizUtils.getFileJobSeCode(regltSeCode))
.jobSeCode(FimsBizUtils.getFileJobSeCode(crdnSeCd))
.fileJobId(extrlRegltCntcId)
.build()).stream()
.filter(dtl -> !Objects.equals("png", dtl.getFileExtsn()))
@ -169,11 +169,11 @@ public class EcCctvCrackdownController extends AbstractController {
}
@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(
fileService.findFilesByJobSeCodeAndJobId(
CmmFileDTO.FileMst.builder()
.jobSeCode(FimsBizUtils.getFileJobSeCode(regltSeCode))
.jobSeCode(FimsBizUtils.getFileJobSeCode(crdnSeCd))
.fileJobId(extrlRegltCntcId)
.build()).stream()
.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
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);
}
}

@ -21,25 +21,25 @@ public class FimsBizUtils {
}
public static String getFileJobSeCode(String regltSeCode) {
public static String getFileJobSeCode(String crdnSeCd) {
// 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();
// 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();
// 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();
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();
throw BizRuntimeException.create(MessageKey.CUSTOM_MSG, "데이타 오류[파일정보를 확인해 주세요");
}
public static String getSendNtriPhotoInterfaceFileName(String regltSeCode) {
switch (regltSeCode){
public static String getSendNtriPhotoInterfaceFileName(String crdnSeCd) {
switch (crdnSeCd){
// 고정형CCTV
case "01":
// 이동형CCTV

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

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

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

@ -11,7 +11,7 @@
, trr.rtpyr_id -- 납부자ID
, trr.sgg_cd -- 기관코드
, trr.sys_se_cd -- 시스템코드
, trr.reglt_se_code -- 단속구분코드
, trr.crdn_se_cd -- 단속구분코드
, trr.crdn_inpt_se_cd -- 입력구분코드
, trr.crdn_ymd
, trr.reglt_begin_time -- 단속시작시간
@ -71,8 +71,8 @@
<if test='sysSeCd != null and sysSeCd != ""'>
AND trr.sys_se_cd = #{sysSeCd}
</if>
<if test='regltSeCode != null and regltSeCode != ""'>
AND trr.reglt_se_code = #{regltSeCode}
<if test='crdnSeCd != null and crdnSeCd != ""'>
AND trr.crdn_se_cd = #{crdnSeCd}
</if>
<if test='crdnRegSeCd != null and crdnRegSeCd != ""'>
AND trr.crdn_reg_se_cd = #{crdnRegSeCd}
@ -86,7 +86,7 @@
</if>
</if>
</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 id="selectRtReglt" resultType="kr.xit.fims.biz.rt.RtDTO$Reglt">
@ -108,7 +108,7 @@
crdn_id
, sgg_cd
, sys_se_cd
, reglt_se_code
, crdn_se_cd
, crdn_inpt_se_cd
, crdn_ymd
, reglt_place
@ -129,7 +129,7 @@
LPAD(NEXTVAL(seq_rt_reglt), 16, '0')
, #{sggCd}
, #{sysSeCd}
, #{regltSeCode}
, #{crdnSeCd}
, #{crdnInptSeCd}
, #{crdnYmd}
, #{regltPlace}
@ -152,7 +152,7 @@
<update id="updateRtReglt">
/* rt-reglt-and-erpp-mysql-mapper|updateRtReglt-단속 정보 변경|julim */
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})
, reglt_place = IF(reglt_place = #{regltPlace}, reglt_place, #{regltPlace})
, violt_co = IF(violt_co = #{violtCo}, violt_co, #{violtCo})
@ -460,13 +460,13 @@
JOIN tb_cmm_file_detail tcfd
ON tcfm.file_mastr_id = tcfd.file_mastr_id
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-버스장착형
AND tcfm.file_job_id = (SELECT extrl_reglt_cntc_id
FROM tb_ec_extrl_reglt_cntc
WHERE crdn_id = #{crdnId})
</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))
FROM tb_ec_ctzn_sttemnt_detail
@ -476,7 +476,7 @@
</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)
FROM tb_ec_ctzn_sttemnt_detail

@ -86,7 +86,7 @@ Date Author Description
};
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();
$$Control.load(1);
}
@ -119,7 +119,7 @@ Date Author Description
const gridColumns = [
{
header: '단속구분',
name: 'regltSeCode',
name: 'crdnSeCd',
minWidth: 100,
//editor: 'text',
sortable: false,
@ -129,7 +129,7 @@ Date Author Description
editor: {
type: "select",
options: {
listItems: [...ComboCodeData.regltSeCode]
listItems: [...ComboCodeData.crdnSeCd]
}
}
},

@ -33,7 +33,7 @@ Date Author Description
<tbody>
<tr>
<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 colspan="6">
<input id="folder" type="file" webkitdirectory multiple="false"/>
@ -133,9 +133,9 @@ Date Author Description
******************************* */
const fnBiz = {
getParams: function(){
if($('#regltSeCode').val() === '07') {
if($('#crdnSeCd').val() === '07') {
return {dirPath: $('#busOnlyDirPath').val()};
}else if($('#regltSeCode').val() === '09') {
}else if($('#crdnSeCd').val() === '09') {
return {dirPath: $('#ctznDirPath').val()};
}
return {};
@ -172,8 +172,8 @@ Date Author Description
}
if(confirm("등록 하시겠습니까?")) {
const regltSeCode = $('#regltSeCode').val();
if(regltSeCode !== '07' && regltSeCode !== '09') {
const crdnSeCd = $('#crdnSeCd').val();
if(crdnSeCd !== '07' && crdnSeCd !== '09') {
const formData = new FormData();
arrFiles.forEach((f)=> {
@ -200,14 +200,14 @@ Date Author Description
}else {
const data = {
filePath: regltSeCode === '07' ? $('#busOnlyDirPath').val() : $('#ctznDirPath').val()
filePath: crdnSeCd === '07' ? $('#busOnlyDirPath').val() : $('#ctznDirPath').val()
,fileInfoList: arrChecks.map((row) => {
return {fileNm: row.fileNm, fileType: row.fileType, fileSize: row.fileSize}
})
}
cmmAjax({
<%--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)
,contentType: 'application/json; charset=utf-8'
,success: () => {
@ -220,7 +220,7 @@ Date Author Description
,onComboChange: () => {
$('#totCnt span').text(0);
if($('#regltSeCode').val() === '07') {
if($('#crdnSeCd').val() === '07') {
$('#folder')
.css('display', 'none')
.attr('disabled', true);
@ -234,7 +234,7 @@ Date Author Description
.attr('disabled', true);
search$$s();
}else if($('#regltSeCode').val() === '09'){
}else if($('#crdnSeCd').val() === '09'){
$('#folder')
.css('display', 'none')
.attr('disabled', true);

@ -13,7 +13,7 @@ Date Author Description
<%@ 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/fims/taglib.jsp"%>
<c:set var="citizen" value="<%= FimsConst.RegltSeCode.CITIZEN.getCode() %>"/>
<c:set var="citizen" value="<%= FimsConst.CrdnSeCd.CITIZEN.getCode() %>"/>
<style>
@ -68,7 +68,7 @@ Date Author Description
</td>
<th>자료출처</th>
<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>
</tr>
<tr id="t">
@ -287,7 +287,7 @@ Date Author Description
let callPopup;
let isCtzn = false;
let imgPk = '';
let regltSeCode = '';
let crdnSeCd = '';
let schParam = null;
let extnlCarUrl = '${extnlCarUrl}';
@ -320,9 +320,9 @@ Date Author Description
let dataKey = '';
let curId = '';
let vhrnoCnt = 0;
regltSeCode = res.infoDTO.regltSeCode;
crdnSeCd = res.infoDTO.crdnSeCd;
if(regltSeCode === '${citizen}'){
if(crdnSeCd === '${citizen}'){
isCtzn = true;
imgPk = res.infoDTO.interfaceSeqN;
dataKey = imgPk + ' - ' + res.infoDTO.ctznSttemntDetailSn;
@ -334,14 +334,14 @@ Date Author Description
curId = imgPk;
}
$('#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;]'
);
fnPopupBiz.showCrackdownVhrnoCnt(res.infoDTO.vhrnoCnt);
fnPopupBiz.showMinwonCnt(res.infoDTO.minwonCnt);
schParam = {
crdnId: res.infoDTO?.crdnId,
regltSeCode: res.infoDTO?.regltSeCode,
crdnSeCd: res.infoDTO?.crdnSeCd,
rtpyrId: res.infoDTO.rtpyrId,
vhrno: res.infoDTO.vhrno
}
@ -371,7 +371,7 @@ Date Author Description
cmmAjax({
showSuccessMsg: false
,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) => {
cmmImgDownload('#imgList', res.data?.contents, fnPopupBiz.pagePopup, true);
}
@ -520,7 +520,7 @@ Date Author Description
,extrlRegltCntcId: $('input[name=extrlRegltCntcId]').val()
,interfaceSeqN: $('input[name=interfaceSeqN]').val()
,ctznSttemntDetailSn: $('input[name=ctznSttemntDetailSn]').val()
,regltSeCode: $('select[name=regltSeCode]').val()
,crdnSeCd: $('select[name=crdnSeCd]').val()
,crdnRegSeCd: $('select[name=crdnRegSeCd]').val()
,crdnYmd: $('input[name=crdnYmd]').val().replaceAll('-','')
,regltBeginTime: $('input[name=regltBeginTime]').val()
@ -572,7 +572,7 @@ Date Author Description
,extrlRegltCntcId: $('input[name=extrlRegltCntcId]').val()
,interfaceSeqN: $('input[name=interfaceSeqN]').val()
,ctznSttemntDetailSn: $('input[name=ctznSttemntDetailSn]').val()
,regltSeCode: $('select[name=regltSeCode]').val()
,crdnSeCd: $('select[name=crdnSeCd]').val()
,infoDTO
,ctznDTO
,rtpyrDTO
@ -771,7 +771,7 @@ Date Author Description
fnPopupBiz.search({
crdnId: '${param.crdnId}'
,regltSeCode: '${param.regltSeCode}'
,crdnSeCd: '${param.crdnSeCd}'
,regltProcessSttusCode: '${param.regltProcessSttusCode}'
});

@ -14,7 +14,7 @@ Date Author Description
<%@ include file="/WEB-INF/jsp/include/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="vhrnoCmpl" value="<%= FimsConst.MinwonGubunCode.VHRNO_CMPL.getCode() %>"/>
@ -113,7 +113,7 @@ Date Author Description
</td>
<th>자료출처</th>
<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>
</tr>
<tr>
@ -912,8 +912,8 @@ Date Author Description
,data: params
,success: (res) => {
let curId = '';
const regltSeCode = res.infoDTO.regltSeCode;
if(regltSeCode === '${citizen}'){
const crdnSeCd = res.infoDTO.crdnSeCd;
if(crdnSeCd === '${citizen}'){
curId = res.infoDTO.interfaceSeqN + res.infoDTO.ctznSttemntDetailSn;
}else{
curId = res.infoDTO.extrlRegltCntcId;
@ -1455,7 +1455,7 @@ Date Author Description
fnPopupBiz.search({
crdnId: '${param.crdnId}'
,regltSeCode: '${param.regltSeCode}'
,crdnSeCd: '${param.crdnSeCd}'
,regltProcessSttusCode: '${param.regltProcessSttusCode}'
})

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

@ -21,7 +21,7 @@
<tbody>
<tr>
<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 colspan="6">
<input id="folder" type="file" webkitdirectory multiple="false"/>
@ -153,7 +153,7 @@
}
if(confirm("등록 하시겠습니까?")) {
if($('#regltSeCode').val() !== '07') {
if($('#crdnSeCd').val() !== '07') {
const formData = new FormData();
arrFiles.forEach((f)=> {
@ -200,7 +200,7 @@
,onComboChange: () => {
$('#totCnt span').text(0);
if($('#regltSeCode').val() === '07') {
if($('#crdnSeCd').val() === '07') {
$('#folder')
.css('display', 'none')
.attr('disabled', true);

@ -147,7 +147,7 @@
}
,onClickGrid: function(props){
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);
fnBiz.pagePopup('detail', pageNav.gridInfo.curRowData);
@ -173,7 +173,7 @@
const gridColumns = [
{
header: '단속구분',
name: 'regltSeCode',
name: 'crdnSeCd',
minWidth: 80,
sortable: false,
align: 'center',
@ -182,7 +182,7 @@
editor: {
type: "select",
options: {
listItems: ComboCodeData.regltSeCode
listItems: ComboCodeData.crdnSeCd
}
},
},

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

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

@ -59,7 +59,7 @@ Date Author Description
<div class="col-12">
<label class="form-label fw-bold form-search-title">단속구분</label>
<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="단속구분" />
</span>
</div>
@ -271,7 +271,7 @@ Date Author Description
,sch_date_to: $('#sch_date_to').val()
,[$('#sch_opt').val()]: $('#sch_word').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()
,ctznAnsYn: $('input:radio[name=ctznAnsYn]:checked').val()
}
@ -317,7 +317,7 @@ Date Author Description
case 'cvplRceptNo':
popupDiv = 'edit';
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);
@ -339,7 +339,7 @@ Date Author Description
$('#divAnswer').hide();
$('#ansDiv').hide();
$('#regltProcessSttusCode').show();
$('#fldRegltSeCode').show();
$('#fldCrdnSeCd').show();
break;
case 1:
$('#btnExtrRegist').hide();
@ -347,7 +347,7 @@ Date Author Description
$('#divAnswer').hide();
$('#ansDiv').hide();
$('#regltProcessSttusCode').show();
$('#fldRegltSeCode').show();
$('#fldCrdnSeCd').show();
break;
case 2:
$('#btnExtrRegist').hide();
@ -355,14 +355,14 @@ Date Author Description
$('#divAnswer').show();
$('#ansDiv').show();
$('#regltProcessSttusCode').show();
$('#fldRegltSeCode').hide();
$('#fldCrdnSeCd').hide();
break;
}
}
,onDblClickGrid: function (props) {
popupDiv = 'total';
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);
@ -419,10 +419,10 @@ Date Author Description
return false;
}
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 {
crdnId: row.crdnId
,regltSeCode: row.regltSeCode
,crdnSeCd: row.crdnSeCd
,extnlInterfaceId
,vhrno: row.vhrno
,cvplRceptNo: row.cvplRceptNo
@ -511,7 +511,7 @@ Date Author Description
formatter: (props)=>{
const rowData = props.grid.getRow(props.rowKey);
return {
formatter: rowData.regltSeCode === '09' ? rowData.cvplRceptNo : rowData.extrlRegltCntcId
formatter: rowData.crdnSeCd === '09' ? rowData.cvplRceptNo : rowData.extrlRegltCntcId
,element: "text"
,dataAttrs : {
bsToggle: "tooltip",
@ -547,7 +547,7 @@ Date Author Description
{
header: '신고방법',
name: 'regltSeCode',
name: 'crdnSeCd',
minWidth: 100,
sortable: false,
align: 'center',
@ -556,7 +556,7 @@ Date Author Description
editor: {
type: "select",
options: {
listItems: [...ComboCodeData.regltSeCode]
listItems: [...ComboCodeData.crdnSeCd]
}
}
},

@ -160,7 +160,7 @@
}
,onClickGrid: function(props){
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);
fnBiz.pagePopup('main', pageNav.gridInfo.curRowData);
@ -199,7 +199,7 @@
},
{
header: '단속구분',
name: 'regltSeCode',
name: 'crdnSeCd',
minWidth: 80,
sortable: false,
align: 'center',
@ -208,7 +208,7 @@
editor: {
type: "select",
options: {
listItems: ComboCodeData.regltSeCode
listItems: ComboCodeData.crdnSeCd
}
},
},

@ -37,7 +37,7 @@
<th>과태료코드</th>
<td><code:select id="sysSeCd" name="sysSeCd" grpId="FIM001" defaultSelect="${dto.sysSeCd}" title="과태료코드" cls="form-select" alt="과태료코드"/></td>
<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>
<th>차량번호</th>
@ -239,7 +239,7 @@
$(document).ready(function(){
orgData = $('form').serialize();
downloadImgParam = {crdnId: '${dto.crdnId}', regltSeCode: '${dto.regltSeCode}'};
downloadImgParam = {crdnId: '${dto.crdnId}', crdnSeCd: '${dto.crdnSeCd}'};
fnBiz.downloadImg();
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/fims/taglib.jsp" %>
<!-- 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">
<form name="frmSearch" id="frmSearch">

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

Loading…
Cancel
Save