Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
mall
Commits
f1ff4c0d
Commit
f1ff4c0d
authored
Feb 19, 2020
by
macro
Browse files
Update PmsProductCategoryService.java
parent
8a50b47b
Changes
1
Hide whitespace changes
Inline
Side-by-side
mall-admin/src/main/java/com/macro/mall/service/PmsProductCategoryService.java
View file @
f1ff4c0d
...
...
@@ -10,25 +10,49 @@ import org.springframework.transaction.annotation.Transactional;
import
java.util.List
;
/**
*
产
品分类Service
*
商
品分类Service
* Created by macro on 2018/4/26.
*/
public
interface
PmsProductCategoryService
{
/**
* 创建商品分类
*/
@Transactional
int
create
(
PmsProductCategoryParam
pmsProductCategoryParam
);
/**
* 修改商品分类
*/
@Transactional
int
update
(
Long
id
,
PmsProductCategoryParam
pmsProductCategoryParam
);
/**
* 分页获取商品分类
*/
List
<
PmsProductCategory
>
getList
(
Long
parentId
,
Integer
pageSize
,
Integer
pageNum
);
/**
* 删除商品分类
*/
int
delete
(
Long
id
);
/**
* 根据ID获取商品分类
*/
PmsProductCategory
getItem
(
Long
id
);
/**
* 批量修改导航状态
*/
int
updateNavStatus
(
List
<
Long
>
ids
,
Integer
navStatus
);
/**
* 批量修改显示状态
*/
int
updateShowStatus
(
List
<
Long
>
ids
,
Integer
showStatus
);
/**
* 以层级形式获取商品分类
*/
List
<
PmsProductCategoryWithChildrenItem
>
listWithChildren
();
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment