Update UmsResourceService.java
This commit is contained in:
parent
98ad150647
commit
8a50b47b52
@ -9,15 +9,33 @@ import java.util.List;
|
|||||||
* Created by macro on 2020/2/2.
|
* Created by macro on 2020/2/2.
|
||||||
*/
|
*/
|
||||||
public interface UmsResourceService {
|
public interface UmsResourceService {
|
||||||
|
/**
|
||||||
|
* 添加资源
|
||||||
|
*/
|
||||||
int create(UmsResource umsResource);
|
int create(UmsResource umsResource);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改资源
|
||||||
|
*/
|
||||||
int update(Long id, UmsResource umsResource);
|
int update(Long id, UmsResource umsResource);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取资源详情
|
||||||
|
*/
|
||||||
UmsResource getItem(Long id);
|
UmsResource getItem(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除资源
|
||||||
|
*/
|
||||||
int delete(Long id);
|
int delete(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分页查询资源
|
||||||
|
*/
|
||||||
List<UmsResource> list(Long categoryId, String nameKeyword, String urlKeyword, Integer pageSize, Integer pageNum);
|
List<UmsResource> list(Long categoryId, String nameKeyword, String urlKeyword, Integer pageSize, Integer pageNum);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询全部资源
|
||||||
|
*/
|
||||||
List<UmsResource> listAll();
|
List<UmsResource> listAll();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user