|
@@ -170,6 +170,9 @@ public class FlowContractInvoiceService {
|
|
|
if (relations.size() == 1) {
|
|
|
ContractInvoiceRelation relation = relations.get(0);
|
|
|
relation.setInvoiceAmount(entity.getInvoiceAmount());
|
|
|
+ if(entity.getFlowStatus().equals(FlowStatusConstants.FLOW_NULLY)){
|
|
|
+ relation.setInvoiceAmount(null);
|
|
|
+ }
|
|
|
contractInvoiceRelationService.updateById(relation);
|
|
|
}
|
|
|
return res;
|