交接柜查询用户为DM5
This commit is contained in:
parent
5b33ebd883
commit
23c5af868e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue