1
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
using CleanMachineHMI.Domain.Enums;
|
||||
using CleanMachineHMI.frmChild;
|
||||
using CleanMachineHMI.Utils;
|
||||
using ComponentFactory.Krypton.Toolkit;
|
||||
using Krypton.Toolkit;
|
||||
using LeadDataBaseUtility;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@@ -47,9 +47,9 @@ namespace CleanMachineHMI.forms
|
||||
{
|
||||
sql += $" AND CREATE_TIME <= '{kdtp_CreateEndTime.Value.ToString("yyyy-MM-dd HH:mm:ss")}'";
|
||||
}
|
||||
if (GlobalHelper.UserInfo.ROLE_GRADE != 100)
|
||||
if (GlobalHelper.UserInfo.RoleGrade != 100)
|
||||
{
|
||||
sql += $" AND USER_ID = '{GlobalHelper.UserInfo.USER_ID}'";
|
||||
sql += $" AND USER_ID = '{GlobalHelper.UserInfo.UserId}'";
|
||||
}
|
||||
DataTable dt = LeadDbHelperSQLite.Query(sql).Tables[0];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user