Commit 98ad1506 authored by macro's avatar macro
Browse files

Update UmsResourceCategoryService.java

parent ecc50c4b
...@@ -9,11 +9,24 @@ import java.util.List; ...@@ -9,11 +9,24 @@ import java.util.List;
* Created by macro on 2020/2/5. * Created by macro on 2020/2/5.
*/ */
public interface UmsResourceCategoryService { public interface UmsResourceCategoryService {
/**
* 获取所有资源分类
*/
List<UmsResourceCategory> listAll(); List<UmsResourceCategory> listAll();
/**
* 创建资源分类
*/
int create(UmsResourceCategory umsResourceCategory); int create(UmsResourceCategory umsResourceCategory);
/**
* 修改资源分类
*/
int update(Long id, UmsResourceCategory umsResourceCategory); int update(Long id, UmsResourceCategory umsResourceCategory);
/**
* 删除资源分类
*/
int delete(Long id); int delete(Long id);
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment