|
|
@ -224,6 +224,8 @@ public class AppBusAdvanceGinvoiceapplyService { |
|
|
|
vo.setInvoicingUnit(finBillApplicationDetailsVo.getOpenTickUnitName()); |
|
|
|
vo.setName(finBillApplicationDetailsVo.getCustomerName()); |
|
|
|
vo.setInvoiceMoney(finBillApplicationDetailsVo.getOneBillMoney()); |
|
|
|
vo.setOpenTickTypeKey(finBillApplicationDetailsVo.getOpenTickTypeKey()); |
|
|
|
vo.setOpenTickTypeValue(finBillApplicationDetailsVo.getOpenTickTypeValue()); |
|
|
|
vo.setOpenTickSid(finBillApplicationDetailsVo.getOpenTickSid()); |
|
|
|
vo.setOpenTickName(finBillApplicationDetailsVo.getOpenTickName()); |
|
|
|
vo.setContractId(finBillApplicationDetailsVo.getContractNo()); |
|
|
@ -280,11 +282,17 @@ public class AppBusAdvanceGinvoiceapplyService { |
|
|
|
List<FinBillFileVo> cldjhtApplicationAppendxs = finBillApplicationDetailsVo.getCldjhtApplicationAppendxs(); |
|
|
|
List<FinBillFileVo> zjApplicationAppendxs = finBillApplicationDetailsVo.getZjApplicationAppendxs(); |
|
|
|
List<FinBillFileVo> arrearsCollectionAppendxs = finBillApplicationDetailsVo.getArrearsCollectionAppendxs(); |
|
|
|
List<FinBillFileVo> pcgsgdhdwdbjy = finBillApplicationDetailsVo.getPcgsgdhdwdbjy(); |
|
|
|
List<FinBillFileVo> pczrrdbcns = finBillApplicationDetailsVo.getPczrrdbcns(); |
|
|
|
List<FinBillFileVo> pczfxsjt = finBillApplicationDetailsVo.getPczfxsjt(); |
|
|
|
List<String> customerInvoiceApplyImages = new ArrayList<>();//客户开票申请书
|
|
|
|
List<String> invoiceApplyConfirmImages = new ArrayList<>();//开票信息确认书
|
|
|
|
List<String> registerContractImages = new ArrayList<>();//车辆登记合同
|
|
|
|
List<String> idCardImages = new ArrayList<>(); |
|
|
|
List<String> qklpfjImages = new ArrayList<>(); |
|
|
|
List<String> gsgdhdwdbjy = new ArrayList<>(); |
|
|
|
List<String> zrrdbcns = new ArrayList<>(); |
|
|
|
List<String> zfxsjt = new ArrayList<>(); |
|
|
|
if (zjApplicationAppendxs != null) { |
|
|
|
for (FinBillFileVo zjApplicationAppendx : zjApplicationAppendxs) { |
|
|
|
idCardImages.add(zjApplicationAppendx.getFileUrl()); |
|
|
@ -310,11 +318,29 @@ public class AppBusAdvanceGinvoiceapplyService { |
|
|
|
qklpfjImages.add(arrearsCollectionAppendx.getFileUrl()); |
|
|
|
} |
|
|
|
} |
|
|
|
if (pcgsgdhdwdbjy != null) { |
|
|
|
for (FinBillFileVo pcgsgdhdwdb : pcgsgdhdwdbjy) { |
|
|
|
gsgdhdwdbjy.add(pcgsgdhdwdb.getFileUrl()); |
|
|
|
} |
|
|
|
} |
|
|
|
if (pczrrdbcns != null) { |
|
|
|
for (FinBillFileVo pczrrdbcn : pczrrdbcns) { |
|
|
|
zrrdbcns.add(pczrrdbcn.getFileUrl()); |
|
|
|
} |
|
|
|
} |
|
|
|
if (pczfxsjt != null) { |
|
|
|
for (FinBillFileVo pczfxs : pczfxsjt) { |
|
|
|
zfxsjt.add(pczfxs.getFileUrl()); |
|
|
|
} |
|
|
|
} |
|
|
|
vo.setCustomerInvoiceApplyImages(customerInvoiceApplyImages); |
|
|
|
vo.setInvoiceApplyConfirmImages(invoiceApplyConfirmImages); |
|
|
|
vo.setRegisterContractImages(registerContractImages); |
|
|
|
vo.setIdCardImages(idCardImages); |
|
|
|
vo.setArrearsCollectionAppendxs(qklpfjImages); |
|
|
|
vo.setGsgdhdwdbjy(gsgdhdwdbjy); |
|
|
|
vo.setZrrdbcns(zrrdbcns); |
|
|
|
vo.setZfxsjt(zfxsjt); |
|
|
|
BusSalesOrderIsDTKPJVo busSalesOrderIsDTKPJVo = busSalesOrderFeign.fetchByContractNo(finBillApplicationDetailsVo.getContractNo()).getData(); |
|
|
|
if (StringUtils.isNotBlank(busSalesOrderIsDTKPJVo.getOneBillMoney())) { |
|
|
|
vo.setIsCanEdit(false); |
|
|
@ -522,12 +548,18 @@ public class AppBusAdvanceGinvoiceapplyService { |
|
|
|
List<String> invoiceApplyConfirmImages = dto.getInvoiceApplyConfirmImages();//开票信息确认书
|
|
|
|
List<String> registerContractImages = dto.getRegisterContractImages();//车辆登记合同
|
|
|
|
List<String> idCardImages = dto.getIdCardImages();//证件
|
|
|
|
List<String> arrearsCollectionAppendxs = dto.getArrearsCollectionAppendxs();//欠款领票附件
|
|
|
|
List<String> arrearsCollectionAppendxs = dto.getArrearsCollectionAppendxs(); |
|
|
|
List<String> gsgdhdwdbjy = dto.getGsgdhdwdbjy(); |
|
|
|
List<String> zrrdbcns = dto.getZrrdbcns(); |
|
|
|
List<String> zfxsjt = dto.getZfxsjt(); |
|
|
|
List<FinBillFileDto> khkpsqsApplicationAppendxs = new ArrayList<>(); // 客户开票申请书附件信息
|
|
|
|
List<FinBillFileDto> kpxxqrsApplicationAppendxs = new ArrayList<>(); // 开票信息确认书附件信息
|
|
|
|
List<FinBillFileDto> cldjhtApplicationAppendxs = new ArrayList<>(); // 车辆登记合同附件信息
|
|
|
|
List<FinBillFileDto> idCardImagesPC = new ArrayList<>();//证件
|
|
|
|
List<FinBillFileDto> qklpfjImages = new ArrayList<>(); // 欠款领票附件
|
|
|
|
List<FinBillFileDto> qklpfjImages = new ArrayList<>(); |
|
|
|
List<FinBillFileDto> pcgsgdhdwdbjy = new ArrayList<>(); |
|
|
|
List<FinBillFileDto> pczrrdbcns = new ArrayList<>(); |
|
|
|
List<FinBillFileDto> pczfxsjt = new ArrayList<>(); |
|
|
|
if (customerInvoiceApplyImages != null) { |
|
|
|
for (String customerInvoiceApplyImage : customerInvoiceApplyImages) { |
|
|
|
FinBillFileDto finBillFileDto = new FinBillFileDto(); |
|
|
@ -563,11 +595,35 @@ public class AppBusAdvanceGinvoiceapplyService { |
|
|
|
qklpfjImages.add(finBillFileDto); |
|
|
|
} |
|
|
|
} |
|
|
|
if (gsgdhdwdbjy != null) { |
|
|
|
for (String gsgdhdwdb : gsgdhdwdbjy) { |
|
|
|
FinBillFileDto finBillFileDto = new FinBillFileDto(); |
|
|
|
finBillFileDto.setFileUrl(gsgdhdwdb); |
|
|
|
pcgsgdhdwdbjy.add(finBillFileDto); |
|
|
|
} |
|
|
|
} |
|
|
|
if (zrrdbcns != null) { |
|
|
|
for (String zrrdbcn : zrrdbcns) { |
|
|
|
FinBillFileDto finBillFileDto = new FinBillFileDto(); |
|
|
|
finBillFileDto.setFileUrl(zrrdbcn); |
|
|
|
pczrrdbcns.add(finBillFileDto); |
|
|
|
} |
|
|
|
} |
|
|
|
if (zfxsjt != null) { |
|
|
|
for (String zfxs : zfxsjt) { |
|
|
|
FinBillFileDto finBillFileDto = new FinBillFileDto(); |
|
|
|
finBillFileDto.setFileUrl(zfxs); |
|
|
|
pczfxsjt.add(finBillFileDto); |
|
|
|
} |
|
|
|
} |
|
|
|
finBillApplicationDto.setKhkpsqsApplicationAppendxs(khkpsqsApplicationAppendxs); |
|
|
|
finBillApplicationDto.setKpxxqrsApplicationAppendxs(kpxxqrsApplicationAppendxs); |
|
|
|
finBillApplicationDto.setCldjhtApplicationAppendxs(cldjhtApplicationAppendxs); |
|
|
|
finBillApplicationDto.setZjApplicationAppendxs(idCardImagesPC); |
|
|
|
finBillApplicationDto.setArrearsCollectionAppendxs(qklpfjImages); |
|
|
|
finBillApplicationDto.setPcgsgdhdwdbjy(pcgsgdhdwdbjy); |
|
|
|
finBillApplicationDto.setPczrrdbcns(pczrrdbcns); |
|
|
|
finBillApplicationDto.setPczfxsjt(pczfxsjt); |
|
|
|
ResultBean resultBean = finBillApplicationFeign.saveQK(finBillApplicationDto); |
|
|
|
return resultBean; |
|
|
|
} |
|
|
|