|
|
@ -212,17 +212,6 @@ public class LoanHomevisitFileexamineService extends MybatisBaseService<LoanHome |
|
|
|
return; |
|
|
|
} |
|
|
|
loanHomevisitInvestigateFileService.delByMainSid(dto.getHomeVisitSid()); |
|
|
|
//定位信息
|
|
|
|
for (String dwxx : dto.getLocation()) { |
|
|
|
LoanHomevisitInvestigateFileDto loanHomevisitInvestigateFileDto = new LoanHomevisitInvestigateFileDto(); |
|
|
|
loanHomevisitInvestigateFileDto.setMainSid(dto.getHomeVisitSid()); |
|
|
|
loanHomevisitInvestigateFileDto.setAttachType(LoanAttachTypeEnum.DWXX.getAttachType()); |
|
|
|
if (dwxx.indexOf(fileUploadComponent.getUrlPrefix()) > -1) { |
|
|
|
dwxx = dwxx.replace(fileUploadComponent.getUrlPrefix(), ""); |
|
|
|
} |
|
|
|
loanHomevisitInvestigateFileDto.setFileUrl(dwxx); |
|
|
|
loanHomevisitInvestigateFileService.saveOrUpdateDto(loanHomevisitInvestigateFileDto); |
|
|
|
} |
|
|
|
//房屋照片
|
|
|
|
for (String fwzp : dto.getHouse()) { |
|
|
|
LoanHomevisitInvestigateFileDto loanHomevisitInvestigateFileDto = new LoanHomevisitInvestigateFileDto(); |
|
|
@ -519,15 +508,6 @@ public class LoanHomevisitFileexamineService extends MybatisBaseService<LoanHome |
|
|
|
} |
|
|
|
vo.setLoanXdCons(loanXdConDetailsVos); |
|
|
|
vo.setLoanZfCons(loanZfConDetailsVos); |
|
|
|
//定位信息
|
|
|
|
List<LoanHomevisitInvestigateFileDetailsVo> dwxxImages = loanHomevisitInvestigateFileService.selByMainSidAndTypeKey(loanHomevisitFileexamine.getHomeVisitSid(), LoanAttachTypeEnum.DWXX.getAttachType()); |
|
|
|
List<String> location = new ArrayList<>(); |
|
|
|
if (dwxxImages != null && dwxxImages.size() > 0) { |
|
|
|
for (LoanHomevisitInvestigateFileDetailsVo dwxxImage : dwxxImages) { |
|
|
|
location.add(dwxxImage.getFileUrl()); |
|
|
|
} |
|
|
|
} |
|
|
|
vo.setLocation(location); |
|
|
|
//房屋照片
|
|
|
|
List<LoanHomevisitInvestigateFileDetailsVo> fwzpImages = loanHomevisitInvestigateFileService.selByMainSidAndTypeKey(loanHomevisitFileexamine.getHomeVisitSid(), LoanAttachTypeEnum.FWZP.getAttachType()); |
|
|
|
List<String> house = new ArrayList<>(); |
|
|
|