1
This commit is contained in:
@@ -262,6 +262,24 @@ namespace BLL
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 用户Id判断
|
||||
|
||||
#region 根据用户ID判断是超管
|
||||
/// <summary>
|
||||
/// 根据用户ID判断是超管
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static bool IsSuperAdminManage(string userId)
|
||||
{
|
||||
bool result = false;
|
||||
if (userId == Const.luofeiId || userId == Const.shizhiyangId || userId == Const.hfnbdId || userId == Const.sysglyId)
|
||||
{//罗菲、史志扬、管理员账号
|
||||
result = true;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 获取当前人是否具有按钮操作权限
|
||||
/// <summary>
|
||||
/// 获取当前人是否具有按钮操作权限
|
||||
@@ -425,6 +443,8 @@ namespace BLL
|
||||
}
|
||||
#endregion
|
||||
|
||||
#endregion
|
||||
|
||||
#region 根据主键删除附件
|
||||
/// <summary>
|
||||
///根据主键删除附件
|
||||
|
||||
Reference in New Issue
Block a user