1. public static sys_user Get(string userCode, string password, bool IsEnable)
  2.        {
  3.            sys_user user = Get(userCode);
  4.            if (user.IsEnable == IsEnable && user.Password == password)
  5.                return user;
  6.            else
  7.                return null;
  8.        }

 

 

 

 

 

posted @ 2014-06-10 09:27  秦秋随  阅读(145)  评论(0编辑  收藏  举报