修改商品货架号同步到base表

This commit is contained in:
liyj 2025-10-29 10:41:14 +08:00
parent a6877b3684
commit 8815fb9d94

View File

@ -818,6 +818,7 @@ public class ShopProductBaseServiceImpl extends BaseServiceImpl<ShopProductBaseM
shopProductBase.setProduct_unit_price(item_unit_price);
shopProductBase.setProduct_unit_points(item_unit_points);
shopProductBase.setProduct_unit_sp(item_unit_sp.intValue());
shopProductBase.setProduct_number(shopProductInfo.getProduct_number());
// todo 定制可以增加市场价 item_market_price
BigDecimal max_item_unit_price = shopProductItemList.stream().map(ShopProductItem::getItem_unit_price).max(BigDecimal::compareTo).get();