|
|
@ -1953,13 +1953,13 @@ public class CommonContractService extends MybatisBaseService<CommonContractMapp |
|
|
|
Future<String> future4 = pool.submit(() -> { |
|
|
|
return getReceiveCar(map, appOrderDetailsVo); |
|
|
|
}); |
|
|
|
Future<String> future5 = pool.submit(() -> { |
|
|
|
/* Future<String> future5 = pool.submit(() -> { |
|
|
|
return getInvoicMessage(map, appOrderDetailsVo); |
|
|
|
}); |
|
|
|
});*/ |
|
|
|
String singleFinalPriceOne = priceInfo.getSingleFinalPrice(); |
|
|
|
String depositOne = depositInfo.getDeposit(); |
|
|
|
//单台成交价与单台订金相等
|
|
|
|
Future<String> future6 = null; |
|
|
|
/* Future<String> future6 = null; |
|
|
|
if (new BigDecimal(singleFinalPriceOne).compareTo(new BigDecimal(depositOne)) != 0) { |
|
|
|
future6 = pool.submit(() -> { |
|
|
|
return getCarFin(map, appOrderDetailsVo); |
|
|
@ -1967,7 +1967,7 @@ public class CommonContractService extends MybatisBaseService<CommonContractMapp |
|
|
|
} |
|
|
|
Future<String> future7 = pool.submit(() -> { |
|
|
|
return getMoneyFin(map, appOrderDetailsVo); |
|
|
|
}); |
|
|
|
});*/ |
|
|
|
Future<String> future8 = null; |
|
|
|
if (!"02".equals(appOrderDetailsVo.getInvoiceType())) { |
|
|
|
future8 = pool.submit(() -> { |
|
|
@ -2010,11 +2010,11 @@ public class CommonContractService extends MybatisBaseService<CommonContractMapp |
|
|
|
File file = new File(docPdfComponent.getUploadTemplateUrl() + future4.get()); |
|
|
|
filesList.add(file); |
|
|
|
} |
|
|
|
if (StringUtils.isNotBlank(future5.get())) { |
|
|
|
/*if (StringUtils.isNotBlank(future5.get())) { |
|
|
|
File file = new File(docPdfComponent.getUploadTemplateUrl() + future5.get()); |
|
|
|
filesList.add(file); |
|
|
|
} |
|
|
|
if (future6 != null) { |
|
|
|
}*/ |
|
|
|
/* if (future6 != null) { |
|
|
|
if (StringUtils.isNotBlank(future6.get())) { |
|
|
|
File file = new File(docPdfComponent.getUploadTemplateUrl() + future6.get()); |
|
|
|
filesList.add(file); |
|
|
@ -2024,7 +2024,7 @@ public class CommonContractService extends MybatisBaseService<CommonContractMapp |
|
|
|
if (StringUtils.isNotBlank(future7.get())) { |
|
|
|
File file = new File(docPdfComponent.getUploadTemplateUrl() + future7.get()); |
|
|
|
filesList.add(file); |
|
|
|
} |
|
|
|
}*/ |
|
|
|
|
|
|
|
if (filesList.size() > 0) { |
|
|
|
// String typeName = ContractTemplateEnum.CONTRACTALL.getName() + "_" + DateUtil.format(new Date(), "yyyMMdd") + System.currentTimeMillis() + ".pdf";
|
|
|
|