修正错误
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user