You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
988 B
32 lines
988 B
using Znyc.Recruitment.Admin.Commons.IServices;
|
|
using Znyc.Recruitment.Admin.Security.Dtos;
|
|
using Znyc.Recruitment.Admin.Security.Entitys;
|
|
|
|
namespace Znyc.Recruitment.Admin.Security.IServices
|
|
{
|
|
/// <summary>
|
|
/// </summary>
|
|
public interface IRoleService : IService<RoleEntityEntity, RoleOutputDto, long>
|
|
{
|
|
/// <summary>
|
|
/// 根据角色编码获取角色
|
|
/// </summary>
|
|
/// <param name="enCode"></param>
|
|
/// <returns></returns>
|
|
RoleEntityEntity GetRole(string enCode);
|
|
|
|
/// <summary>
|
|
/// 根据用户角色ID获取角色编码
|
|
/// </summary>
|
|
/// <param name="ids">角色ID字符串,用“,”分格</param>
|
|
/// <returns></returns>
|
|
string GetRoleEnCode(string ids);
|
|
|
|
/// <summary>
|
|
/// 根据用户角色ID获取角色编码
|
|
/// </summary>
|
|
/// <param name="ids">角色ID字符串,用“,”分格</param>
|
|
/// <returns></returns>
|
|
string GetRoleNameStr(string ids);
|
|
}
|
|
}
|