Commit dfc6a18c by manxiaoqiang

2

parent 8e4adb6c
...@@ -337,11 +337,11 @@ public class ContractServiceImpl implements ContractService{ ...@@ -337,11 +337,11 @@ public class ContractServiceImpl implements ContractService{
if(contract.getPlatform().equals("tkio") && resource.getType().equals("main")){ if(contract.getPlatform().equals("tkio") && resource.getType().equals("main")){
accountService.update(contract); accountService.update(contract);
} }
if(resource.getPlatform().equals("io") && resource.getType().equals("main")){ if(contract.getPlatform().equals("io") && resource.getType().equals("main")){
accountIOService.update(resource); accountIOService.update(resource);
} }
if(resource.getPlatform().equals("tkio")){ if(contract.getPlatform().equals("tkio")){
IncrementFlow flow = incrementFlowRepository.findOne(resource.getContractCode()); IncrementFlow flow = incrementFlowRepository.findOne(resource.getContractCode());
if(null != flow){ if(null != flow){
flow.setEndDate(resource.getEndDate()); flow.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