|
|
@ -471,17 +471,17 @@ public class LoanHomevisitPrepService extends MybatisBaseService<LoanHomevisitPr |
|
|
|
//贷款车辆买卖合同
|
|
|
|
List<String> dkclmmhts = clmmContract(printConfirmDto, conSetUpKey); |
|
|
|
//生成车辆融资协议
|
|
|
|
/* List<String> clrzxyUrls = generateCLRZXY(printConfirmDto, conSetUpKey); |
|
|
|
List<String> clrzxyUrls = generateCLRZXY(printConfirmDto, conSetUpKey); |
|
|
|
//生成还款协议
|
|
|
|
List<String> hkxyUrls = hkxy(printConfirmDto, conSetUpKey); |
|
|
|
//代管车辆委托书
|
|
|
|
List<String> dgclwtsUrls = dgclwts(printConfirmDto, conSetUpKey);*/ |
|
|
|
List<String> dgclwtsUrls = dgclwts(printConfirmDto, conSetUpKey); |
|
|
|
//判断是否为高低开
|
|
|
|
BusSalesOrderPrice data = busSalesOrderFeign.selectByContractNoOne(printConfirmDto.getContractNo()).getData(); |
|
|
|
//查询金融方案
|
|
|
|
SolutionsDetailsVo solutionsDetailsVo = loanSolutionsService.selectDetails(busSalesOrder.getSid()).getData(); |
|
|
|
//判断是否为高低开,若是则生成开票申请书
|
|
|
|
/*List<String> kpsqsUrls = new ArrayList<>(); |
|
|
|
List<String> kpsqsUrls = new ArrayList<>(); |
|
|
|
if (!data.getSingleFinalPrice().equals(solutionsDetailsVo.getMainVehicleAmount())) { |
|
|
|
//开票申请书
|
|
|
|
kpsqsUrls = kpsqs(printConfirmDto, conSetUpKey); |
|
|
@ -508,14 +508,14 @@ public class LoanHomevisitPrepService extends MybatisBaseService<LoanHomevisitPr |
|
|
|
if ("0".equals(homeKcCust.getIsSecurity())) { |
|
|
|
//生成公司股东会对外担保决议
|
|
|
|
gsgddwdbjyUrls = gsgddwdbjy(printConfirmDto, conSetUpKey); |
|
|
|
}*/ |
|
|
|
} |
|
|
|
if (dkclmmhts != null && dkclmmhts.size() > 0) { |
|
|
|
for (String dkclmmht : dkclmmhts) { |
|
|
|
File file = new File(docPdfComponent.getUploadTemplateUrl() + dkclmmht); |
|
|
|
filesList.add(file); |
|
|
|
} |
|
|
|
} |
|
|
|
/*if (clrzxyUrls != null && clrzxyUrls.size() > 0) { |
|
|
|
if (clrzxyUrls != null && clrzxyUrls.size() > 0) { |
|
|
|
for (String clrzxyUrl : clrzxyUrls) { |
|
|
|
File file = new File(docPdfComponent.getUploadTemplateUrl() + clrzxyUrl); |
|
|
|
filesList.add(file); |
|
|
@ -568,7 +568,7 @@ public class LoanHomevisitPrepService extends MybatisBaseService<LoanHomevisitPr |
|
|
|
File file = new File(docPdfComponent.getUploadTemplateUrl() + gsgddwdbjyUrl); |
|
|
|
filesList.add(file); |
|
|
|
} |
|
|
|
}*/ |
|
|
|
} |
|
|
|
//合并pdf文件
|
|
|
|
if (filesList.size() > 0) { |
|
|
|
String dateStr = DateUtil.format(new Date(), "yyyyMMdd"); |
|
|
|