Browse Source

新品橱窗bugfix

zhijiezhao 2 years ago
parent
commit
e19d843d53

+ 1 - 0
src/main/java/com/caimei365/commodity/service/impl/PageServiceImpl.java

@@ -1327,6 +1327,7 @@ public class PageServiceImpl implements PageService {
         PageHelper.startPage(pageNum, pageSize);
         List<ProductItemVo> list = pageMapper.getNewFloorList(brandID, 0);
         list.forEach(product -> {
+            product.setPriceGrade(priceUtilService.getPriceGrade(product.getPrice()));
             Boolean couponsLogo = setCouponsLogo(userId, product.getProductId(), source);
             product.setCouponsLogo(couponsLogo);
             if (product.getBrandID() != null) {