商品共有属性
parent
c26da508d7
commit
a53f7ba4b7
|
@ -47,35 +47,4 @@ public interface CategoryInfoService extends IService<CategoryInfo> {
|
|||
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);
|
||||
|
||||
}
|
||||
|
|
|
@ -117,4 +117,6 @@ public class AttributeGroupServiceImpl extends ServiceImpl<AttributeGroupMapper,
|
|||
.toList()
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -194,11 +194,11 @@ public class CategoryInfoServiceImpl extends ServiceImpl<CategoryInfoMapper, Cat
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
return brandInfoList;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 通过品类ID获取父级以上的属性集合
|
||||
*
|
||||
|
@ -291,7 +291,6 @@ public class CategoryInfoServiceImpl extends ServiceImpl<CategoryInfoMapper, Cat
|
|||
getParentIdListByCateGoryId(parentIdList, categoryInfo.getParentId());
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 通过品类ID获取品类共有属性
|
||||
*
|
||||
|
|
|
@ -54,11 +54,6 @@ public class RuleInfoServiceImpl extends ServiceImpl<RuleInfoMapper, RuleInfo>
|
|||
if (ObjUtils.notNull(ruleInfo.getStatus())){
|
||||
queryWrapper.eq(RuleInfo::getStatus, ruleInfo.getStatus());
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
return list(queryWrapper);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue