|
@@ -315,8 +315,10 @@ public class DetailsOfTheRefuelingPlanSpinningServiceImpl implements IDetailsOfT
|
|
});
|
|
});
|
|
//更新产线
|
|
//更新产线
|
|
int i2 = saleProductsMapper.updateSaleProductBatch(saleProductsList);
|
|
int i2 = saleProductsMapper.updateSaleProductBatch(saleProductsList);
|
|
- //更新产线
|
|
|
|
- int i3= saleProductsMapper.updateSaleProductBatch(saleProductsList2);
|
|
|
|
|
|
+ if(saleProductsList2.size() > 0){
|
|
|
|
+ //更新产线
|
|
|
|
+ int i3= saleProductsMapper.updateSaleProductBatch(saleProductsList2);
|
|
|
|
+ }
|
|
return detailsOfTheRefuelingPlanSpinningMapper.insertBatchDetailsOfTheRefuelingPlanSpinning(detailsOfTheRefuelingPlanSpinning);
|
|
return detailsOfTheRefuelingPlanSpinningMapper.insertBatchDetailsOfTheRefuelingPlanSpinning(detailsOfTheRefuelingPlanSpinning);
|
|
}
|
|
}
|
|
@Override
|
|
@Override
|