..
This commit is contained in:
@@ -114,6 +114,11 @@ public interface SysRoleService extends BaseService<Sys_role> {
|
||||
*/
|
||||
Sys_role getByCode(String code);
|
||||
|
||||
/**
|
||||
* 通过枚举获取角色
|
||||
* @param roleConstant
|
||||
* @return
|
||||
*/
|
||||
Sys_role getByCode(RoleConstant roleConstant);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user