New file |
| | |
| | | package com.example.springboot.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.example.springboot.entity.Role; |
| | | import com.example.springboot.entity.vo.RoleVo; |
| | | |
| | | import java.util.List; |
| | | import java.util.Set; |
| | | |
| | | public interface RoleService extends IService<Role> { |
| | | Set<Role> selectRolesByParentId(Set<Role> roles, Long id); |
| | | |
| | | List<Role> selectRoles(Long id, Boolean contain); |
| | | |
| | | IPage<Role> selectPage(RoleVo roleVO); |
| | | } |