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

This commit is contained in:
liyj 2025-10-29 10:41:14 +08:00
parent 7d3fb8d322
commit cad18ed55c

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();