Commit 838f61c7 by manxiaoqiang

2

parent c9c1e8f1
......@@ -207,6 +207,7 @@ public class ContractServiceImpl implements ContractService{
resource.setPayMoney(0L);
resource.setInvoice(0L);
Long extraFlow = resource.getExtraFlow();
if(resource.getType().equals("main")) {
if(!(extraFlow.longValue() == 0)){
if(resource.getPlatform().equals("tkio")){
IncrementFlow flow = new IncrementFlow();
......@@ -219,7 +220,6 @@ public class ContractServiceImpl implements ContractService{
incrementFlowRepository.save(flow);
}
}
if(resource.getType().equals("main")) {
if (DateUtil.getBeforeDays(0).compareTo(resource.getStartDate()) < 0) {
resource.setDs(DateUtil.getBeforeDays(0));
resource.setStatus("wait");
......
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