|
|
@ -147,12 +147,13 @@ public class LoanBeCollectionVehService extends MybatisBaseService<LoanBeCollect |
|
|
|
} |
|
|
|
|
|
|
|
public LoanBeCollectionVehDbrDetailsVo initDbr(String saleVehSid) { |
|
|
|
String applySid = baseMapper.selBySaleVehSid(saleVehSid); |
|
|
|
LoanHomevisitInvestigateOtherpeoDetailsVo loanHomevisitInvestigateOtherpeoDetailsVo = loanHomevisitInvestigateOtherpeoService.selByMainSidAndSaleVehSid(applySid, saleVehSid); |
|
|
|
BusSalesOrderVehicle busSalesOrderVehicle = busSalesOrderVehicleFeign.details(saleVehSid).getData(); |
|
|
|
String sid = loanHomevisitInvestigateService.selectByBorrSid(busSalesOrderVehicle.getBorrowerSid()); |
|
|
|
LoanHomevisitInvestigateOtherpeoDetailsVo loanHomevisitInvestigateOtherpeoDetailsVo = loanHomevisitInvestigateOtherpeoService.selByMainSidAndSaleVehSid(sid, saleVehSid); |
|
|
|
LoanBeCollectionVehDbrDetailsVo loanBeCollectionVehDbrDetailsVo = new LoanBeCollectionVehDbrDetailsVo(); |
|
|
|
BeanUtil.copyProperties(loanHomevisitInvestigateOtherpeoDetailsVo, loanBeCollectionVehDbrDetailsVo); |
|
|
|
loanBeCollectionVehDbrDetailsVo.setSaleVehSid(saleVehSid); |
|
|
|
loanBeCollectionVehDbrDetailsVo.setMainSid(applySid); |
|
|
|
loanBeCollectionVehDbrDetailsVo.setMainSid(sid); |
|
|
|
List<LoanHomevisitInvestigateFileDetailsVo> dbrsfzs = loanHomevisitInvestigateFileService.selBySaleVehSidAndTypeKey(saleVehSid, LoanAttachTypeEnum.DBRSFZ.getAttachType()); |
|
|
|
List<LoanBeCollectionFileVo> sfzs = new ArrayList<>(); |
|
|
|
if (dbrsfzs != null && dbrsfzs.size() > 0){ |
|
|
@ -202,6 +203,7 @@ public class LoanBeCollectionVehService extends MybatisBaseService<LoanBeCollect |
|
|
|
loanHomevisitInvestigateOtherpeo.setPeoCareerValue(dto.getPeoCareerValue()); |
|
|
|
loanHomevisitInvestigateOtherpeo.setMainSid(dto.getMainSid()); |
|
|
|
loanHomevisitInvestigateOtherpeo.setSaleVehSid(dto.getSaleVehSid()); |
|
|
|
loanHomevisitInvestigateOtherpeo.setIsCs(1); |
|
|
|
List<LoanBeCollectionFileVo> sfzFiles = dto.getSfzFiles(); |
|
|
|
if (sfzFiles != null && sfzFiles.size() > 0){ |
|
|
|
for (LoanBeCollectionFileVo sfzFile : sfzFiles) { |
|
|
|