商品映射市场价更改

This commit is contained in:
liyj 2025-10-28 18:51:35 +08:00
parent 3c067f4233
commit 311a82a32f

View File

@ -329,9 +329,10 @@ public class ProductMappingServiceImpl extends BaseServiceImpl<ProductMappingMap
item.setItem_name(shopProductSpecItem.getSpec_item_name());
if(isUpdate){
item.setItem_unit_price(shopProductSpecItem.getItemPrice());
item.setItem_market_price(shopProductSpecItem.getMarketPrice());
}else {
item.setItem_unit_price(shopProductSpecItem.getItemPrice());
item.setItem_market_price(shopProductSpecItem.getItemPrice());
item.setItem_market_price(shopProductSpecItem.getMarketPrice());
item.setItem_advice_price(shopProductSpecItem.getItemPrice());
}
}