refactor : 차량번호 컬럼 변경

main
이범준 2 years ago
parent 184b2f610e
commit 783eb064ed

@ -331,7 +331,7 @@ $("#btnClose").on('click', () => {
@SuperBuilder @SuperBuilder
public static class Parents { public static class Parents {
private String regltId; private String regltId;
private String vhcleNo; private String vhrno;
} }
@Data @Data
@ -341,7 +341,7 @@ $("#btnClose").on('click', () => {
@SuperBuilder @SuperBuilder
public static class Child extends Parents { public static class Child extends Parents {
private String regltId; private String regltId;
private String vhcleNo; private String vhrno;
} }
``` ```

@ -197,7 +197,7 @@ public class FimsConst {
@AllArgsConstructor @AllArgsConstructor
public enum MinwonGubunCode { public enum MinwonGubunCode {
COMPLAIN("0", "민원"), COMPLAIN("0", "민원"),
VHCLE_NO_CMPL("1", "차량번호"), VHRNO_CMPL("1", "차량번호"),
; ;
private final String code; private final String code;

@ -23,7 +23,7 @@ public class FimsCrackdownDTO {
/** /**
* *
*/ */
private int vhcleNoCnt; private int vhrnoCnt;
/** /**
* *
*/ */
@ -71,7 +71,7 @@ public class FimsCrackdownDTO {
private String regltPlace; private String regltPlace;
private String violtDtlsNm; private String violtDtlsNm;
private String vhcleNo; private String vhrno;
} }
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@ -101,7 +101,7 @@ public class FimsCrackdownDTO {
@Builder @Builder
public static class SaveRequest { public static class SaveRequest {
private String regltId; private String regltId;
private String vhcleNo; private String vhrno;
/** /**
* *
@ -160,7 +160,7 @@ public class FimsCrackdownDTO {
private String tmplatId; private String tmplatId;
private String answerSeCode; private String answerSeCode;
private String resnCode; private String resnCode;
private String vhcleNo; private String vhrno;
} }
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@ -203,6 +203,6 @@ public class FimsCrackdownDTO {
public static class CtznCmpltRequest { public static class CtznCmpltRequest {
private String regltId; private String regltId;
private String payerId; private String payerId;
private String vhcleNo; private String vhrno;
} }
} }

@ -45,7 +45,7 @@ public class NtriDTO {
* ID * ID
*/ */
private String extnlInterfaceId; private String extnlInterfaceId;
private String vhcleNo; private String vhrno;
/** /**
* *
*/ */
@ -74,7 +74,7 @@ public class NtriDTO {
*/ */
@NotEmpty @NotEmpty
@Size(min = 30, max = 30, message = "차량번호") @Size(min = 30, max = 30, message = "차량번호")
private String vhcleNo; private String vhrno;
/** /**
* : 2 - * : 2 -
*/ */
@ -173,7 +173,7 @@ public class NtriDTO {
*/ */
@NotEmpty @NotEmpty
@Size(min = 10, max = 10, message = "자동차등록번호판위치x축") @Size(min = 10, max = 10, message = "자동차등록번호판위치x축")
private String vhcleNoX; private String vhrnoX;
/** /**
* Y: 10 * Y: 10
@ -182,7 +182,7 @@ public class NtriDTO {
*/ */
@NotEmpty @NotEmpty
@Size(min = 10, max = 10, message = "자동차등록번호판위치y축") @Size(min = 10, max = 10, message = "자동차등록번호판위치y축")
private String vhcleNoY; private String vhrnoY;
/** /**
* : 3 * : 3
@ -217,8 +217,8 @@ public class NtriDTO {
this.regltDeTime = StringUtils.rightPad(nvl(regltDeTime), 14, ""); this.regltDeTime = StringUtils.rightPad(nvl(regltDeTime), 14, "");
} }
public void setVhcleNo(String vhcleNo) { public void setVhrno(String vhrno) {
this.vhcleNo = StringUtils.rightPad(nvl(vhcleNo), 30, " "); this.vhrno = StringUtils.rightPad(nvl(vhrno), 30, " ");
} }
public void setRegltSeCode(String regltSeCode) { public void setRegltSeCode(String regltSeCode) {
@ -265,12 +265,12 @@ public class NtriDTO {
this.gpsY = StringUtils.rightPad(nvl(gpsY), 20, " "); this.gpsY = StringUtils.rightPad(nvl(gpsY), 20, " ");
} }
public void setVhcleNoX(String vhcleNoX) { public void setVhrnoX(String vhrnoX) {
this.vhcleNoX = StringUtils.rightPad(nvl(vhcleNoX), 10, " "); this.vhrnoX = StringUtils.rightPad(nvl(vhrnoX), 10, " ");
} }
public void setVhcleNoY(String vhcleNoY) { public void setVhrnoY(String vhrnoY) {
this.vhcleNoY = StringUtils.rightPad(nvl(vhcleNoY), 10, " "); this.vhrnoY = StringUtils.rightPad(nvl(vhrnoY), 10, " ");
} }
public void setImageNmrs(String imageNmrs) { public void setImageNmrs(String imageNmrs) {
@ -288,7 +288,7 @@ public class NtriDTO {
public String toString(String ifId) { public String toString(String ifId) {
final StringBuilder sb = new StringBuilder(); final StringBuilder sb = new StringBuilder();
sb.append(regltDeTime).append('|'); sb.append(regltDeTime).append('|');
sb.append(vhcleNo).append('|'); sb.append(vhrno).append('|');
sb.append(regltSeCode).append('|'); sb.append(regltSeCode).append('|');
sb.append(regltEqpmnManageNo).append('|'); sb.append(regltEqpmnManageNo).append('|');
sb.append(violtDtlsCode).append('|'); sb.append(violtDtlsCode).append('|');
@ -329,8 +329,8 @@ public class NtriDTO {
if(SendNtriPhotoInterfaceId.BUS_ONLY_INTO_FILE.getCode().equals(ifId) if(SendNtriPhotoInterfaceId.BUS_ONLY_INTO_FILE.getCode().equals(ifId)
){ ){
sb.append(vhcleNoX).append('|'); sb.append(vhrnoX).append('|');
sb.append(vhcleNoY).append('|'); sb.append(vhrnoY).append('|');
} }
if(SendNtriPhotoInterfaceId.PARK_INTO_FILE.getCode().equals(ifId) if(SendNtriPhotoInterfaceId.PARK_INTO_FILE.getCode().equals(ifId)
@ -362,7 +362,7 @@ public class NtriDTO {
@Builder @Builder
public static class PhotoFileError implements Serializable { public static class PhotoFileError implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
private String vhcleNo; private String vhrno;
private String fullFilePath; private String fullFilePath;
private String orginlFileNm; private String orginlFileNm;

@ -37,6 +37,6 @@ public interface FimsCrackdownMgtMapper {
void insertCtznSttemntCmplt(FimsCrackdownDTO.CtznSttemntCmplt dto); void insertCtznSttemntCmplt(FimsCrackdownDTO.CtznSttemntCmplt dto);
int selectCrackdownVhcleNoCnt(final String vhcleNo); int selectCrackdownVhrnoCnt(final String vhrno);
<T> NtriDTO.CrackdownPhotoLayout selectCrackdownPhotoLayout(T t); <T> NtriDTO.CrackdownPhotoLayout selectCrackdownPhotoLayout(T t);
} }

@ -35,7 +35,7 @@ public interface FimsCrackdownMgtService {
void addCtznStmtAnswers(final List<String> interfaceSeqList); void addCtznStmtAnswers(final List<String> interfaceSeqList);
int findCrackdownVhcleNoCnt(final String vhcleNo); int findCrackdownVhrnoCnt(final String vhrno);
Map<String,Object> sendCrackdownPhotoToNtri(final List<NtriDTO.PhotoSendRequest> dtoList); Map<String,Object> sendCrackdownPhotoToNtri(final List<NtriDTO.PhotoSendRequest> dtoList);

@ -145,9 +145,9 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
// 시민신고인 경우 // 시민신고인 경우
if(FimsConst.RegltSeCode.CITIZEN.getCode().equals(saveDTO.getRegltSeCode()) if(FimsConst.RegltSeCode.CITIZEN.getCode().equals(saveDTO.getRegltSeCode())
&& (Checks.isNotEmpty(saveDTO.getInterfaceSeqN()) && Checks.isNotEmpty(saveDTO.getCtznSttemntDetailSn()))) { && (Checks.isNotEmpty(saveDTO.getInterfaceSeqN()) && Checks.isNotEmpty(saveDTO.getCtznSttemntDetailSn()))) {
ctznDTO.setVhcleNo(infoDTO.getVhcleNo()); ctznDTO.setVhrno(infoDTO.getVhrno());
ctznDTO.setMdfr(getUserInfo().getUniqId()); ctznDTO.setMdfr(getUserInfo().getUniqId());
ecCtznSttemntMapper.updateVhcleNoOfEcCtznSttemntDetail(ctznDTO); ecCtznSttemntMapper.updateVhrnoOfEcCtznSttemntDetail(ctznDTO);
updateCtznAndAnswer(saveDTO, infoDTO, FimsConst.CtznStmtDtlStsCode.ACCEPTANCE.getCode(), updateCtznAndAnswer(saveDTO, infoDTO, FimsConst.CtznStmtDtlStsCode.ACCEPTANCE.getCode(),
FimsConst.AnswerSeCode.IMPOSE.getCode(), "01"); FimsConst.AnswerSeCode.IMPOSE.getCode(), "01");
} }
@ -214,9 +214,9 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
if(FimsConst.RegltSeCode.CITIZEN.getCode().equals(saveDTO.getRegltSeCode()) if(FimsConst.RegltSeCode.CITIZEN.getCode().equals(saveDTO.getRegltSeCode())
&& (Checks.isNotEmpty(saveDTO.getInterfaceSeqN()) && Checks.isNotEmpty(saveDTO.getCtznSttemntDetailSn()))) { && (Checks.isNotEmpty(saveDTO.getInterfaceSeqN()) && Checks.isNotEmpty(saveDTO.getCtznSttemntDetailSn()))) {
ctznDTO.setVhcleNo(infoDTO.getVhcleNo()); ctznDTO.setVhrno(infoDTO.getVhrno());
ctznDTO.setMdfr(getUserInfo().getUniqId()); ctznDTO.setMdfr(getUserInfo().getUniqId());
ecCtznSttemntMapper.updateVhcleNoOfEcCtznSttemntDetail(ctznDTO); ecCtznSttemntMapper.updateVhrnoOfEcCtznSttemntDetail(ctznDTO);
updateCtznAndAnswer(saveDTO, infoDTO, FimsConst.CtznStmtDtlStsCode.ACCEPTANCE.getCode(), updateCtznAndAnswer(saveDTO, infoDTO, FimsConst.CtznStmtDtlStsCode.ACCEPTANCE.getCode(),
FimsConst.AnswerSeCode.ENLIGHT.getCode(), infoDTO.getEnlightResnCode()); FimsConst.AnswerSeCode.ENLIGHT.getCode(), infoDTO.getEnlightResnCode());
@ -266,11 +266,11 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
// 시민신고인 경우 // 시민신고인 경우
if(FimsConst.RegltSeCode.CITIZEN.getCode().equals(saveDTO.getRegltSeCode()) if(FimsConst.RegltSeCode.CITIZEN.getCode().equals(saveDTO.getRegltSeCode())
&& (Checks.isNotEmpty(saveDTO.getInterfaceSeqN()) && Checks.isNotEmpty(saveDTO.getCtznSttemntDetailSn()))) { && (Checks.isNotEmpty(saveDTO.getInterfaceSeqN()) && Checks.isNotEmpty(saveDTO.getCtznSttemntDetailSn()))) {
ecCtznSttemntMapper.updateVhcleNoOfEcCtznSttemntDetail( ecCtznSttemntMapper.updateVhrnoOfEcCtznSttemntDetail(
CtznStmtDTO.Dtl.builder() CtznStmtDTO.Dtl.builder()
.interfaceSeqN(saveDTO.getInterfaceSeqN()) .interfaceSeqN(saveDTO.getInterfaceSeqN())
.ctznSttemntDetailSn(saveDTO.getCtznSttemntDetailSn()) .ctznSttemntDetailSn(saveDTO.getCtznSttemntDetailSn())
.vhcleNo(infoDTO.getVhcleNo()) .vhrno(infoDTO.getVhrno())
.mdfr(getUserInfo().getUniqId()) .mdfr(getUserInfo().getUniqId())
.build() .build()
); );
@ -407,7 +407,7 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
ansReqDTO.setTmplatId(FimsConst.TmplatId.CTZN.getCode()); ansReqDTO.setTmplatId(FimsConst.TmplatId.CTZN.getCode());
ansReqDTO.setAnswerSeCode(answerSeCode); ansReqDTO.setAnswerSeCode(answerSeCode);
ansReqDTO.setResnCode(resnCode); ansReqDTO.setResnCode(resnCode);
ansReqDTO.setVhcleNo(infoDTO.getVhcleNo()); ansReqDTO.setVhrno(infoDTO.getVhrno());
String ansTxt = getAnswerText(mapper.selectCtznAnswerTmplInfo(ansReqDTO)); String ansTxt = getAnswerText(mapper.selectCtznAnswerTmplInfo(ansReqDTO));
@ -422,8 +422,8 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
} }
} }
public int findCrackdownVhcleNoCnt(final String vhcleNo){ public int findCrackdownVhrnoCnt(final String vhrno){
return mapper.selectCrackdownVhcleNoCnt(vhcleNo); return mapper.selectCrackdownVhrnoCnt(vhrno);
} }
/** /**

@ -273,9 +273,9 @@ public class FimsCrackDownMgtController extends AbstractController {
return mav; return mav;
} }
@RequestMapping(name = "", value = "/findCrackdownVhcleNoCnt") @RequestMapping(name = "", value = "/findCrackdownVhrnoCnt")
public ModelAndView findCrackdownVhcleNoCnt(final String vhcleNo){ public ModelAndView findCrackdownVhrnoCnt(final String vhrno){
return ResultResponse.of(service.findCrackdownVhcleNoCnt(vhcleNo)); return ResultResponse.of(service.findCrackdownVhrnoCnt(vhrno));
} }
/** /**

@ -43,7 +43,7 @@ public class CctvCrackdownDTO {
private String regltTime; private String regltTime;
// 차량번호 : 32 ~ 43(12) // 차량번호 : 32 ~ 43(12)
private String vhcleNo; private String vhrno;
// 번호판 X 좌표 : 44 ~ 47(4) // 번호판 X 좌표 : 44 ~ 47(4)
private String carNumXPos; private String carNumXPos;
@ -123,7 +123,7 @@ public class CctvCrackdownDTO {
/** /**
* *
*/ */
private String vhcleNo; private String vhrno;
/** /**
* *
*/ */

@ -106,7 +106,7 @@ public class CtznStmtDTO { //extends ExtlEsbDataType {
/** /**
* <pre> * <pre>
* *
* vhcleNo:( ""), idx: , lastIdx: ( ) * vhrno:( ""), idx: , lastIdx: ( )
* </pre> * </pre>
*/ */
private List<DupData> dupDataList = new ArrayList<>(); private List<DupData> dupDataList = new ArrayList<>();
@ -137,7 +137,7 @@ public class CtznStmtDTO { //extends ExtlEsbDataType {
* ------- * -------
* </pre> * </pre>
*/ */
private String vhcleNo; private String vhrno;
/** /**
* <pre> * <pre>
* *

@ -19,7 +19,7 @@ public interface EcCtznSttemntMapper {
int insertEcCtznSttemnt(final CtznStmtDTO.Mst dto); int insertEcCtznSttemnt(final CtznStmtDTO.Mst dto);
int insertEcCtznSttemntDetail(final CtznStmtDTO.Dtl dtl); int insertEcCtznSttemntDetail(final CtznStmtDTO.Dtl dtl);
<T> int updateVhcleNoOfEcCtznSttemntDetail(final T t); <T> int updateVhrnoOfEcCtznSttemntDetail(final T t);
int deleteEcCtznSttemntDetail(final CtznStmtDTO.Dtl dtl); int deleteEcCtznSttemntDetail(final CtznStmtDTO.Dtl dtl);

@ -184,7 +184,7 @@ public class EcCctvCrackdownServiceBean extends AbstractServiceBean implements E
.builder() .builder()
.sysCode(getUserInfo().getOrgnztId()) .sysCode(getUserInfo().getOrgnztId())
.insttCode(getUserInfo().getPstinstCode()) .insttCode(getUserInfo().getPstinstCode())
.vhcleNo(busOnlyDTO.getVhcleNo()) .vhrno(busOnlyDTO.getVhrno())
//.regltDongNm(mdInfos[1]) //.regltDongNm(mdInfos[1])
//.regltPlace(mdInfos[2]) //.regltPlace(mdInfos[2])
//.법규 //.법규
@ -308,7 +308,7 @@ public class EcCctvCrackdownServiceBean extends AbstractServiceBean implements E
String[] mdInfos = metaFileInfos.get(0).split(","); String[] mdInfos = metaFileInfos.get(0).split(",");
return CctvCrackdownDTO.ExtrlRegltCntc.builder() return CctvCrackdownDTO.ExtrlRegltCntc.builder()
.vhcleNo(mdInfos[0]) .vhrno(mdInfos[0])
.regltDongNm(mdInfos[1]) .regltDongNm(mdInfos[1])
.regltPlace(mdInfos[2]) .regltPlace(mdInfos[2])
.violtLrgNm(mdInfos[3]) .violtLrgNm(mdInfos[3])

@ -76,7 +76,7 @@ public class EcCtznSttemntServiceBean extends AbstractServiceBean implements EcC
@Transactional @Transactional
public void modifyEcCtznSttemntDetail(final CtznStmtDTO.Dtl dto) { public void modifyEcCtznSttemntDetail(final CtznStmtDTO.Dtl dto) {
dto.setMdfr(getUserInfo().getUniqId()); dto.setMdfr(getUserInfo().getUniqId());
mapper.updateVhcleNoOfEcCtznSttemntDetail(dto); mapper.updateVhrnoOfEcCtznSttemntDetail(dto);
} }
@Override @Override

@ -176,7 +176,7 @@ public class EcNatlNewspaperServiceBean extends AbstractServiceBean implements E
} }
CtznStmtDTO.DupData dupDataDTO = ctznStmtDTO.getDupDataList().stream() CtznStmtDTO.DupData dupDataDTO = ctznStmtDTO.getDupDataList().stream()
.filter(d -> Objects.equals(d.getSttemntDetailDTO().getVhcleNo(), dtl.getVhcleNo())) .filter(d -> Objects.equals(d.getSttemntDetailDTO().getVhrno(), dtl.getVhrno()))
.findFirst() .findFirst()
.get(); .get();
@ -287,9 +287,9 @@ public class EcNatlNewspaperServiceBean extends AbstractServiceBean implements E
//차량번호 //차량번호
if(isFirst) carNo = (arrSrc.length > 1)? arrSrc[1]: ""; if(isFirst) carNo = (arrSrc.length > 1)? arrSrc[1]: "";
dtlDto.setVhcleNo((arrSrc.length > 1)? arrSrc[1]: ""); dtlDto.setVhrno((arrSrc.length > 1)? arrSrc[1]: "");
if(!isFirst && !Objects.equals(carNo, dtlDto.getVhcleNo())) dto.setSingle(false); if(!isFirst && !Objects.equals(carNo, dtlDto.getVhrno())) dto.setSingle(false);
//공통 추가 항목 //공통 추가 항목
@ -314,7 +314,7 @@ public class EcNatlNewspaperServiceBean extends AbstractServiceBean implements E
int finalIdx = idx; int finalIdx = idx;
AtomicBoolean isDup = new AtomicBoolean(false); AtomicBoolean isDup = new AtomicBoolean(false);
dto.getDupDataList().forEach(dupData -> { dto.getDupDataList().forEach(dupData -> {
if(Objects.equals(dupData.getSttemntDetailDTO().getVhcleNo(), tgt.getVhcleNo())){ if(Objects.equals(dupData.getSttemntDetailDTO().getVhrno(), tgt.getVhrno())){
dupData.getIndexs().add(finalIdx); dupData.getIndexs().add(finalIdx);
isDup.set(true); isDup.set(true);
} }
@ -335,7 +335,7 @@ public class EcNatlNewspaperServiceBean extends AbstractServiceBean implements E
// 중복제거(동일 차량 번호중 단속일시가 가장 늦은것 pick) // 중복제거(동일 차량 번호중 단속일시가 가장 늦은것 pick)
// 차량번호가 없는 경우가 존재하여 체크로직 추가 // 차량번호가 없는 경우가 존재하여 체크로직 추가
dtlList = FunctionUtils.removeDuplication(dtlList, dtl -> { dtlList = FunctionUtils.removeDuplication(dtlList, dtl -> {
if(Checks.isNotEmpty(dtl.getVhcleNo())) return dtl.getVhcleNo(); if(Checks.isNotEmpty(dtl.getVhrno())) return dtl.getVhrno();
return dtl; return dtl;
}); });

@ -110,7 +110,7 @@ public class RtDTO {
/** /**
* *
*/ */
private String vhcleNo; private String vhrno;
/** /**
* *
*/ */
@ -613,7 +613,7 @@ public class RtDTO {
@SuperBuilder @SuperBuilder
public static class Request{ public static class Request{
private String regltId; private String regltId;
private String vhcleNo; private String vhrno;
/** /**
* *

@ -18,7 +18,7 @@ public interface RtCrackdownMgtMapper {
List<RtDTO.Reglt> selectRtReglts(final Map<String,Object> paraMap, final RowBounds rowBounds); List<RtDTO.Reglt> selectRtReglts(final Map<String,Object> paraMap, final RowBounds rowBounds);
<T> RtDTO.Reglt selectRtReglt(final T t); <T> RtDTO.Reglt selectRtReglt(final T t);
<T> List<RtDTO.Reglt> selectRtRegltByVhcleNo(final T t); <T> List<RtDTO.Reglt> selectRtRegltByVhrno(final T t);
<T> RtDTO.Payer selectRtPayer(final T t); <T> RtDTO.Payer selectRtPayer(final T t);
void insertRtReglt(final RtDTO.Reglt dto); void insertRtReglt(final RtDTO.Reglt dto);

@ -17,7 +17,7 @@ public interface RtCrackdownMgtService {
List<RtDTO.Reglt> findRtReglts(final Map<String,Object> paraMap, final RowBounds rowBounds); List<RtDTO.Reglt> findRtReglts(final Map<String,Object> paraMap, final RowBounds rowBounds);
<T> RtDTO.Reglt findRtReglt(final T t); <T> RtDTO.Reglt findRtReglt(final T t);
<T> List<RtDTO.Reglt> findRtRegltByVhcleNo(final T t); <T> List<RtDTO.Reglt> findRtRegltByVhrno(final T t);
void addRtReglt(final RtDTO.Reglt dto); void addRtReglt(final RtDTO.Reglt dto);
void modifyRtReglt(final RtDTO.Reglt dto); void modifyRtReglt(final RtDTO.Reglt dto);
void removeRtReglt(final RtDTO.Reglt dto); void removeRtReglt(final RtDTO.Reglt dto);

@ -34,8 +34,8 @@ public class RtCrackdownMgtServiceBean extends AbstractServiceBean implements Rt
@Override @Override
@Transactional(readOnly = true) @Transactional(readOnly = true)
public <T> List<RtDTO.Reglt> findRtRegltByVhcleNo(final T t) { public <T> List<RtDTO.Reglt> findRtRegltByVhrno(final T t) {
return mapper.selectRtRegltByVhcleNo(t); return mapper.selectRtRegltByVhrno(t);
} }
@Override @Override

@ -84,9 +84,9 @@ public class RtCrackdownMgtController extends AbstractController {
return ResultResponse.of(service.findRtReglt(dto)); return ResultResponse.of(service.findRtReglt(dto));
} }
@GetMapping(name = "", value = "/findRtRegltByVhcleNo") @GetMapping(name = "", value = "/findRtRegltByVhrno")
public ModelAndView findRtRegltByVhcleNo(final RtDTO.Request dto) { public ModelAndView findRtRegltByVhrno(final RtDTO.Request dto) {
return ResultResponse.of(service.findRtRegltByVhcleNo(dto)); return ResultResponse.of(service.findRtRegltByVhrno(dto));
} }
@RequestMapping(name = "", value = "/findRtRegltAndAttchFiles") @RequestMapping(name = "", value = "/findRtRegltAndAttchFiles")

@ -489,12 +489,12 @@ public class CommonUtil {
* - : 31(,,,), 32(,,,), 35(,,), 36() * - : 31(,,,), 32(,,,), 35(,,), 36()
* - : 33(,,,), 34(,,,), 37() * - : 33(,,,), 34(,,,), 37()
* </pre> * </pre>
* @param vhcle_no * @param vhrno
* @return boolean * @return boolean
* @author: * @author:
* @date: 2019. 10. 4. * @date: 2019. 10. 4.
*/ */
public static boolean isTaxiOfSeoul(String vhcle_no) public static boolean isTaxiOfSeoul(String vhrno)
{ {
Map<String, String> mTaxi = new HashMap<String, String>(); Map<String, String> mTaxi = new HashMap<String, String>();
mTaxi.put("서울31바", ""); mTaxi.put("서울31바", "");
@ -522,15 +522,15 @@ public class CommonUtil {
try{ try{
//지역 확인 //지역 확인
if (!vhcle_no.startsWith("서울")) if (!vhrno.startsWith("서울"))
return false; return false;
//차량번호 길이 확인 //차량번호 길이 확인
if (vhcle_no.length() != 9) if (vhrno.length() != 9)
return false; return false;
//차량번호 유효성 확인 //차량번호 유효성 확인
if (mTaxi.containsKey(vhcle_no.substring(0,5))) if (mTaxi.containsKey(vhrno.substring(0,5)))
return true; return true;
return false; return false;

@ -70,7 +70,7 @@ public class ExtnlInterfaceUtils {
pos += 6; pos += 6;
// 차량번호 : 32 ~ 43(12) // 차량번호 : 32 ~ 43(12)
dto.setVhcleNo(readBuff(raf, pos, 12, "euc-kr")); dto.setVhrno(readBuff(raf, pos, 12, "euc-kr"));
pos += 12; pos += 12;
// 번호판 X 좌표 : 44 ~ 47(4) // 번호판 X 좌표 : 44 ~ 47(4)
@ -213,7 +213,7 @@ public class ExtnlInterfaceUtils {
fileNm = String.format( fileNm = String.format(
"%s_%s_01_%s_01_%s_1_0000000000_000_000_%d.jpg", "%s_%s_01_%s_01_%s_1_0000000000_000_000_%d.jpg",
layoutDTO.getRegltDeTime(), layoutDTO.getRegltDeTime(),
layoutDTO.getVhcleNo().trim(), layoutDTO.getVhrno().trim(),
"CCTV1", "CCTV1",
layoutDTO.getRegltPlace().trim(), layoutDTO.getRegltPlace().trim(),
index); index);
@ -248,7 +248,7 @@ public class ExtnlInterfaceUtils {
f.delete(); f.delete();
}); });
//FileUtils.removeDirectyAndFiles(tgtPath); //FileUtils.removeDirectyAndFiles(tgtPath);
return new NtriDTO.PhotoFileError(paramDTO.getVhcleNo(), return new NtriDTO.PhotoFileError(paramDTO.getVhrno(),
String.format("%s%s", uploadRootPath + dtl.getFileCours(), dtl.getFileId()), String.format("%s%s", uploadRootPath + dtl.getFileCours(), dtl.getFileId()),
dtl.getOrginlFileNm()); dtl.getOrginlFileNm());
} }

@ -606,12 +606,12 @@ public class XitCmmnUtil {
* - : 31(,,,), 32(,,,), 35(,,), 36() * - : 31(,,,), 32(,,,), 35(,,), 36()
* - : 33(,,,), 34(,,,), 37() * - : 33(,,,), 34(,,,), 37()
* </pre> * </pre>
* @param vhcle_no * @param vhrno
* @return boolean * @return boolean
* @author: * @author:
* @date: 2019. 10. 4. * @date: 2019. 10. 4.
*/ */
public static boolean isTaxiOfSeoul(String vhcle_no) public static boolean isTaxiOfSeoul(String vhrno)
{ {
Map<String, String> mTaxi = new HashMap<String, String>(); Map<String, String> mTaxi = new HashMap<String, String>();
mTaxi.put("서울31바", ""); mTaxi.put("서울31바", "");
@ -639,15 +639,15 @@ public class XitCmmnUtil {
try{ try{
//지역 확인 //지역 확인
if (!vhcle_no.startsWith("서울")) if (!vhrno.startsWith("서울"))
return false; return false;
//차량번호 길이 확인 //차량번호 길이 확인
if (vhcle_no.length() != 9) if (vhrno.length() != 9)
return false; return false;
//차량번호 유효성 확인 //차량번호 유효성 확인
if (mTaxi.containsKey(vhcle_no.substring(0,5))) if (mTaxi.containsKey(vhrno.substring(0,5)))
return true; return true;
return false; return false;

@ -32,7 +32,7 @@
, trr.rciv_amount -- 수납금액 , trr.rciv_amount -- 수납금액
, trr.rdcamt -- 감액 , trr.rdcamt -- 감액
, trr.adamt -- 가산금 , trr.adamt -- 가산금
, trr.vhcle_no -- 차량번호 , trr.vhrno -- 차량번호
, trr.vhcle_nm -- 차량명 , trr.vhcle_nm -- 차량명
, trr.vhcty_cl_code -- 차종분류코드 , trr.vhcty_cl_code -- 차종분류코드
, trr.vhcty_asort_code -- 차종종별코드 , trr.vhcty_asort_code -- 차종종별코드
@ -65,8 +65,8 @@
, IF(trr.reglt_se_code = '09', tecsd.violt_dtls_nm, teerc.violt_dtls_nm) AS violtDtlsNm -- 위반내용 , IF(trr.reglt_se_code = '09', tecsd.violt_dtls_nm, teerc.violt_dtls_nm) AS violtDtlsNm -- 위반내용
, (SELECT COUNT(reglt_id) , (SELECT COUNT(reglt_id)
FROM tb_rt_reglt tgt FROM tb_rt_reglt tgt
WHERE tgt.vhcle_no = trr.vhcle_no WHERE tgt.vhrno = trr.vhrno
AND NOT NULLIF(trr.vhcle_no, '') IS NULL) AS vhcleNoCnt AND NOT NULLIF(trr.vhrno, '') IS NULL) AS vhrnoCnt
, (SELECT COUNT(cmplt_id) , (SELECT COUNT(cmplt_id)
FROM tb_ec_ctzn_sttemnt_cmplt tgt FROM tb_ec_ctzn_sttemnt_cmplt tgt
WHERE EXISTS(SELECT 1 WHERE EXISTS(SELECT 1
@ -76,8 +76,8 @@
AND payer_id = trr.payer_id AND payer_id = trr.payer_id
) )
OR ( OR (
NOT NULLIF(trr.vhcle_no, '') IS NULL NOT NULLIF(trr.vhrno, '') IS NULL
AND tgt.vhcle_no = trr.vhcle_no AND tgt.vhrno = trr.vhrno
) )
) AS minwonCnt ) AS minwonCnt
FROM tb_rt_reglt trr FROM tb_rt_reglt trr
@ -120,8 +120,8 @@
<if test='sch_date_opt eq "regDt"'> <if test='sch_date_opt eq "regDt"'>
AND SUBSTR(trr.reg_dt,1,8) BETWEEN REPLACE(#{sch_date_from},'-','') AND REPLACE(#{sch_date_to},'-','') AND SUBSTR(trr.reg_dt,1,8) BETWEEN REPLACE(#{sch_date_from},'-','') AND REPLACE(#{sch_date_to},'-','')
</if> </if>
<if test='vhcleNo != null and vhcleNo != ""'> <if test='vhrno != null and vhrno != ""'>
AND INSTR(trr.vhcle_no, #{vhcleNo}) > 0 AND INSTR(trr.vhrno, #{vhrno}) > 0
</if> </if>
<if test='sysCode != null and sysCode != ""'> <if test='sysCode != null and sysCode != ""'>
AND trr.sys_code = #{sysCode} AND trr.sys_code = #{sysCode}
@ -136,7 +136,7 @@
ORDER BY trr.sys_code, trr.reglt_se_code ORDER BY trr.sys_code, trr.reglt_se_code
, 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.reglt_de, trr.vhcle_no, trr.reglt_begin_time , trr.reglt_de, trr.vhrno, trr.reglt_begin_time
</select> </select>
@ -198,7 +198,7 @@
, image_nmrs = IF(image_nmrs = #{imageNmrs}, image_nmrs, #{imageNmrs}) , image_nmrs = IF(image_nmrs = #{imageNmrs}, image_nmrs, #{imageNmrs})
, reglt_place = IF(reglt_place = #{regltPlace}, reglt_place, #{regltPlace}) , reglt_place = IF(reglt_place = #{regltPlace}, reglt_place, #{regltPlace})
, violt_stdg_cd = IF(violt_stdg_cd = #{violtStdgCd}, violt_stdg_cd, #{violtStdgCd}) , violt_stdg_cd = IF(violt_stdg_cd = #{violtStdgCd}, violt_stdg_cd, #{violtStdgCd})
, vhcle_no = IF(vhcle_no = #{vhcleNo}, vhcle_no, #{vhcleNo}) , vhrno = IF(vhrno = #{vhrno}, vhrno, #{vhrno})
, vhcle_nm = IF(vhcle_nm = #{vhcleNm}, vhcle_nm, #{vhcleNm}) , vhcle_nm = IF(vhcle_nm = #{vhcleNm}, vhcle_nm, #{vhcleNm})
, vin = IF(vin = #{vin}, vin, #{vin}) , vin = IF(vin = #{vin}, vin, #{vin})
, vhcty_asort_code = IF(vhcty_asort_code = #{vhctyAsortCode}, vhcty_asort_code, #{vhctyAsortCode}) , vhcty_asort_code = IF(vhcty_asort_code = #{vhctyAsortCode}, vhcty_asort_code, #{vhctyAsortCode})
@ -227,11 +227,11 @@
/* cmm-fims-crackdown-mysql-mapper|selectCtznAnswerTmplInfo-답변템플릿 정보 조회|julim */ /* cmm-fims-crackdown-mysql-mapper|selectCtznAnswerTmplInfo-답변템플릿 정보 조회|julim */
SELECT tcat.tmplat_id SELECT tcat.tmplat_id
, tcat.tmplat_nm , tcat.tmplat_nm
, REPLACE(tcat.prface, '[차량번호]', #{vhcleNo}) AS prface -- 머리말 , REPLACE(tcat.prface, '[차량번호]', #{vhrno}) AS prface -- 머리말
, REPLACE(tcat.tlface, '[차량번호]', #{vhcleNo}) AS tlface -- 꼬리말 , REPLACE(tcat.tlface, '[차량번호]', #{vhrno}) AS tlface -- 꼬리말
, tcatd.answer_se_code -- 답변구분코드 , tcatd.answer_se_code -- 답변구분코드
, tcatd.resn_code -- 사유코드 , tcatd.resn_code -- 사유코드
, REPLACE(tcatd.answer_cn, '[차량번호]', #{vhcleNo}) AS answerCn -- 답변내용 , REPLACE(tcatd.answer_cn, '[차량번호]', #{vhrno}) AS answerCn -- 답변내용
, tcatd.answer_yn -- 답변여부 , tcatd.answer_yn -- 답변여부
, tcatd.del_yn -- 삭제여부 , tcatd.del_yn -- 삭제여부
FROM tb_cmm_ans_tmpl tcat FROM tb_cmm_ans_tmpl tcat
@ -327,7 +327,7 @@
, instt_code , instt_code
, content , content
, gubun , gubun
, vhcle_no , vhrno
, reg_dt , reg_dt
, rgtr , rgtr
) VALUES ( ) VALUES (
@ -336,7 +336,7 @@
, #{insttCode} , #{insttCode}
, #{content} , #{content}
, #{gubun} , #{gubun}
, #{vhcleNo} , #{vhrno}
, DATE_FORMAT(NOW(), '%Y%m%d%H%i%s') , DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
, #{rgtr} , #{rgtr}
) )
@ -426,7 +426,7 @@
, tecsc.instt_code , tecsc.instt_code
, tecsc.content , tecsc.content
, tecsc.gubun , tecsc.gubun
, tecsc.vhcle_no , tecsc.vhrno
, tecsc.reg_dt , tecsc.reg_dt
, tecsc.rgtr , tecsc.rgtr
, tecsc.mdfcn_dt , tecsc.mdfcn_dt
@ -441,23 +441,23 @@
) )
</if> </if>
<if test='gubun eq "1"'> <if test='gubun eq "1"'>
AND tecsc.vhcle_no = #{vhcleNo} AND tecsc.vhrno = #{vhrno}
</if> </if>
ORDER BY tecsc.reg_dt DESC ORDER BY tecsc.reg_dt DESC
</select> </select>
<select id="selectCrackdownVhcleNoCnt" resultType="int"> <select id="selectCrackdownVhrnoCnt" resultType="int">
/* cmm-fims-crackdown-mysql-mapper|selectCrackdownVhcleNoCnt-단속횟수 조회|julim */ /* cmm-fims-crackdown-mysql-mapper|selectCrackdownVhrnoCnt-단속횟수 조회|julim */
SELECT COUNT(reglt_id) SELECT COUNT(reglt_id)
FROM tb_rt_reglt trr FROM tb_rt_reglt trr
WHERE trr.vhcle_no = #{vhcle_no} WHERE trr.vhrno = #{vhrno}
AND NOT NULLIF(#{vhvle_no}, '') IS NULL AND NOT NULLIF(#{vhvle_no}, '') IS NULL
</select> </select>
<select id="selectCrackdownPhotoLayout" resultType="kr.xit.fims.biz.cmm.NtriDTO$CrackdownPhotoLayout"> <select id="selectCrackdownPhotoLayout" resultType="kr.xit.fims.biz.cmm.NtriDTO$CrackdownPhotoLayout">
/* cmm-fims-crackdown-mysql-mapper|selectCrackdownPhotoLayout-주정차/전용차로 단속사진전송 정보 레이아웃 조회|julim */ /* cmm-fims-crackdown-mysql-mapper|selectCrackdownPhotoLayout-주정차/전용차로 단속사진전송 정보 레이아웃 조회|julim */
SELECT CONCAT(trr.reglt_de, trr.reglt_begin_time) AS regltDeTime -- 단속일시 SELECT CONCAT(trr.reglt_de, trr.reglt_begin_time) AS regltDeTime -- 단속일시
, trr.vhcle_no -- 차량번호 , trr.vhrno -- 차량번호
, trr.reglt_se_code -- 단속구분코드 , trr.reglt_se_code -- 단속구분코드
, teerc.reglt_eqpmn_manage_no -- 단속장비관리번호 , teerc.reglt_eqpmn_manage_no -- 단속장비관리번호
, trr.violt_dtls_code -- 위반내역코드 , trr.violt_dtls_code -- 위반내역코드
@ -473,7 +473,7 @@
, trr.gps_x , trr.gps_x
, trr.gps_y , trr.gps_y
, '' AS vhclNoX -- 자동차등록번호판위치 X축 , '' AS vhclNoX -- 자동차등록번호판위치 X축
, '' AS vhcleNoY -- 자동차등록번호판위치 Y축 , '' AS vhrnoY -- 자동차등록번호판위치 Y축
, trr.image_nmrs -- 사진갯수 , trr.image_nmrs -- 사진갯수
, trr.image_se_code -- 이미지구분 , trr.image_se_code -- 이미지구분
, 'jpg' AS fileExtsn -- 확장자 , 'jpg' AS fileExtsn -- 확장자

@ -100,7 +100,7 @@
<sql id="sqlEcCtznStmtDtl"> <sql id="sqlEcCtznStmtDtl">
SELECT tecsd.interface_seq_n SELECT tecsd.interface_seq_n
, tecsd.ctzn_sttemnt_detail_sn , tecsd.ctzn_sttemnt_detail_sn
, tecsd.vhcle_no , tecsd.vhrno
, tecsd.reglt_id , tecsd.reglt_id
, tecsd.instt_code , tecsd.instt_code
, tecsd.sys_code , tecsd.sys_code
@ -152,7 +152,7 @@
INTO tb_ec_ctzn_sttemnt_detail ( INTO tb_ec_ctzn_sttemnt_detail (
interface_seq_n interface_seq_n
, ctzn_sttemnt_detail_sn , ctzn_sttemnt_detail_sn
, vhcle_no , vhrno
, reglt_id , reglt_id
, instt_code , instt_code
, sys_code , sys_code
@ -167,7 +167,7 @@
) VALUES ( ) VALUES (
#{interfaceSeqN} #{interfaceSeqN}
, #{ctznSttemntDetailSn} , #{ctznSttemntDetailSn}
, #{vhcleNo} , #{vhrno}
, #{regltId} , #{regltId}
, #{insttCode} , #{insttCode}
, #{sysCode} , #{sysCode}
@ -184,12 +184,12 @@
<update id="updateVhcleNoOfEcCtznSttemntDetail"> <update id="updateVhrnoOfEcCtznSttemntDetail">
/* ec-ctzn-sttemnt-mysql-mapper|updateVhcleNoOfEcCtznSttemntDetail-시민신고 상세 차량번호 변경|julim */ /* ec-ctzn-sttemnt-mysql-mapper|updateVhrnoOfEcCtznSttemntDetail-시민신고 상세 차량번호 변경|julim */
UPDATE tb_ec_ctzn_sttemnt_detail UPDATE tb_ec_ctzn_sttemnt_detail
SET vhcle_no = IF(vhcle_no = #{vhcleNo}, vhcle_no, #{vhcleNo}) SET vhrno = IF(vhrno = #{vhrno}, vhrno, #{vhrno})
, mdfcn_dt = IF(vhcle_no = #{vhcleNo}, mdfcn_dt, DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')) , mdfcn_dt = IF(vhrno = #{vhrno}, mdfcn_dt, DATE_FORMAT(NOW(), '%Y%m%d%H%i%s'))
, mdfr = IF(vhcle_no = #{vhcleNo}, mdfr, #{mdfr}) , mdfr = IF(vhrno = #{vhrno}, mdfr, #{mdfr})
WHERE interface_seq_n = #{interfaceSeqN} WHERE interface_seq_n = #{interfaceSeqN}
AND ctzn_sttemnt_detail_sn = #{ctznSttemntDetailSn} AND ctzn_sttemnt_detail_sn = #{ctznSttemntDetailSn}
</update> </update>
@ -227,7 +227,7 @@
, image_se_code , image_se_code
, mvp_filenm , mvp_filenm
, image_nmrs , image_nmrs
, vhcle_no , vhrno
, reglt_process_sttus_code , reglt_process_sttus_code
, regist_se_code , regist_se_code
, reg_dt , reg_dt
@ -271,7 +271,7 @@
ON tcfm.job_se_code = #{jobSeCode} ON tcfm.job_se_code = #{jobSeCode}
AND tcfm.file_job_id = CONCAT(#{interfaceSeqN}, #{ctznSttemntDetailSn}) AND tcfm.file_job_id = CONCAT(#{interfaceSeqN}, #{ctznSttemntDetailSn})
AND tcfm.file_mastr_id = tcfd.file_mastr_id) -- 이미지 매수 AND tcfm.file_mastr_id = tcfd.file_mastr_id) -- 이미지 매수
, ecsd.vhcle_no , ecsd.vhrno
, #{regltProcessSttusCode} -- 단속:10, 서손:11 , #{regltProcessSttusCode} -- 단속:10, 서손:11
, #{registSeCode} , #{registSeCode}
, DATE_FORMAT(NOW(), '%Y%m%d%H%i%s') , DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')

@ -13,7 +13,7 @@
, sys_code , sys_code
, reglt_se_code , reglt_se_code
, input_se_code , input_se_code
, vhcle_no , vhrno
, reglt_de , reglt_de
, reglt_begin_time , reglt_begin_time
, reglt_end_time , reglt_end_time
@ -84,7 +84,7 @@
, sys_code , sys_code
, reglt_se_code , reglt_se_code
, input_se_code , input_se_code
, vhcle_no , vhrno
, reglt_de , reglt_de
, reglt_begin_time , reglt_begin_time
, reglt_end_time , reglt_end_time
@ -107,7 +107,7 @@
, #{sysCode} , #{sysCode}
, #{regltSeCode} , #{regltSeCode}
, #{inputSeCode} , #{inputSeCode}
, #{vhcleNo} , #{vhrno}
, #{regltDe} , #{regltDe}
, #{regltBeginTime} , #{regltBeginTime}
, #{regltEndTime} , #{regltEndTime}
@ -129,7 +129,7 @@
<update id="updateEcExtrlRegltCntc"> <update id="updateEcExtrlRegltCntc">
/* ec-extrl-reglt-cntc-mysql-mapper|updateEcExtrlRegltCntc-외부연계 단속 자료 변경|julim */ /* ec-extrl-reglt-cntc-mysql-mapper|updateEcExtrlRegltCntc-외부연계 단속 자료 변경|julim */
UPDATE tb_ec_extrl_reglt_cntc UPDATE tb_ec_extrl_reglt_cntc
SET vhcle_no = #{vhcleNo} SET vhrno = #{vhrno}
, mdfcn_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s') , mdfcn_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
, mdfr = #{mdfr} , mdfr = #{mdfr}
WHERE extrl_reglt_cntc_id = #{extrlRegltCntcId} WHERE extrl_reglt_cntc_id = #{extrlRegltCntcId}
@ -159,7 +159,7 @@
, image_se_code , image_se_code
, mvp_filenm , mvp_filenm
, image_nmrs , image_nmrs
, vhcle_no , vhrno
, reglt_process_sttus_code , reglt_process_sttus_code
, regist_se_code , regist_se_code
, reg_dt , reg_dt
@ -210,7 +210,7 @@
ON tcfm.job_se_code = #{jobSeCode} ON tcfm.job_se_code = #{jobSeCode}
AND tcfm.file_job_id = #{extrlRegltCntcId} AND tcfm.file_job_id = #{extrlRegltCntcId}
AND tcfm.file_mastr_id = tcfd.file_mastr_id) -- 이미지 매수 AND tcfm.file_mastr_id = tcfd.file_mastr_id) -- 이미지 매수
, vhcle_no , vhrno
, #{regltProcessSttusCode} -- 단속:10, 서손:11 , #{regltProcessSttusCode} -- 단속:10, 서손:11
, #{registSeCode} , #{registSeCode}
, DATE_FORMAT(NOW(), '%Y%m%d%H%i%s') , DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')

@ -32,7 +32,7 @@
, trr.rciv_amount -- 수납금액 , trr.rciv_amount -- 수납금액
, trr.rdcamt -- 감액 , trr.rdcamt -- 감액
, trr.adamt -- 가산금 , trr.adamt -- 가산금
, trr.vhcle_no -- 차량번호 , trr.vhrno -- 차량번호
, trr.vhcle_nm -- 차량명 , trr.vhcle_nm -- 차량명
, trr.vhcty_cl_code -- 차종분류코드 , trr.vhcty_cl_code -- 차종분류코드
, trr.vhcty_asort_code -- 차종종별코드 , trr.vhcty_asort_code -- 차종종별코드
@ -67,8 +67,8 @@
<if test='sch_date_opt eq "regDt"'> <if test='sch_date_opt eq "regDt"'>
AND SUBSTR(trr.reg_dt,1,8) BETWEEN REPLACE(#{sch_date_from},'-','') AND REPLACE(#{sch_date_to},'-','') AND SUBSTR(trr.reg_dt,1,8) BETWEEN REPLACE(#{sch_date_from},'-','') AND REPLACE(#{sch_date_to},'-','')
</if> </if>
<if test='vhcleNo != null and vhcleNo != ""'> <if test='vhrno != null and vhrno != ""'>
AND INSTR(trr.vhcle_no, #{vhcleNo}) > 0 AND INSTR(trr.vhrno, #{vhrno}) > 0
</if> </if>
<if test='sysCode != null and sysCode != ""'> <if test='sysCode != null and sysCode != ""'>
AND trr.sys_code = #{sysCode} AND trr.sys_code = #{sysCode}
@ -88,7 +88,7 @@
</if> </if>
</if> </if>
</where> </where>
ORDER BY trr.sys_code, trr.reglt_se_code, trr.reglt_de, trr.vhcle_no, trr.reglt_begin_time ORDER BY trr.sys_code, trr.reglt_se_code, trr.reglt_de, 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">
@ -97,10 +97,10 @@
WHERE trr.reglt_id = #{regltId} WHERE trr.reglt_id = #{regltId}
</select> </select>
<select id="selectRtRegltByVhcleNo" resultType="kr.xit.fims.biz.rt.RtDTO$Reglt"> <select id="selectRtRegltByVhrno" resultType="kr.xit.fims.biz.rt.RtDTO$Reglt">
/* rt-reglt-and-erpp-mysql-mapper|selectRtRegltByVhcleNo-차량 단속 정보 목록 조회|julim */ /* rt-reglt-and-erpp-mysql-mapper|selectRtRegltByVhrno-차량 단속 정보 목록 조회|julim */
<include refid="sqlRtReglt"/> <include refid="sqlRtReglt"/>
WHERE trr.vhcle_no = #{vhcleNo} WHERE trr.vhrno = #{vhrno}
ORDER BY trr.reglt_de DESC, trr.reglt_begin_time DESC ORDER BY trr.reglt_de DESC, trr.reglt_begin_time DESC
</select> </select>
@ -120,7 +120,7 @@
, rciv_amount , rciv_amount
, rdcamt , rdcamt
, adamt , adamt
, vhcle_no , vhrno
, vhcle_nm , vhcle_nm
, reg_dt , reg_dt
, spcmnt_matter , spcmnt_matter
@ -141,7 +141,7 @@
, #{rcivAmount} , #{rcivAmount}
, #{rdcamt} , #{rdcamt}
, #{adamt} , #{adamt}
, #{vhcleNo} , #{vhrno}
, #{vhcleNm} , #{vhcleNm}
, #{regDt} , #{regDt}
, #{spcmntMatter} , #{spcmntMatter}
@ -163,7 +163,7 @@
, rciv_amount = IF(rciv_amount = #{rcivAmount}, rciv_amount, #{rcivAmount}) , rciv_amount = IF(rciv_amount = #{rcivAmount}, rciv_amount, #{rcivAmount})
, rdcamt = IF(rdcamt = #{rdcamt}, rdcamt, #{rdcamt}) , rdcamt = IF(rdcamt = #{rdcamt}, rdcamt, #{rdcamt})
, adamt = IF(adamt = #{adamt}, adamt, #{adamt}) , adamt = IF(adamt = #{adamt}, adamt, #{adamt})
, vhcle_no = IF(vhcle_no = #{vhcleNo}, vhcle_no, #{vhcleNo}) , vhrno = IF(vhrno = #{vhrno}, vhrno, #{vhrno})
, vhcle_nm = IF(vhcle_nm = #{vhcleNm}, vhcle_nm, #{vhcleNm}) , vhcle_nm = IF(vhcle_nm = #{vhcleNm}, vhcle_nm, #{vhcleNm})
, violt_dtls_code = IF(violt_dtls_code = #{violtDtlsCode}, violt_dtls_code, #{violtDtlsCode}) , violt_dtls_code = IF(violt_dtls_code = #{violtDtlsCode}, violt_dtls_code, #{violtDtlsCode})
, spcmnt_matter = IF(spcmnt_matter = #{spcmntMatter}, spcmnt_matter, #{spcmntMatter}) , spcmnt_matter = IF(spcmnt_matter = #{spcmntMatter}, spcmnt_matter, #{spcmntMatter})

@ -16,7 +16,7 @@ Date Author Description
<div class="popup" style="min-width: 100px;"> <div class="popup" style="min-width: 100px;">
<div class="container-window1" style="flex-direction: column; max-width: 900px;"> <div class="container-window1" style="flex-direction: column; max-width: 900px;">
<p class="container-window-header2">차량&nbsp;&nbsp;[<span id="vhcleNo" name="vhcleNo" style="padding-left: 5px; padding-right: 5px; color:darkred;"></span>]&nbsp;&nbsp;단속 내역 <p class="container-window-header2">차량&nbsp;&nbsp;[<span id="vhrno" name="vhrno" style="padding-left: 5px; padding-right: 5px; color:darkred;"></span>]&nbsp;&nbsp;단속 내역
</p> </p>
<div class="container-page-btn"> <div class="container-page-btn">
@ -86,7 +86,7 @@ Date Author Description
}; };
function search$$s(){ function search$$s(){
$$Control.query = {vhcleNo: '${param.vhcleNo}', regltId: '${param.regltId}', regltSeCode: '${param.regltSeCode}'}; $$Control.query = {vhrno: '${param.vhrno}', regltId: '${param.regltId}', regltSeCode: '${param.regltSeCode}'};
GRID.clear(); GRID.clear();
$$Control.load(1); $$Control.load(1);
} }
@ -213,7 +213,7 @@ Date Author Description
* initialize * initialize
**************************************************************************/ **************************************************************************/
$(document).ready(function(){ $(document).ready(function(){
$('#vhcleNo').html('${param.vhcleNo}') $('#vhrno').html('${param.vhrno}')
initPopupGrid(); initPopupGrid();
}); });

@ -112,7 +112,7 @@ Date Author Description
,setAnsDataInfo: (param) => { ,setAnsDataInfo: (param) => {
let ansDiv = ''; let ansDiv = '';
let resnNm = ''; let resnNm = '';
let ansInfoTxt = param.vhcleNo + ' [ '; let ansInfoTxt = param.vhrno + ' [ ';
if(param.answerSeCode === '${ansSeCodeImpose}'){ if(param.answerSeCode === '${ansSeCodeImpose}'){
ansInfoTxt += '부과 ]'; ansInfoTxt += '부과 ]';
} else if(param.answerSeCode === '${ansSeCodeDisallow}'){ } else if(param.answerSeCode === '${ansSeCodeDisallow}'){
@ -190,7 +190,7 @@ Date Author Description
,answerSeCode: '${param.answerSeCode}' ,answerSeCode: '${param.answerSeCode}'
,resnCode: '${param.resnCode}' ,resnCode: '${param.resnCode}'
,interfaceSeqN: '${param.interfaceSeqN}' ,interfaceSeqN: '${param.interfaceSeqN}'
,vhcleNo: '${param.vhcleNo}' ,vhrno: '${param.vhrno}'
} }
//fnPopupBiz.setAnsDataInfo(param); //fnPopupBiz.setAnsDataInfo(param);
fnPopupBiz.search(param); fnPopupBiz.search(param);

@ -34,7 +34,7 @@ Date Author Description
<div class="card-title fw-bold">차량번호 민원 등록내역</div> <div class="card-title fw-bold">차량번호 민원 등록내역</div>
</div> </div>
<div class="card-body"> <div class="card-body">
<div id="grid_vhcle_no_cplnt"></div> <div id="grid_vhrno_cplnt"></div>
</div> </div>
</div> </div>
</div> </div>
@ -111,7 +111,7 @@ Date Author Description
function search$$s(){ function search$$s(){
$$Control.query = {gubun: 0, payerId: '${param.payerId}', regltId: '${param.regltId}'}; $$Control.query = {gubun: 0, payerId: '${param.payerId}', regltId: '${param.regltId}'};
$2$Control.query = {gubun: 1, vhcleNo: '${param.vhcleNo}'}; $2$Control.query = {gubun: 1, vhrno: '${param.vhrno}'};
ARR_TAP_GRID[0].clear(); ARR_TAP_GRID[0].clear();
ARR_TAP_GRID[1].clear(); ARR_TAP_GRID[1].clear();
@ -159,7 +159,7 @@ Date Author Description
} }
$("#grid2Paging").setPaging({ $("#grid2Paging").setPaging({
list: $2$Control.dataset, list: $2$Control.dataset,
prefix: "grid_vhcle_no_cplnt", prefix: "grid_vhrno_cplnt",
start: start, start: start,
totalSize: pagination.totalSize, totalSize: pagination.totalSize,
fetchSize: $2$Control._paginationInfo.fetchSize, fetchSize: $2$Control._paginationInfo.fetchSize,
@ -211,7 +211,7 @@ Date Author Description
* Grid * Grid
****************************** */ ****************************** */
const initPopupGrid = () => { const initPopupGrid = () => {
const vhcleNoCplntHisColumns = [ const vhrnoCplntHisColumns = [
{ {
header: '내용', header: '내용',
name: 'content', name: 'content',
@ -235,7 +235,7 @@ Date Author Description
}, },
{ {
header: '차량번호', header: '차량번호',
name: 'vhcleNo', name: 'vhrno',
minWidth: 90, minWidth: 90,
//editor: 'text', //editor: 'text',
sortable: false, sortable: false,
@ -263,7 +263,7 @@ Date Author Description
} }
]; ];
const cplntHisColumns = vhcleNoCplntHisColumns.filter((_, index) => index !== 1 ); const cplntHisColumns = vhrnoCplntHisColumns.filter((_, index) => index !== 1 );
const gridOptions = { const gridOptions = {
@ -283,8 +283,8 @@ Date Author Description
// 차량 번호 민원 등록 내역 // 차량 번호 민원 등록 내역
ARR_TAP_GRID[1] = TuiGrid.of({ ARR_TAP_GRID[1] = TuiGrid.of({
...gridOptions, ...gridOptions,
el: 'grid_vhcle_no_cplnt', el: 'grid_vhrno_cplnt',
columns: vhcleNoCplntHisColumns, columns: vhrnoCplntHisColumns,
paginationInfoRef : $2$Control._paginationInfo paginationInfoRef : $2$Control._paginationInfo
}); });
}; };
@ -298,7 +298,7 @@ Date Author Description
const param = { const param = {
regltId: '${param.regltId}' regltId: '${param.regltId}'
,payerId: '${param.payerId}' ,payerId: '${param.payerId}'
,vhcleNo: '${param.vhcleNo}' ,vhrno: '${param.vhrno}'
}; };
search$$s(); search$$s();

@ -152,12 +152,12 @@ Date Author Description
<tr> <tr>
<th>차량번호</th> <th>차량번호</th>
<td> <td>
<input type="text" name="vhcleNo" style="width: 50%" class="act_bg_color"/> <input type="text" name="vhrno" style="width: 50%" class="act_bg_color"/>
<a href="javascript:void(0);" id="vhcleSearch"> <a href="javascript:void(0);" id="vhcleSearch">
<i class="bx bx-search"></i> <i class="bx bx-search"></i>
</a> </a>
<a href="javascript:fnPopupBiz.goCarCrackdownCntPopup()"> <a href="javascript:fnPopupBiz.goCarCrackdownCntPopup()">
<em id="crackdown" class="empCls">단속횟수: &nbsp;<span id="vhcleNoCnt"></span>&nbsp;회</em> <em id="crackdown" class="empCls">단속횟수: &nbsp;<span id="vhrnoCnt"></span>&nbsp;회</em>
</a> </a>
</td> </td>
<th>면제차량여부</th> <th>면제차량여부</th>
@ -319,7 +319,7 @@ Date Author Description
,success: (res) => { ,success: (res) => {
let dataKey = ''; let dataKey = '';
let curId = ''; let curId = '';
let vhcleNoCnt = 0; let vhrnoCnt = 0;
regltSeCode = res.infoDTO.regltSeCode; regltSeCode = res.infoDTO.regltSeCode;
if(regltSeCode === '${citizen}'){ if(regltSeCode === '${citizen}'){
@ -337,13 +337,13 @@ Date Author Description
ComboCodeData.regltSeCode.filter(d => d.value === regltSeCode)[0].text ComboCodeData.regltSeCode.filter(d => d.value === regltSeCode)[0].text
+ '&nbsp;&nbsp;&nbsp;[&nbsp;' + dataKey + '&nbsp;]' + '&nbsp;&nbsp;&nbsp;[&nbsp;' + dataKey + '&nbsp;]'
); );
fnPopupBiz.showCrackdownVhcleNoCnt(res.infoDTO.vhcleNoCnt); fnPopupBiz.showCrackdownVhrnoCnt(res.infoDTO.vhrnoCnt);
fnPopupBiz.showMinwonCnt(res.infoDTO.minwonCnt); fnPopupBiz.showMinwonCnt(res.infoDTO.minwonCnt);
schParam = { schParam = {
regltId: res.infoDTO?.regltId, regltId: res.infoDTO?.regltId,
regltSeCode: res.infoDTO?.regltSeCode, regltSeCode: res.infoDTO?.regltSeCode,
payerId: res.infoDTO.payerId, payerId: res.infoDTO.payerId,
vhcleNo: res.infoDTO.vhcleNo vhrno: res.infoDTO.vhrno
} }
cmmImgDownload('#imgList', res.attchFiles, fnPopupBiz.pagePopup, true, '60px', cmmImgDownload('#imgList', res.attchFiles, fnPopupBiz.pagePopup, true, '60px',
@ -423,9 +423,9 @@ Date Author Description
} }
} }
,findCarNo: () => { ,findCarNo: () => {
if(!$('input[name=vhcleNo]').val()){ if(!$('input[name=vhrno]').val()){
alert('먼처 차량번호를 입력해 주세요.'); alert('먼처 차량번호를 입력해 주세요.');
$('input[name=vhcleNo]').focus(); $('input[name=vhrno]').focus();
return false; return false;
} }
@ -441,7 +441,7 @@ Date Author Description
const param = { const param = {
owner_mber_no: '', owner_mber_no: '',
vin: $('input[name=vin]').val(), vin: $('input[name=vin]').val(),
vhrno: $('input[name=vhcleNo]').val(), vhrno: $('input[name=vhrno]').val(),
levy_stdde: '20220122' levy_stdde: '20220122'
} }
@ -459,10 +459,10 @@ Date Author Description
cmmAjax({ cmmAjax({
showSuccessMsg: false showSuccessMsg: false
, url: fimsApiUrl.FIND_CRACKDOWN_VHCLE_NO_CNT , url: fimsApiUrl.FIND_CRACKDOWN_VHRNO_CNT
, data: {vhcleNo: $('input[name=vhcleNo]').val()} , data: {vhrno: $('input[name=vhrno]').val()}
, success: (res) => { , success: (res) => {
fnPopupBiz.showCrackdownVhcleNoCnt(res.data?.contents); fnPopupBiz.showCrackdownVhrnoCnt(res.data?.contents);
} }
}) })
@ -532,7 +532,7 @@ Date Author Description
//시군군 추가 //시군군 추가
,violtStdgCd: $('input[name=violtStdgCd]').val() ,violtStdgCd: $('input[name=violtStdgCd]').val()
,vhcleNo: $('input[name=vhcleNo]').val() ,vhrno: $('input[name=vhrno]').val()
//면제차량 여부 추가 : $('input:checkbox[name=sysCode]:checked').val() //면제차량 여부 추가 : $('input:checkbox[name=sysCode]:checked').val()
@ -584,9 +584,9 @@ Date Author Description
alert('변경된 내용이 없습니다.'); alert('변경된 내용이 없습니다.');
return false; return false;
} }
if(!$('input[name=vhcleNo]').val()){ if(!$('input[name=vhrno]').val()){
alert('차량번호는 필수 입니다.'); alert('차량번호는 필수 입니다.');
$('input[name=vhcleNo]').focus(); $('input[name=vhrno]').focus();
return false; return false;
} }
if(!$('input[name=vin]').val()){ if(!$('input[name=vin]').val()){
@ -626,9 +626,9 @@ Date Author Description
} }
// 차량 단속 건수 표시 // 차량 단속 건수 표시
,showCrackdownVhcleNoCnt: (cnt) => { ,showCrackdownVhrnoCnt: (cnt) => {
if(cnt > 0) { if(cnt > 0) {
$('#vhcleNoCnt').html(cnt); $('#vhrnoCnt').html(cnt);
$('#crackdown').show(); $('#crackdown').show();
}else{ }else{
$('#crackdown').hide(); $('#crackdown').hide();
@ -649,7 +649,7 @@ Date Author Description
const url = fimsApiUrl.POPUP_CTZN_CMPLNT_HIST; const url = fimsApiUrl.POPUP_CTZN_CMPLNT_HIST;
const popOption = {width: 800, height:600}; const popOption = {width: 800, height:600};
const popTitle = "민원 내역 조회"; const popTitle = "민원 내역 조회";
const params = {regltId: schParam.regltId, payerId: schParam.payerId, vhcleNo:schParam.vhcleNo} const params = {regltId: schParam.regltId, payerId: schParam.payerId, vhrno:schParam.vhrno}
const p = CmmPopup.open($$Control.urls.minwonPopup, params, popOption, popTitle); const p = CmmPopup.open($$Control.urls.minwonPopup, params, popOption, popTitle);
} }
@ -657,7 +657,7 @@ Date Author Description
const url = fimsApiUrl.POPUP_CAR_CRACKDOWN_CNT; const url = fimsApiUrl.POPUP_CAR_CRACKDOWN_CNT;
const popOption = {width: 900, height:600}; const popOption = {width: 900, height:600};
const popTitle = "민원 내역 조회"; const popTitle = "민원 내역 조회";
const params = {regltId: schParam.regltId, payerId: schParam.payerId, vhcleNo:schParam.vhcleNo} const params = {regltId: schParam.regltId, payerId: schParam.payerId, vhrno:schParam.vhrno}
const p = CmmPopup.open($$Control.urls.carCrackdownCntPopup, params, popOption, popTitle); const p = CmmPopup.open($$Control.urls.carCrackdownCntPopup, params, popOption, popTitle);
} }
}; };

@ -16,7 +16,7 @@ Date Author Description
<c:set var="citizen" value="<%= FimsConst.RegltSeCode.CITIZEN.getCode() %>"/> <c:set var="citizen" value="<%= FimsConst.RegltSeCode.CITIZEN.getCode() %>"/>
<c:set var="ctznCmpl" value="<%= FimsConst.MinwonGubunCode.COMPLAIN.getCode() %>"/> <c:set var="ctznCmpl" value="<%= FimsConst.MinwonGubunCode.COMPLAIN.getCode() %>"/>
<c:set var="vhcleNoCmpl" value="<%= FimsConst.MinwonGubunCode.VHCLE_NO_CMPL.getCode() %>"/> <c:set var="vhrnoCmpl" value="<%= FimsConst.MinwonGubunCode.VHRNO_CMPL.getCode() %>"/>
<style> <style>
#regltProcessSttusCode { #regltProcessSttusCode {
@ -124,7 +124,7 @@ Date Author Description
</td> </td>
<th>차량번호</th> <th>차량번호</th>
<td> <td>
<input type="text" id="vhcleNo" name="vhcleNo" class="act_bg_color"/> <input type="text" id="vhrno" name="vhrno" class="act_bg_color"/>
</td> </td>
</tr> </tr>
@ -635,7 +635,7 @@ Date Author Description
</div> </div>
<div class="card-body"> <div class="card-body">
<a href="#" class="btn btn-green" id="btnCarMinWonNew">신규작성</a> <a href="#" class="btn btn-green" id="btnCarMinWonNew">신규작성</a>
<div id="grid_vhcle_no_cplnt"></div> <div id="grid_vhrno_cplnt"></div>
</div> </div>
</div> </div>
</div> </div>
@ -693,7 +693,7 @@ Date Author Description
const ARR_TAP_TOTCNT = [0, 0, 0, 0, 0]; const ARR_TAP_TOTCNT = [0, 0, 0, 0, 0];
let CUR_TAB_SEQ = 0; let CUR_TAB_SEQ = 0;
// 처리상태변경이력 : regltId, 주소변경이력, 전자고지발송이력 : payerId, 개별민원등록이력: interfaceSeqN, 차량번호민원등록리력: vhcleNo // 처리상태변경이력 : regltId, 주소변경이력, 전자고지발송이력 : payerId, 개별민원등록이력: interfaceSeqN, 차량번호민원등록리력: vhrno
let schParam = null; let schParam = null;
let $$Control = new FimsDatasetControl({ let $$Control = new FimsDatasetControl({
@ -866,7 +866,7 @@ Date Author Description
$4$Control.load(1); $4$Control.load(1);
} }
function search$5$s(){ function search$5$s(){
$5$Control.query = {gubun: 1, vhcleNo: schParam.vhcleNo}; $5$Control.query = {gubun: 1, vhrno: schParam.vhrno};
ARR_TAP_GRID[4].clear(); ARR_TAP_GRID[4].clear();
$5$Control.load(1); $5$Control.load(1);
} }
@ -943,7 +943,7 @@ Date Author Description
regltId: res.infoDTO?.regltId, regltId: res.infoDTO?.regltId,
payerId: res.payerDTO?.payerId, payerId: res.payerDTO?.payerId,
interfaceSeqN: res.infoDTO.interfaceSeqN, interfaceSeqN: res.infoDTO.interfaceSeqN,
vhcleNo: res.infoDTO?.vhcleNo vhrno: res.infoDTO?.vhrno
} }
fnPopupBiz.reloadGrid(); fnPopupBiz.reloadGrid();
} }
@ -1017,14 +1017,14 @@ Date Author Description
search$3$s(); search$3$s();
search$4$s(); search$4$s();
fnPopupBiz.resetMinwonBtn('${ctznCmpl}', false); fnPopupBiz.resetMinwonBtn('${ctznCmpl}', false);
fnPopupBiz.resetMinwonBtn('${vhcleNoCmpl}', false); fnPopupBiz.resetMinwonBtn('${vhrnoCmpl}', false);
} }
,addMinwon: (content, gubun) => { ,addMinwon: (content, gubun) => {
const data = { const data = {
gubun, gubun,
regltId: schParam.regltId, regltId: schParam.regltId,
content, content,
vhcleNo: gubun === '${vhcleNoCmpl}'? schParam.vhcleNo : '' vhrno: gubun === '${vhrnoCmpl}'? schParam.vhrno : ''
} }
if(!confirm('등록하시겠습니까?')) return false; if(!confirm('등록하시겠습니까?')) return false;
@ -1124,7 +1124,7 @@ Date Author Description
}); });
$('#btnCarMinWonNew').on('click', () => { $('#btnCarMinWonNew').on('click', () => {
fnPopupBiz.resetMinwonBtn('${vhcleNoCmpl}', true); fnPopupBiz.resetMinwonBtn('${vhrnoCmpl}', true);
}); });
$('#btnMinWonRegist').on('click', () => { $('#btnMinWonRegist').on('click', () => {
@ -1133,8 +1133,8 @@ Date Author Description
}); });
$('#btnCarMinWonRegist').on('click', () => { $('#btnCarMinWonRegist').on('click', () => {
fnPopupBiz.addMinwon($('#content1').val(), '${vhcleNoCmpl}') fnPopupBiz.addMinwon($('#content1').val(), '${vhrnoCmpl}')
fnPopupBiz.resetMinwonBtn('${vhcleNoCmpl}', false); fnPopupBiz.resetMinwonBtn('${vhrnoCmpl}', false);
}); });
}); });
@ -1349,7 +1349,7 @@ Date Author Description
align: 'center' align: 'center'
} }
]; ];
const vhcleNoCplntHisColumns = [ const vhrnoCplntHisColumns = [
{ {
header: '내용', header: '내용',
name: 'content', name: 'content',
@ -1373,7 +1373,7 @@ Date Author Description
}, },
{ {
header: '차량번호', header: '차량번호',
name: 'vhcleNo', name: 'vhrno',
minWidth: 90, minWidth: 90,
//editor: 'text', //editor: 'text',
sortable: false, sortable: false,
@ -1401,7 +1401,7 @@ Date Author Description
} }
]; ];
const cplntHisColumns = vhcleNoCplntHisColumns.filter((_, index) => index !== 1 ); const cplntHisColumns = vhrnoCplntHisColumns.filter((_, index) => index !== 1 );
// 처리상태 변경 이력 // 처리상태 변경 이력
@ -1441,7 +1441,7 @@ Date Author Description
ARR_TAP_GRID[3] = TuiGrid.of({...etrnNotiHisOptions, el: 'grid_cplnt', columns: cplntHisColumns}); ARR_TAP_GRID[3] = TuiGrid.of({...etrnNotiHisOptions, el: 'grid_cplnt', columns: cplntHisColumns});
// 차량 번호 민원 등록 내역 // 차량 번호 민원 등록 내역
ARR_TAP_GRID[4] = TuiGrid.of({...etrnNotiHisOptions, el: 'grid_vhcle_no_cplnt', columns: vhcleNoCplntHisColumns}); ARR_TAP_GRID[4] = TuiGrid.of({...etrnNotiHisOptions, el: 'grid_vhrno_cplnt', columns: vhrnoCplntHisColumns});
} }

@ -108,7 +108,7 @@ Date Author Description
if(data.errorList.length == 0){ if(data.errorList.length == 0){
alert(data.successCnt + '건 처리 완료 했습니다.'); alert(data.successCnt + '건 처리 완료 했습니다.');
}else{ }else{
const msg = JSON.stringify(data.errorList).replaceAll("\"vhcleNo\"", "차량번호") const msg = JSON.stringify(data.errorList).replaceAll("\"vhrno\"", "차량번호")
.replaceAll("\"fullFilePath\"", "미존재파일") .replaceAll("\"fullFilePath\"", "미존재파일")
.replaceAll("\"orginlFileNm\"", "원본파일명") .replaceAll("\"orginlFileNm\"", "원본파일명")
alert('처리 : ' + data.successCnt + ' 건'); alert('처리 : ' + data.successCnt + ' 건');

@ -64,7 +64,7 @@ Date Author Description
<span class="form-search-linebox"> <span class="form-search-linebox">
<label class="form-label fw-bold form-search-title">차량번호</label> <label class="form-label fw-bold form-search-title">차량번호</label>
</span> </span>
<input type="text" id="vhcleNo" name="vhcleNo" class="form-control" value="" /> <input type="text" id="vhrno" name="vhrno" class="form-control" value="" />
</div> </div>
<div class="col-4"> <div class="col-4">
<span class="form-search-linebox"> <span class="form-search-linebox">
@ -345,7 +345,7 @@ Date Author Description
,regltSeCode: CUR_TAB_IDX === 2 ? '09' : $('input:radio[name=regltSeCode]:checked').val() ,regltSeCode: CUR_TAB_IDX === 2 ? '09' : $('input:radio[name=regltSeCode]: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()
,vhcleNo : $("#vhcleNo").val() ,vhrno : $("#vhrno").val()
,payerNm : $("#payerNm").val() ,payerNm : $("#payerNm").val()
,payerNo : $("#payerNo").val() ,payerNo : $("#payerNo").val()
,petitionerNm : $("#petitionerNm").val() ,petitionerNm : $("#petitionerNm").val()
@ -549,7 +549,7 @@ Date Author Description
}, },
{ {
header: '차량번호', header: '차량번호',
name: 'vhcleNo', name: 'vhrno',
minWidth: 80, minWidth: 80,
sortable: false, sortable: false,
align: 'center' align: 'center'

@ -188,7 +188,7 @@
}, },
{ {
header: '차량번호', header: '차량번호',
name: 'vhcleNo', name: 'vhrno',
minWidth: 70, minWidth: 70,
sortable: false, sortable: false,
align: 'center', align: 'center',
@ -197,7 +197,7 @@
options: { options: {
formatter: (props)=>{ formatter: (props)=>{
return { return {
formatter: props.grid.getRow(props.rowKey).vhcleNo formatter: props.grid.getRow(props.rowKey).vhrno
,element: "text" ,element: "text"
} }
} }

@ -28,7 +28,7 @@
<c:if test="${isProcess}"> <c:if test="${isProcess}">
<a href="#" class="btn btn-blue" onclick="fnBiz.save('${extrDTO.extrlRegltCntcId}')">저장</a> <a href="#" class="btn btn-blue" onclick="fnBiz.save('${extrDTO.extrlRegltCntcId}')">저장</a>
<a href="#" class="btn btn-red" onclick="fnBiz.remove('${extrDTO.extrlRegltCntcId}')">삭제</a> <a href="#" class="btn btn-red" onclick="fnBiz.remove('${extrDTO.extrlRegltCntcId}')">삭제</a>
<c:if test="${!empty extrDTO.vhcleNo}"> <c:if test="${!empty extrDTO.vhrno}">
<a href="#" class="btn btn-darkgray" onclick="fnBiz.reglt('${extrDTO.extrlRegltCntcId}')">단속처리</a> <a href="#" class="btn btn-darkgray" onclick="fnBiz.reglt('${extrDTO.extrlRegltCntcId}')">단속처리</a>
<a href="#" class="btn btn-darkgray" onclick="fnBiz.erpp('${extrDTO.extrlRegltCntcId}')">서손처리</a> <a href="#" class="btn btn-darkgray" onclick="fnBiz.erpp('${extrDTO.extrlRegltCntcId}')">서손처리</a>
</c:if> </c:if>
@ -53,7 +53,7 @@
</td> </td>
<th>차량번호</th> <th>차량번호</th>
<td> <td>
<input type="text" name="vhcleNo" value='<c:out value="${extrDTO.vhcleNo}"/>' <c:if test="${!isProcess}">readonly</c:if>> <input type="text" name="vhrno" value='<c:out value="${extrDTO.vhrno}"/>' <c:if test="${!isProcess}">readonly</c:if>>
</td> </td>
<th>단속ID</th> <th>단속ID</th>
<td> <td>

@ -247,7 +247,7 @@
const gridColumns = [ const gridColumns = [
{ {
header: '차량번호', header: '차량번호',
name: 'vhcleNo', name: 'vhrno',
minWidth: 70, minWidth: 70,
sortable: false, sortable: false,
align: 'center', align: 'center',
@ -256,7 +256,7 @@
options: { options: {
formatter: (props)=>{ formatter: (props)=>{
return { return {
formatter: props.grid.getRow(props.rowKey).vhcleNo formatter: props.grid.getRow(props.rowKey).vhrno
,element: "text" ,element: "text"
} }
} }

@ -143,7 +143,7 @@
<c:if test="${isProcess}"> <c:if test="${isProcess}">
<a href="#" class="btn btn-blue" onclick="fnBiz.save('${dtlDTO.ctznSttemntDetailSn}')">저장</a> <a href="#" class="btn btn-blue" onclick="fnBiz.save('${dtlDTO.ctznSttemntDetailSn}')">저장</a>
<a href="#" class="btn btn-red" onclick="fnBiz.remove('${dtlDTO.ctznSttemntDetailSn}')">삭제</a> <a href="#" class="btn btn-red" onclick="fnBiz.remove('${dtlDTO.ctznSttemntDetailSn}')">삭제</a>
<c:if test="${!empty dtlDTO.vhcleNo}"> <c:if test="${!empty dtlDTO.vhrno}">
<a href="#" class="btn btn-darkgray" onclick="fnBiz.reglt('${dtlDTO.ctznSttemntDetailSn}')">단속처리</a> <a href="#" class="btn btn-darkgray" onclick="fnBiz.reglt('${dtlDTO.ctznSttemntDetailSn}')">단속처리</a>
<a href="#" class="btn btn-darkgray" onclick="fnBiz.erpp('${dtlDTO.ctznSttemntDetailSn}')">서손처리</a> <a href="#" class="btn btn-darkgray" onclick="fnBiz.erpp('${dtlDTO.ctznSttemntDetailSn}')">서손처리</a>
</c:if> </c:if>
@ -169,7 +169,7 @@
</td> </td>
<th>차량번호</th> <th>차량번호</th>
<td> <td>
<input type="text" name="vhcleNo" value='<c:out value="${dtlDTO.vhcleNo}"/>' <c:if test="${!isProcess}">readonly</c:if>> <input type="text" name="vhrno" value='<c:out value="${dtlDTO.vhrno}"/>' <c:if test="${!isProcess}">readonly</c:if>>
</td> </td>
<th>단속ID</th> <th>단속ID</th>
<td> <td>
@ -338,7 +338,7 @@
const data = { const data = {
interfaceSeqN: '${reqDTO.interfaceSeqN}' interfaceSeqN: '${reqDTO.interfaceSeqN}'
,ctznSttemntDetailSn ,ctznSttemntDetailSn
,vhcleNo: frm.find('input[name=vhcleNo]').val().trim() ,vhrno: frm.find('input[name=vhrno]').val().trim()
} }
cmmBizAjax('modify', { cmmBizAjax('modify', {
<%--url: '<c:url value="/fims/biz/ec/modifyCtznStmtDtl.do"/>'--%> <%--url: '<c:url value="/fims/biz/ec/modifyCtznStmtDtl.do"/>'--%>
@ -362,8 +362,8 @@
,reglt: (ctznSttemntDetailSn) => { ,reglt: (ctznSttemntDetailSn) => {
// //FIXME:화면필드값 말고, 서버데이타 기준으로 변경해야 함 - 서버에 저장한 차량번호 기준 // //FIXME:화면필드값 말고, 서버데이타 기준으로 변경해야 함 - 서버에 저장한 차량번호 기준
// const frm = $('form[name=frmStmtDtl'+ctznSttemntDetailSn+']'); // const frm = $('form[name=frmStmtDtl'+ctznSttemntDetailSn+']');
// const vhcleNo = frm.find('input[name=vhcleNo]').val().trim(); // const vhrno = frm.find('input[name=vhrno]').val().trim();
// if(!vhcleNo){ // if(!vhrno){
// alert('차량번호는 필수 입니다.\n확인 처리후 진행해주세요.'); // alert('차량번호는 필수 입니다.\n확인 처리후 진행해주세요.');
// return false; // return false;
// } // }

@ -82,7 +82,7 @@ Date Author Description
<div class="col-12"> <div class="col-12">
<select id="sch_opt" name="sch_opt" class="form-select"> <select id="sch_opt" name="sch_opt" class="form-select">
<option value="vhcleNo">차량번호</option> <option value="vhrno">차량번호</option>
</select> </select>
<input type="text" id="sch_word" name="sch_word" class="form-control" value="" /> <input type="text" id="sch_word" name="sch_word" class="form-control" value="" />
<span class="flr"> <span class="flr">
@ -516,7 +516,7 @@ Date Author Description
regltId: row.regltId regltId: row.regltId
,regltSeCode: row.regltSeCode ,regltSeCode: row.regltSeCode
,extnlInterfaceId ,extnlInterfaceId
,vhcleNo: row.vhcleNo ,vhrno: row.vhrno
,cvplRceptNo: row.cvplRceptNo ,cvplRceptNo: row.cvplRceptNo
} }
}) })
@ -537,7 +537,7 @@ Date Author Description
rowKey = ARR_GRID[CUR_TAB_IDX].store.data.rawData[0]?.rowKey; rowKey = ARR_GRID[CUR_TAB_IDX].store.data.rawData[0]?.rowKey;
} }
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 {tmplatId: '${ctznTmplatId}', answerSeCode: fnBiz.getAnswerSeCode(d.regltProcessSttusCode), resnCode: d.erppSeCode, interfaceSeqN: d.interfaceSeqN, vhcleNo: d.vhcleNo} return {tmplatId: '${ctznTmplatId}', answerSeCode: fnBiz.getAnswerSeCode(d.regltProcessSttusCode), resnCode: d.erppSeCode, interfaceSeqN: d.interfaceSeqN, vhrno: d.vhrno}
}) })
popupDiv = 'answerPreview'; popupDiv = 'answerPreview';
@ -628,7 +628,7 @@ Date Author Description
}, },
{ {
header: '차량번호', header: '차량번호',
name: 'vhcleNo', name: 'vhrno',
minWidth: 80, minWidth: 80,
sortable: false, sortable: false,
align: 'center', align: 'center',
@ -637,7 +637,7 @@ Date Author Description
// options: { // options: {
// formatter: (props)=>{ // formatter: (props)=>{
// return { // return {
// formatter: props.grid.getRow(props.rowKey).vhcleNo // formatter: props.grid.getRow(props.rowKey).vhrno
// ,element: "text" // ,element: "text"
// } // }
// } // }

@ -65,7 +65,7 @@ Date Author Description
</div> </div>
<div class="col-12"> <div class="col-12">
<select id="sch_opt" name="sch_opt" class="form-select"> <select id="sch_opt" name="sch_opt" class="form-select">
<option value="vhcleNo">차량번호</option> <option value="vhrno">차량번호</option>
</select> </select>
<input type="text" id="sch_word" name="sch_word" class="form-control" value="" /> <input type="text" id="sch_word" name="sch_word" class="form-control" value="" />
@ -424,7 +424,7 @@ Date Author Description
regltId: row.regltId regltId: row.regltId
,regltSeCode: row.regltSeCode ,regltSeCode: row.regltSeCode
,extnlInterfaceId ,extnlInterfaceId
,vhcleNo: row.vhcleNo ,vhrno: row.vhrno
,cvplRceptNo: row.cvplRceptNo ,cvplRceptNo: row.cvplRceptNo
} }
}) })
@ -445,7 +445,7 @@ Date Author Description
rowKey = GRID.store.data.rawData[0]?.rowKey; rowKey = GRID.store.data.rawData[0]?.rowKey;
} }
const rowDatas = GRID.store.data.rawData.map(d => { const rowDatas = GRID.store.data.rawData.map(d => {
return {tmplatId: '${ctznTmplatId}', answerSeCode: fnBiz.getAnswerSeCode(d.regltProcessSttusCode), resnCode: d.erppSeCode, interfaceSeqN: d.interfaceSeqN, vhcleNo: d.vhcleNo} return {tmplatId: '${ctznTmplatId}', answerSeCode: fnBiz.getAnswerSeCode(d.regltProcessSttusCode), resnCode: d.erppSeCode, interfaceSeqN: d.interfaceSeqN, vhrno: d.vhrno}
}) })
popupDiv = 'answerPreview'; popupDiv = 'answerPreview';
@ -532,7 +532,7 @@ Date Author Description
}, },
{ {
header: '차량번호', header: '차량번호',
name: 'vhcleNo', name: 'vhrno',
minWidth: 80, minWidth: 80,
sortable: false, sortable: false,
align: 'center' align: 'center'

@ -25,7 +25,7 @@
<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>
<select id="sch_opt" name="sch_opt" class="form-select"> <select id="sch_opt" name="sch_opt" class="form-select">
<option value="vhcleNo">차량번호</option> <option value="vhrno">차량번호</option>
</select> </select>
<input type="text" id="sch_word" name="sch_word" value=""> <input type="text" id="sch_word" name="sch_word" value="">
<button type="button" class="btn btn-search" id="btnSearch" name="btnSearch">검색</button> <button type="button" class="btn btn-search" id="btnSearch" name="btnSearch">검색</button>
@ -224,7 +224,7 @@
}, },
{ {
header: '차량번호', header: '차량번호',
name: 'vhcleNo', name: 'vhrno',
minWidth: 100, minWidth: 100,
sortable: false, sortable: false,
align: 'center', align: 'center',
@ -233,7 +233,7 @@
options: { options: {
formatter: (props)=>{ formatter: (props)=>{
return { return {
formatter: props.grid.getRow(props.rowKey).vhcleNo formatter: props.grid.getRow(props.rowKey).vhrno
,element: "text" ,element: "text"
} }
} }

@ -41,7 +41,7 @@
</tr> </tr>
<tr> <tr>
<th>차량번호</th> <th>차량번호</th>
<td><input type="text" id="vhcleNo" name="vhcleNo" value="${dto.vhcleNo }"></td> <td><input type="text" id="vhrno" name="vhrno" value="${dto.vhrno }"></td>
<th>단속일자</th> <th>단속일자</th>
<td><input type="text" id="regltDe" name="regltDe" value="${dto.regltDe }"></td> <td><input type="text" id="regltDe" name="regltDe" value="${dto.regltDe }"></td>
<th>입력구분</th> <th>입력구분</th>

@ -51,7 +51,7 @@
<div class="ms-2 me-2" style="min-width: max-content;"> <div class="ms-2 me-2" style="min-width: max-content;">
<select id="schOpt" class="form-select"> <select id="schOpt" class="form-select">
<option value="vhcleNo">차량번호</option> <option value="vhrno">차량번호</option>
<option value="payerNm">납부자명</option> <option value="payerNm">납부자명</option>
<option value="payerNo">납부자번호</option> <option value="payerNo">납부자번호</option>
<option value="petitionerNm">신고인명</option> <option value="petitionerNm">신고인명</option>

@ -19,7 +19,7 @@ const fimsApiUrl = {
,ADD_CTZN_ANS: '/fims/biz/cmm/addCtznStmtAnswer.do' //시민신고 답변 생성 ,ADD_CTZN_ANS: '/fims/biz/cmm/addCtznStmtAnswer.do' //시민신고 답변 생성
,ADD_CTZN_ANS_LIST: '/fims/biz/cmm/addCtznStmtAnswers.do' //시민신고 목록 답변 생성 ,ADD_CTZN_ANS_LIST: '/fims/biz/cmm/addCtznStmtAnswers.do' //시민신고 목록 답변 생성
,FIND_CTZN_ANS_TMPL_INFO: '/fims/biz/cmm/findCtznAnswerTmplInfo.do' //시민신고 답변 템플릿 조회 ,FIND_CTZN_ANS_TMPL_INFO: '/fims/biz/cmm/findCtznAnswerTmplInfo.do' //시민신고 답변 템플릿 조회
,FIND_CRACKDOWN_VHCLE_NO_CNT: '/fims/biz/cmm/findCrackdownVhcleNoCnt.do' //차량 단속건수 조회 ,FIND_CRACKDOWN_VHRNO_CNT: '/fims/biz/cmm/findCrackdownVhrnoCnt.do' //차량 단속건수 조회
,FIND_PROCESS_STTUS_CHANGE_HIST: '/fims/biz/cmm/findProcessSttusChangeHist.do' ,FIND_PROCESS_STTUS_CHANGE_HIST: '/fims/biz/cmm/findProcessSttusChangeHist.do'
,FIND_PAYER_ADRES_HIST: '/fims/biz/cmm/findPayerAdresHist.do' ,FIND_PAYER_ADRES_HIST: '/fims/biz/cmm/findPayerAdresHist.do'
@ -77,7 +77,7 @@ const fimsApiUrl = {
,MODIFY_RT_REGLT: '/fims/biz/rt/modifyRtReglt.do' //단속 데이타 변경 ,MODIFY_RT_REGLT: '/fims/biz/rt/modifyRtReglt.do' //단속 데이타 변경
,REMOVE_RT_REGLT: '/fims/biz/rt/removeRtReglt.do' //단속 데이타 변경 ,REMOVE_RT_REGLT: '/fims/biz/rt/removeRtReglt.do' //단속 데이타 변경
,FIND_RT_REGLT_ATTCH_FILES: '/fims/biz/rt/findRtRegltAttchFiles.do' //단속 정보 첨부파일 목록 조회 ,FIND_RT_REGLT_ATTCH_FILES: '/fims/biz/rt/findRtRegltAttchFiles.do' //단속 정보 첨부파일 목록 조회
,FIND_RT_REGLT_CAR_CRACKDOWN_CNT: '/fims/biz/rt/findRtRegltByVhcleNo.do' //차량 단속 정보 목록 조회 ,FIND_RT_REGLT_CAR_CRACKDOWN_CNT: '/fims/biz/rt/findRtRegltByVhrno.do' //차량 단속 정보 목록 조회

Loading…
Cancel
Save