/// <summary> /// 根据条件查询登录日志信息 /// </summary> /// <param name="demandType">查询类型(实体类中的所有属性选其一)</param> /// <param name="demandContent">查询参数(要查询的条件参数)</param> /// <returns></returns> public static LoginLog GetLoginLogByConn(string demandType, string demandContent) { LoginLog obj = LoginLog_Service.GetLoginLogByConn(demandType, demandContent); obj.GetPersonageInfo = PersonageInfo_Manager.GetPersonageInfoByConn("P_LoginName", obj.P_LoginName); return(obj); }
/// <summary> /// 获取全部登录日志信息(按序号从大到小排序) /// </summary> /// <returns></returns> public static List <LoginLog> GetAllLoginLogByDesc(string LoginName) { List <LoginLog> list = new List <LoginLog>(); foreach (LoginLog obj in LoginLog_Service.GetAllLoginLogByDesc(LoginName)) { obj.GetPersonageInfo = PersonageInfo_Manager.GetPersonageInfoByConn("P_LoginName", obj.P_LoginName); list.Add(obj); } return(list); }