商品共有属性

master
Jiang Peng 2024-03-07 20:45:44 +08:00
parent c26da508d7
commit a53f7ba4b7
4 changed files with 3 additions and 38 deletions

View File

@ -47,35 +47,4 @@ public interface CategoryInfoService extends IService<CategoryInfo> {
CategoryCommonElementResp getTemplateAttributeByCateGoryId(Long cateGoryId); CategoryCommonElementResp getTemplateAttributeByCateGoryId(Long cateGoryId);
// /**
// * 通过品类id查找包括父级属性集合属性组集合品牌集合
// */
// Result parentCommonElement(Long categoryId);
//
// /**
// * 通过品类id获取属性组集合
// */
// List<AttributeGroup> getAttributeGroupList(Long categoryId);
//
// /**
// * 通过品类id获取属性集合
// */
// List<AttributeInfo> getAttributeInfoList(Long categoryId);
//
//
// /**
// * 通过品类id获取品牌集合
// */
// List<BrandInfo> getBrandInfoList(Long categoryId);
//
// public boolean save(CategoryInfoSaveModel categoryInfoSaveModel);
//
// /**
// * 通过品类id过去父级以上的属性、属性组、品牌集合
// */
// CategoryParentCommonElementResp parentCommonElement(Long categoryId);
//
// CategoryCommonElementResp getTemplateAttributeByCateGoryId(Long categoryId);
} }

View File

@ -117,4 +117,6 @@ public class AttributeGroupServiceImpl extends ServiceImpl<AttributeGroupMapper,
.toList() .toList()
); );
} }
} }

View File

@ -194,11 +194,11 @@ public class CategoryInfoServiceImpl extends ServiceImpl<CategoryInfoMapper, Cat
} }
}); });
} }
} }
return brandInfoList; return brandInfoList;
} }
/** /**
* ID * ID
* *
@ -291,7 +291,6 @@ public class CategoryInfoServiceImpl extends ServiceImpl<CategoryInfoMapper, Cat
getParentIdListByCateGoryId(parentIdList, categoryInfo.getParentId()); getParentIdListByCateGoryId(parentIdList, categoryInfo.getParentId());
} }
/** /**
* ID * ID
* *

View File

@ -54,11 +54,6 @@ public class RuleInfoServiceImpl extends ServiceImpl<RuleInfoMapper, RuleInfo>
if (ObjUtils.notNull(ruleInfo.getStatus())){ if (ObjUtils.notNull(ruleInfo.getStatus())){
queryWrapper.eq(RuleInfo::getStatus, ruleInfo.getStatus()); queryWrapper.eq(RuleInfo::getStatus, ruleInfo.getStatus());
} }
return list(queryWrapper); return list(queryWrapper);
} }