Commit 833eff93 by manxiaoqiang

2

parent 16772859
...@@ -469,6 +469,10 @@ public class ContractServiceImpl implements ContractService{ ...@@ -469,6 +469,10 @@ public class ContractServiceImpl implements ContractService{
} else { } else {
contract.setInvoice(contract.getInvoice() + resource.getMoney()); contract.setInvoice(contract.getInvoice() + resource.getMoney());
} }
if(contract.getType().equals(ContractTypeEnum.INCREMENT.getKey())){
contract.setStatus("end");
}
contractRepository.save(contract); contractRepository.save(contract);
resource.setPlatform(contract.getPlatform()); resource.setPlatform(contract.getPlatform());
......
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