Finish role add and edit

This commit is contained in:
2023-11-13 17:52:08 +08:00
parent 7a9cd158de
commit e681d9d7b7
10 changed files with 208 additions and 38 deletions

View File

@@ -15,5 +15,11 @@ import top.fatweb.api.entity.permission.Role
*/
@Mapper
interface RoleMapper : BaseMapper<Role> {
fun selectPage(page: IPage<Role>): IPage<Role>
fun selectPage(page: IPage<Long>): IPage<Long>
fun getWithPowerByList(roleIds: List<Long>): List<Role>?
fun selectOne(id: Long): Role?
fun getPowerList(id: Long): List<Long?>
}