Commit a8a7bcf4 by manxiaoqiang

2

parent b8abf012
...@@ -352,7 +352,7 @@ public class ContractServiceImpl implements ContractService{ ...@@ -352,7 +352,7 @@ public class ContractServiceImpl implements ContractService{
} }
} else if(resource.getExtraFlow().longValue() > 0){ } else if(resource.getExtraFlow().longValue() > 0){
IncrementFlow flow1 = new IncrementFlow(); IncrementFlow flow1 = new IncrementFlow();
Account account = accountRepository.findByEmail(resource.getEmail()); Account account = accountRepository.findByEmail(contract.getEmail());
flow1.setAccount(account.getId()); flow1.setAccount(account.getId());
flow1.setFlow(resource.getExtraFlow()); flow1.setFlow(resource.getExtraFlow());
flow1.setEndDate(resource.getEndDate()); flow1.setEndDate(resource.getEndDate());
......
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