|
@@ -1222,7 +1222,7 @@ public class PageServiceImpl implements PageService {
|
|
|
List<BaikeTypeVo> baikeTypeList = pageMapper.getBaikeTypeList(commodityType);
|
|
|
baikeTypeList.forEach(baikeType->{
|
|
|
// 产品/仪器列表
|
|
|
- List<BaikeProductVo> productList = pageMapper.getBaikeProducts(baikeType.getTypeId(), null);
|
|
|
+ List<BaikeProductVo> productList = pageMapper.getBaikeProducts(baikeType.getTypeId(), null, 6);
|
|
|
productList.forEach(product ->{
|
|
|
// 问题列表
|
|
|
List<String> questionList = pageMapper.getBaikeQuestionList(product.getProductId());
|
|
@@ -1237,7 +1237,7 @@ public class PageServiceImpl implements PageService {
|
|
|
public ResponseJson<PaginationVo<BaikeProductVo>> getBaikeTypeData(Integer typeId, int pageNum, int pageSize) {
|
|
|
// 产品/仪器列表
|
|
|
PageHelper.startPage(pageNum, pageSize);
|
|
|
- List<BaikeProductVo> productList = pageMapper.getBaikeProducts(typeId, null);
|
|
|
+ List<BaikeProductVo> productList = pageMapper.getBaikeProducts(typeId, null, null);
|
|
|
productList.forEach(product -> {
|
|
|
// 问题列表
|
|
|
List<String> questionList = pageMapper.getBaikeQuestionList(product.getProductId());
|