Commit 1b1bf3a9 authored by 332784038@qq.com's avatar 332784038@qq.com

复制价格业务再次重构调整

parent 7d446b75
......@@ -3598,7 +3598,13 @@ public class ProductPriceServiceImpl extends AbstractService<ProductPriceMapper,
//添加修改日志,需要查询特需和阶梯,所以需要在修改之前执行
batchAddSnapshot(snapshotList);
dbItem.setSpecialDOList(productPrice.getSpecialDOList());
if (productPrice.getPriceType() == 1) {
dbItem.setFullPricePackagingList(productPrice.getFullPricePackagingList());
} else {
dbItem.setFreightPricePackagingList(productPrice.getFullPricePackagingList());
dbItem.setClearancePricePackagingList(productPrice.getFullPricePackagingList());
}
List<ProductPriceStepDO> allStepList = buildCopyAllStepList(createReqVO);
copyClearAndSavePriceStepList(dbItem, allStepList, lineTransportTypeMap.get(dbItem.getWarehouseLineId()), createReqVO.isBatch());
......
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