This commit is contained in:
gongxh
2022-01-13 10:43:45 +08:00
parent 7321539b72
commit a78a6bd334
66 changed files with 1502 additions and 1676 deletions

View File

@@ -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];