Update PmsProductAttributeCategoryService.java
This commit is contained in:
parent
7e420f1968
commit
452b47ec4d
@ -10,15 +10,33 @@ import java.util.List;
|
|||||||
* Created by macro on 2018/4/26.
|
* Created by macro on 2018/4/26.
|
||||||
*/
|
*/
|
||||||
public interface PmsProductAttributeCategoryService {
|
public interface PmsProductAttributeCategoryService {
|
||||||
|
/**
|
||||||
|
* 创建属性分类
|
||||||
|
*/
|
||||||
int create(String name);
|
int create(String name);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改属性分类
|
||||||
|
*/
|
||||||
int update(Long id, String name);
|
int update(Long id, String name);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除属性分类
|
||||||
|
*/
|
||||||
int delete(Long id);
|
int delete(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取属性分类详情
|
||||||
|
*/
|
||||||
PmsProductAttributeCategory getItem(Long id);
|
PmsProductAttributeCategory getItem(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分页查询属性分类
|
||||||
|
*/
|
||||||
List<PmsProductAttributeCategory> getList(Integer pageSize, Integer pageNum);
|
List<PmsProductAttributeCategory> getList(Integer pageSize, Integer pageNum);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取包含属性的属性分类
|
||||||
|
*/
|
||||||
List<PmsProductAttributeCategoryItem> getListWithAttr();
|
List<PmsProductAttributeCategoryItem> getListWithAttr();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user