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