|
|
@ -157,6 +157,16 @@ public class EcCctvCrackdownServiceBean extends AbstractServiceBean implements E
|
|
|
|
int imgCnt = fm.getCmmFileDtls().size();
|
|
|
|
int imgCnt = fm.getCmmFileDtls().size();
|
|
|
|
CctvCrackdownDTO.Request reqDTO = getRequestDTO(extrDTO);
|
|
|
|
CctvCrackdownDTO.Request reqDTO = getRequestDTO(extrDTO);
|
|
|
|
reqDTO.setAtchFileCnt(imgCnt);
|
|
|
|
reqDTO.setAtchFileCnt(imgCnt);
|
|
|
|
|
|
|
|
if(reqDTO.getCrdnSpareaNm() != null && !"".equals(reqDTO.getCrdnSpareaNm())){
|
|
|
|
|
|
|
|
for (FimsConst.CrdnSpareaCd e : FimsConst.CrdnSpareaCd.values()) {
|
|
|
|
|
|
|
|
if (e.getDesc().equals(reqDTO.getCrdnSpareaNm())) {
|
|
|
|
|
|
|
|
reqDTO.setCrdnSpareaCd(e.getCode());
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
reqDTO.setCrdnSpareaCd("");
|
|
|
|
|
|
|
|
}
|
|
|
|
mapper.insertRtRegltFromEcExtrRegltCntc(reqDTO);
|
|
|
|
mapper.insertRtRegltFromEcExtrRegltCntc(reqDTO);
|
|
|
|
// 단속상태 변경이력 생성
|
|
|
|
// 단속상태 변경이력 생성
|
|
|
|
rtCrackdownMgtMapper.insertRtProcessSttsChangeHist(
|
|
|
|
rtCrackdownMgtMapper.insertRtProcessSttsChangeHist(
|
|
|
@ -235,6 +245,16 @@ public class EcCctvCrackdownServiceBean extends AbstractServiceBean implements E
|
|
|
|
|
|
|
|
|
|
|
|
// 단속 데이타 생성 - 단속이미지가 처리후(단속이미지 갯수 count)
|
|
|
|
// 단속 데이타 생성 - 단속이미지가 처리후(단속이미지 갯수 count)
|
|
|
|
CctvCrackdownDTO.Request reqDTO = getRequestDTO(extrDTO);
|
|
|
|
CctvCrackdownDTO.Request reqDTO = getRequestDTO(extrDTO);
|
|
|
|
|
|
|
|
if(reqDTO.getCrdnSpareaNm() != null && !"".equals(reqDTO.getCrdnSpareaNm())){
|
|
|
|
|
|
|
|
for (FimsConst.CrdnSpareaCd e : FimsConst.CrdnSpareaCd.values()) {
|
|
|
|
|
|
|
|
if (e.getDesc().equals(reqDTO.getCrdnSpareaNm())) {
|
|
|
|
|
|
|
|
reqDTO.setCrdnSpareaCd(e.getCode());
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
reqDTO.setCrdnSpareaCd("");
|
|
|
|
|
|
|
|
}
|
|
|
|
mapper.insertRtRegltFromEcExtrRegltCntc(reqDTO);
|
|
|
|
mapper.insertRtRegltFromEcExtrRegltCntc(reqDTO);
|
|
|
|
// 단속상태 변경이력 생성
|
|
|
|
// 단속상태 변경이력 생성
|
|
|
|
rtCrackdownMgtMapper.insertRtProcessSttsChangeHist(
|
|
|
|
rtCrackdownMgtMapper.insertRtProcessSttsChangeHist(
|
|
|
@ -281,6 +301,16 @@ public class EcCctvCrackdownServiceBean extends AbstractServiceBean implements E
|
|
|
|
dto.setInfType(FimsBizUtils.getFileInfType(dto.getCrdnSeCd()));
|
|
|
|
dto.setInfType(FimsBizUtils.getFileInfType(dto.getCrdnSeCd()));
|
|
|
|
dto.setCrdnSttsCd(FimsConst.CrdnSttsCd.CRACKDOWN_INIT.getCode());
|
|
|
|
dto.setCrdnSttsCd(FimsConst.CrdnSttsCd.CRACKDOWN_INIT.getCode());
|
|
|
|
dto.setRgtr(getUserInfo().getUniqId());
|
|
|
|
dto.setRgtr(getUserInfo().getUniqId());
|
|
|
|
|
|
|
|
if(dto.getCrdnSpareaNm() != null && !"".equals(dto.getCrdnSpareaNm())){
|
|
|
|
|
|
|
|
for (FimsConst.CrdnSpareaCd e : FimsConst.CrdnSpareaCd.values()) {
|
|
|
|
|
|
|
|
if (e.getDesc().equals(dto.getCrdnSpareaNm())) {
|
|
|
|
|
|
|
|
dto.setCrdnSpareaCd(e.getCode());
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
dto.setCrdnSpareaCd("");
|
|
|
|
|
|
|
|
}
|
|
|
|
mapper.insertRtRegltFromEcExtrRegltCntc(dto);
|
|
|
|
mapper.insertRtRegltFromEcExtrRegltCntc(dto);
|
|
|
|
|
|
|
|
|
|
|
|
dto.setMdfr(getUserInfo().getUniqId());
|
|
|
|
dto.setMdfr(getUserInfo().getUniqId());
|
|
|
@ -298,6 +328,16 @@ public class EcCctvCrackdownServiceBean extends AbstractServiceBean implements E
|
|
|
|
dto.setInfType(FimsBizUtils.getFileInfType(dto.getCrdnSeCd()));
|
|
|
|
dto.setInfType(FimsBizUtils.getFileInfType(dto.getCrdnSeCd()));
|
|
|
|
dto.setCrdnSttsCd(FimsConst.CrdnSttsCd.DISALLOW.getCode());
|
|
|
|
dto.setCrdnSttsCd(FimsConst.CrdnSttsCd.DISALLOW.getCode());
|
|
|
|
dto.setRgtr(getUserInfo().getUniqId());
|
|
|
|
dto.setRgtr(getUserInfo().getUniqId());
|
|
|
|
|
|
|
|
if(dto.getCrdnSpareaNm() != null && !"".equals(dto.getCrdnSpareaNm())){
|
|
|
|
|
|
|
|
for (FimsConst.CrdnSpareaCd e : FimsConst.CrdnSpareaCd.values()) {
|
|
|
|
|
|
|
|
if (e.getDesc().equals(dto.getCrdnSpareaNm())) {
|
|
|
|
|
|
|
|
dto.setCrdnSpareaCd(e.getCode());
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
dto.setCrdnSpareaCd("");
|
|
|
|
|
|
|
|
}
|
|
|
|
mapper.insertRtRegltFromEcExtrRegltCntc(dto);
|
|
|
|
mapper.insertRtRegltFromEcExtrRegltCntc(dto);
|
|
|
|
|
|
|
|
|
|
|
|
// 서손테이블
|
|
|
|
// 서손테이블
|
|
|
|