交接柜查询用户为DM5

This commit is contained in:
maqiao 2024-08-08 09:00:37 +08:00
parent 5b33ebd883
commit 23c5af868e
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ _exitCommand ??= new DelegateCommand(Exit);
.Includes<RoleDm>(u => u.Role)
.First(u => u.UserName == username && ("DM3".Equals(u.MachineId) || ConfigurationManager.AppSettings["machineId"].ToString().Equals(u.MachineId)));
.First(u => u.UserName == username && (ConfigurationManager.AppSettings["machineId"].ToString().Equals(u.MachineId)));
if (userList == null)
{
AlertMsg alertMsg = new AlertMsg