修改字段

This commit is contained in:
gongxh
2021-12-31 16:27:14 +08:00
parent 75b42432b9
commit 31fe9e834a
29 changed files with 164 additions and 164 deletions

View File

@@ -48,9 +48,9 @@ namespace CleanMachineHMI.FrmUserControl
{
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];