20241012 Contractor Quality Punishment设置查看全部权限
This commit is contained in:
@@ -41,7 +41,8 @@ namespace FineUIPro.Web.SES
|
||||
private void BindGrid()
|
||||
{
|
||||
string strSql = string.Empty;
|
||||
if (this.CurrUser.UserId == BLL.Const.GlyId)
|
||||
var user = BLL.Sys_ButtonPowerService.GetButtonPowerByUserId(this.CurrUser.UserId);
|
||||
if (this.CurrUser.UserId == BLL.Const.GlyId || user != null)
|
||||
{
|
||||
strSql = @"SELECT * FROM dbo.View_EMC_Que_Punishment WHERE Flag='2' ";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user