RoleService

interface RoleService

角色服务

定义与角色相关的业务契约

Author

lishangbu

Since

2025/8/30

Inheritors

Functions

Link copied to clipboard
abstract fun getById(id: Long): RoleView?

按 ID 查询角色

Link copied to clipboard
abstract fun getPageByCondition(specification: RoleSpecification, pageable: Pageable): Page<RoleView>

按条件分页查询角色

Link copied to clipboard
abstract fun listByCondition(specification: RoleSpecification): List<RoleView>

按条件查询角色列表

Link copied to clipboard
abstract fun removeById(id: Long)

按 ID 删除角色

Link copied to clipboard
abstract fun save(command: SaveRoleInput): RoleView

保存角色

Link copied to clipboard
abstract fun update(command: UpdateRoleInput): RoleView

更新角色