Commit bbb5be16 authored by EDY's avatar EDY

bug

parent 11eb2ec7
...@@ -154,9 +154,11 @@ public class BaseContractInfoServiceImpl implements IBaseContractInfoService { ...@@ -154,9 +154,11 @@ public class BaseContractInfoServiceImpl implements IBaseContractInfoService {
ContractCollectVo contractCollectVo = baseContractInfoMapper.queryContractAmount(); ContractCollectVo contractCollectVo = baseContractInfoMapper.queryContractAmount();
if (contractCollectVo != null && contractCollectVo.getContractAmount() != null && contractCollectVo.getToTheAmount() != null) { if (contractCollectVo != null && contractCollectVo.getContractAmount() != null && contractCollectVo.getToTheAmount() != null) {
contractCollectVo.setPayeeAmount(contractCollectVo.getContractAmount().subtract(contractCollectVo.getToTheAmount())); contractCollectVo.setPayeeAmount(contractCollectVo.getContractAmount().subtract(contractCollectVo.getToTheAmount()));
BigDecimal invoiceAmount = baseInvoiceInfoMapper.queryInvoiceAmount();
contractCollectVo.setMakeInvoiceAmount(invoiceAmount);
} else {
contractCollectVo = new ContractCollectVo();
} }
BigDecimal invoiceAmount = baseInvoiceInfoMapper.queryInvoiceAmount();
contractCollectVo.setMakeInvoiceAmount(invoiceAmount);
return contractCollectVo; return contractCollectVo;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment