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
d9c3d3c8
Commit
d9c3d3c8
authored
Feb 20, 2020
by
macro
Browse files
Update PmsBrandService.java
parent
f1ff4c0d
Changes
1
Hide whitespace changes
Inline
Side-by-side
mall-admin/src/main/java/com/macro/mall/service/PmsBrandService.java
View file @
d9c3d3c8
...
...
@@ -11,21 +11,49 @@ import java.util.List;
* Created by macro on 2018/4/26.
*/
public
interface
PmsBrandService
{
/**
* 获取所有品牌
*/
List
<
PmsBrand
>
listAllBrand
();
/**
* 创建品牌
*/
int
createBrand
(
PmsBrandParam
pmsBrandParam
);
/**
* 修改品牌
*/
@Transactional
int
updateBrand
(
Long
id
,
PmsBrandParam
pmsBrandParam
);
/**
* 删除品牌
*/
int
deleteBrand
(
Long
id
);
/**
* 批量删除品牌
*/
int
deleteBrand
(
List
<
Long
>
ids
);
/**
* 分页查询品牌
*/
List
<
PmsBrand
>
listBrand
(
String
keyword
,
int
pageNum
,
int
pageSize
);
/**
* 获取品牌
*/
PmsBrand
getBrand
(
Long
id
);
/**
* 修改显示状态
*/
int
updateShowStatus
(
List
<
Long
>
ids
,
Integer
showStatus
);
/**
* 修改厂家制造商状态
*/
int
updateFactoryStatus
(
List
<
Long
>
ids
,
Integer
factoryStatus
);
}
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