From 9ac37aa3aad07494c830012370a8b624d63bfaec Mon Sep 17 00:00:00 2001 From: wuchunlei Date: Fri, 7 Mar 2025 10:01:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=96=AF=E5=AD=90=E8=AF=BB?= =?UTF-8?q?=E4=B9=A6=E5=95=86=E5=93=81=E5=88=97=E8=A1=A8bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/book/controller/BookLabelAndMarketController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/peanut/modules/book/controller/BookLabelAndMarketController.java b/src/main/java/com/peanut/modules/book/controller/BookLabelAndMarketController.java index a15f14af..68da670d 100644 --- a/src/main/java/com/peanut/modules/book/controller/BookLabelAndMarketController.java +++ b/src/main/java/com/peanut/modules/book/controller/BookLabelAndMarketController.java @@ -387,7 +387,7 @@ public class BookLabelAndMarketController { wrapper.orderByDesc(ShopProduct::getSumSales); List> list = toLabelService.listMaps(wrapper); for (Map map:list){ - ShopProduct shopProduct = shopProductService.getById(map.get("id").toString()); + ShopProduct shopProduct = shopProductService.getById(map.get("product_id").toString()); if (shopProduct.getIsVipPrice()==1){ map.put("vip_price",shopProductService.getVipPrice(shopProduct)); }