Browse Source

Merge branch 'dev' into pre-production

chenglong
zhenghaoyu 1 year ago
parent
commit
2034c307dd
  1. 8
      blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/OpenOrderServiceImpl.java

8
blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/OpenOrderServiceImpl.java

@ -981,10 +981,10 @@ public class OpenOrderServiceImpl implements IOpenOrderService {
advanceDetailEntities.add(advanceDetailModel); advanceDetailEntities.add(advanceDetailModel);
} }
int all = orderPackageCodes.size() + advanceDetailEntities.size(); // int all = orderPackageCodes.size() + advanceDetailEntities.size();
if(all != advanceEntity.getTotalNum()){ // if(all != advanceEntity.getTotalNum()){
advanceService.updateTotalNumById(advanceEntity.getId(),all); // advanceService.updateTotalNumById(advanceEntity.getId(),all);
} // }
} }
advanceDetailService.saveBatch(advanceDetailEntities); advanceDetailService.saveBatch(advanceDetailEntities);

Loading…
Cancel
Save