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
8a50b47b
Commit
8a50b47b
authored
Feb 18, 2020
by
macro
Browse files
Update UmsResourceService.java
parent
98ad1506
Changes
1
Hide whitespace changes
Inline
Side-by-side
mall-admin/src/main/java/com/macro/mall/service/UmsResourceService.java
View file @
8a50b47b
...
...
@@ -9,15 +9,33 @@ import java.util.List;
* Created by macro on 2020/2/2.
*/
public
interface
UmsResourceService
{
/**
* 添加资源
*/
int
create
(
UmsResource
umsResource
);
/**
* 修改资源
*/
int
update
(
Long
id
,
UmsResource
umsResource
);
/**
* 获取资源详情
*/
UmsResource
getItem
(
Long
id
);
/**
* 删除资源
*/
int
delete
(
Long
id
);
/**
* 分页查询资源
*/
List
<
UmsResource
>
list
(
Long
categoryId
,
String
nameKeyword
,
String
urlKeyword
,
Integer
pageSize
,
Integer
pageNum
);
/**
* 查询全部资源
*/
List
<
UmsResource
>
listAll
();
}
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