This commit is contained in:
2023-11-14 18:46:16 +08:00
parent 1281a19bd9
commit 574c0df384
3 changed files with 14 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ import top.fatweb.api.entity.permission.Role
*/
@Mapper
interface RoleMapper : BaseMapper<Role> {
fun selectPage(page: IPage<Long>): IPage<Long>
fun selectPage(page: IPage<Long>, searchName: String?, searchRegex: Boolean): IPage<Long>
fun getWithPowerByList(roleIds: List<Long>): List<Role>?