商品信息列表

product
yaoxin 2024-03-10 18:34:48 +08:00
parent 3289202aab
commit 0556dba014
1 changed files with 2 additions and 0 deletions

View File

@ -248,6 +248,8 @@ public class CategoryInfoServiceImpl extends ServiceImpl<CategoryInfoMapper, Cat
LambdaQueryWrapper<AsCategoryAttributeGroup> asCategoryAttributeGroupLambdaQueryWrapper = new LambdaQueryWrapper<>() {{ LambdaQueryWrapper<AsCategoryAttributeGroup> asCategoryAttributeGroupLambdaQueryWrapper = new LambdaQueryWrapper<>() {{
in(AsCategoryAttributeGroup::getCategoryId, cateGroupIdList); in(AsCategoryAttributeGroup::getCategoryId, cateGroupIdList);
}}; }};
HashSet<Long> longs = new HashSet<>();
List<AsCategoryAttributeGroup> categoryAttributeGroupList = asCategoryAttributeGroupService.list(asCategoryAttributeGroupLambdaQueryWrapper); List<AsCategoryAttributeGroup> categoryAttributeGroupList = asCategoryAttributeGroupService.list(asCategoryAttributeGroupLambdaQueryWrapper);
List<TemplateAttributeGroupModel> attributeGroupModelList = categoryAttributeGroupList.stream() List<TemplateAttributeGroupModel> attributeGroupModelList = categoryAttributeGroupList.stream()
.map(asCategoryAttributeGroup -> TemplateAttributeGroupModel.attributeGroupBuild( .map(asCategoryAttributeGroup -> TemplateAttributeGroupModel.attributeGroupBuild(