修正错误

This commit is contained in:
gongxh
2022-05-05 20:42:02 +08:00
parent c6e7e582b8
commit b6b365339f
14 changed files with 28 additions and 57 deletions

View File

@@ -114,7 +114,7 @@ namespace CleanMachine.DAL.SYS
/// </summary>
public CleanMachine.Model.SYS.User GetModel(string UserCode)
{
return this.GetList("USER_CODE=@UserCode", new { UserCode }).QueryFirstOrDefault();
return this.GetList("USER_CODE=@UserCode", new { UserCode }).FirstOrDefault();
}