Ver código fonte

Update PmsProductAttributeCategoryService.java

macro 5 anos atrás
pai
commit
452b47ec4d

+ 18 - 0
mall-admin/src/main/java/com/macro/mall/service/PmsProductAttributeCategoryService.java

@@ -10,15 +10,33 @@ import java.util.List;
  * Created by macro on 2018/4/26.
  */
 public interface PmsProductAttributeCategoryService {
+    /**
+     * 创建属性分类
+     */
     int create(String name);
 
+    /**
+     * 修改属性分类
+     */
     int update(Long id, String name);
 
+    /**
+     * 删除属性分类
+     */
     int delete(Long id);
 
+    /**
+     * 获取属性分类详情
+     */
     PmsProductAttributeCategory getItem(Long id);
 
+    /**
+     * 分页查询属性分类
+     */
     List<PmsProductAttributeCategory> getList(Integer pageSize, Integer pageNum);
 
+    /**
+     * 获取包含属性的属性分类
+     */
     List<PmsProductAttributeCategoryItem> getListWithAttr();
 }