|
|
@ -137,6 +137,8 @@ public class EcCctvCrackdownServiceBean extends AbstractServiceBean implements E
|
|
|
|
extrDTO.setSysSeCd(getUserInfo().getOrgnztId());
|
|
|
|
extrDTO.setSysSeCd(getUserInfo().getOrgnztId());
|
|
|
|
|
|
|
|
|
|
|
|
extrDTO.setSggCd(xitFrameCodeService.instCdToSggCd(getUserInfo().getPstinstCode()));
|
|
|
|
extrDTO.setSggCd(xitFrameCodeService.instCdToSggCd(getUserInfo().getPstinstCode()));
|
|
|
|
|
|
|
|
extrDTO.setSggNm(xitFrameCodeService.getSggNm(extrDTO.getSggCd()));
|
|
|
|
|
|
|
|
extrDTO.setInstCd(getUserInfo().getPstinstCode());
|
|
|
|
|
|
|
|
|
|
|
|
if(records.size() >= 3){
|
|
|
|
if(records.size() >= 3){
|
|
|
|
extrDTO.setCrdnSeCd(FimsConst.CrdnSeCd.CCTV_DRV.getCode());
|
|
|
|
extrDTO.setCrdnSeCd(FimsConst.CrdnSeCd.CCTV_DRV.getCode());
|
|
|
@ -189,11 +191,15 @@ public class EcCctvCrackdownServiceBean extends AbstractServiceBean implements E
|
|
|
|
ExtnlInterfaceUtils.parseFileBusonlyToObject(busOnlyDTO, filePath + "/" + fi.getFileNm(),
|
|
|
|
ExtnlInterfaceUtils.parseFileBusonlyToObject(busOnlyDTO, filePath + "/" + fi.getFileNm(),
|
|
|
|
uploadRoot + uploadTempPath);
|
|
|
|
uploadRoot + uploadTempPath);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
String sggCd = xitFrameCodeService.instCdToSggCd(getUserInfo().getPstinstCode());
|
|
|
|
|
|
|
|
|
|
|
|
// 외부연계 테이블 생성
|
|
|
|
// 외부연계 테이블 생성
|
|
|
|
CctvCrackdownDTO.ExtrlRegltCntc extrDTO = CctvCrackdownDTO.ExtrlRegltCntc
|
|
|
|
CctvCrackdownDTO.ExtrlRegltCntc extrDTO = CctvCrackdownDTO.ExtrlRegltCntc
|
|
|
|
.builder()
|
|
|
|
.builder()
|
|
|
|
.sysSeCd(getUserInfo().getOrgnztId())
|
|
|
|
.sysSeCd(getUserInfo().getOrgnztId())
|
|
|
|
.sggCd(xitFrameCodeService.instCdToSggCd(getUserInfo().getPstinstCode()))
|
|
|
|
.sggCd(sggCd)
|
|
|
|
|
|
|
|
.sggNm(xitFrameCodeService.getSggNm(sggCd))
|
|
|
|
|
|
|
|
.instCd(getUserInfo().getPstinstCode())
|
|
|
|
.vhrno(busOnlyDTO.getVhrno())
|
|
|
|
.vhrno(busOnlyDTO.getVhrno())
|
|
|
|
//.crndDongNm(mdInfos[1])
|
|
|
|
//.crndDongNm(mdInfos[1])
|
|
|
|
//.crdnPlc(mdInfos[2])
|
|
|
|
//.crdnPlc(mdInfos[2])
|
|
|
@ -329,6 +335,7 @@ public class EcCctvCrackdownServiceBean extends AbstractServiceBean implements E
|
|
|
|
.gpsY(metaFileInfos.size() >= 3? metaFileInfos.get(2).trim() : null)
|
|
|
|
.gpsY(metaFileInfos.size() >= 3? metaFileInfos.get(2).trim() : null)
|
|
|
|
|
|
|
|
|
|
|
|
.crdnYmd(metaFileNames[0].substring(0,8))
|
|
|
|
.crdnYmd(metaFileNames[0].substring(0,8))
|
|
|
|
|
|
|
|
|
|
|
|
.crdnBzentyCd(metaFileNames[1])
|
|
|
|
.crdnBzentyCd(metaFileNames[1])
|
|
|
|
.crdnEqpmntNo(metaFileNames[2])
|
|
|
|
.crdnEqpmntNo(metaFileNames[2])
|
|
|
|
.rgtr(getUserInfo().getUniqId())
|
|
|
|
.rgtr(getUserInfo().getUniqId())
|
|
|
@ -358,7 +365,6 @@ public class EcCctvCrackdownServiceBean extends AbstractServiceBean implements E
|
|
|
|
.rgtr(getUserInfo().getUniqId())
|
|
|
|
.rgtr(getUserInfo().getUniqId())
|
|
|
|
.linkId(extrDTO.getFileLinkId())
|
|
|
|
.linkId(extrDTO.getFileLinkId())
|
|
|
|
.sysSeCd(extrDTO.getSysSeCd())
|
|
|
|
.sysSeCd(extrDTO.getSysSeCd())
|
|
|
|
.crdnInptSeCd(extrDTO.getInptSeCd())
|
|
|
|
|
|
|
|
.build();
|
|
|
|
.build();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|