合并最新
This commit is contained in:
@@ -19,6 +19,11 @@
|
||||
return Funs.DB.Sys_Role.FirstOrDefault(x => x.RoleId == roleId);
|
||||
}
|
||||
|
||||
public static Model.Sys_Role getRoleByName(string roleName)
|
||||
{
|
||||
return Funs.DB.Sys_Role.FirstOrDefault(x => x.RoleName == roleName);
|
||||
}
|
||||
|
||||
public static string GetRoleTypeByRoleId(string roleId)
|
||||
{
|
||||
string type = string.Empty;
|
||||
|
||||
Reference in New Issue
Block a user