/// <summary> /// 通过学号模糊查询获取全部的记录,为空就是不设条件查询 /// </summary> /// <param name="cardNo">学号</param> /// <param name="roomNum">阅览室编号</param> /// <param name="date">查询当前日期的记录</param> /// /// <param name="status">预约状态</param> /// <returns></returns> public static List <BespeakLogInfo> GetBespeakList_ByFuzzySearch(string cardNo, string roomNum, DateTime endDate, int spanDays, List <BookingStatus> status) { IWCFService.ISeatManageService seatService = new WcfServiceForSeatManage.SeatManageDateService(); bool error = false; try { return(seatService.GetBespeakLogs_ByFuzzySearch(cardNo, roomNum, endDate, spanDays, status)); } catch (Exception ex) { error = true; SeatManageComm.WriteLog.Write("获取预约记录:" + ex.Message); return(new List <BespeakLogInfo>()); } }