Commit ff705e07 authored by EDY's avatar EDY

优化

parent 36e343d0
......@@ -176,7 +176,9 @@ public class BaseContractInfoServiceImpl implements IBaseContractInfoService {
if (contractCollectVo != null && contractCollectVo.getContractAmount() != null && contractCollectVo.getToTheAmount() != null) {
contractCollectVo.setPayeeAmount(contractCollectVo.getContractAmount().subtract(contractCollectVo.getToTheAmount()));
BigDecimal invoiceAmount = baseInvoiceInfoMapper.queryInvoiceAmount(contractId);
if (ObjectUtil.isNotNull(invoiceAmount)) {
contractCollectVo.setMakeInvoiceAmount(invoiceAmount);
}
} else {
contractCollectVo = new 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