|
@@ -1368,8 +1368,10 @@ public class PageServiceImpl implements PageService {
|
|
|
}
|
|
|
@Override
|
|
|
public ResponseJson<PaginationVo<ProductItemVo>> getNewFloorList(Integer source,Integer userId,List<String> brandID,int pageNum, int pageSize) {
|
|
|
+ log.info("pagenum,pagesize,brandId-------------------------------->"+pageNum+"-----"+pageSize+"-=---------------"+brandID.toString());
|
|
|
PageHelper.startPage(pageNum, pageSize);
|
|
|
List<ProductItemVo> list = pageMapper.getNewFloorList(brandID);
|
|
|
+ log.info("当前分页--------------------》"+list.toString());
|
|
|
list.forEach(product -> {
|
|
|
Boolean couponsLogo = setCouponsLogo(userId, product.getProductId(), source);
|
|
|
product.setCouponsLogo(couponsLogo);
|
|
@@ -1382,7 +1384,6 @@ public class PageServiceImpl implements PageService {
|
|
|
Cons += product.getBrandID().toString() + ",";
|
|
|
}
|
|
|
Cons = Cons.substring(0, Cons.length() - 1);
|
|
|
- System.out.println(Cons);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -1390,7 +1391,6 @@ public class PageServiceImpl implements PageService {
|
|
|
product.setImage(ImageUtils.getImageURL("product", product.getImage(), 0, domain));
|
|
|
});
|
|
|
PaginationVo<ProductItemVo> pageData = new PaginationVo(list);
|
|
|
- log.info(pageData.toString());
|
|
|
return ResponseJson.success(pageData);
|
|
|
}
|
|
|
|