| | |
| | | import com.lf.server.entity.all.MenusAuthEntity; |
| | | import com.lf.server.entity.all.PermsAuthEntity; |
| | | import com.lf.server.entity.all.ResAuthEntity; |
| | | import com.lf.server.entity.sys.MenuEntity; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | |
| | | * @return |
| | | */ |
| | | public List<PermsAuthEntity> selectPermsEntity(String uid); |
| | | |
| | | /** |
| | | * 根据用户Uid查询角色ID |
| | | * |
| | | * @param uid |
| | | * @return |
| | | */ |
| | | public List<Integer> selectRoles(String uid); |
| | | |
| | | /** |
| | | * 根据用户Uid递归查询菜单集合 |
| | | * |
| | | * @param id |
| | | * @param uid |
| | | * @return |
| | | */ |
| | | public List<MenuEntity> selectMenuRecursive(int id, String uid); |
| | | } |