New file |
| | |
| | | package com.ycl.service.user; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ycl.entity.user.UmsResource; |
| | | |
| | | /** |
| | | * 后台资源管理Service |
| | | * Created by macro on 2020/2/2. |
| | | */ |
| | | public interface UmsResourceService extends IService<UmsResource> { |
| | | /** |
| | | * 添加资源 |
| | | */ |
| | | boolean create(UmsResource umsResource); |
| | | |
| | | /** |
| | | * 修改资源 |
| | | */ |
| | | boolean update(Long id, UmsResource umsResource); |
| | | |
| | | /** |
| | | * 删除资源 |
| | | */ |
| | | boolean delete(Long id); |
| | | |
| | | /** |
| | | * 分页查询资源 |
| | | */ |
| | | Page<UmsResource> list(Long categoryId, String nameKeyword, String urlKeyword, Integer pageSize, Integer pageNum); |
| | | } |