/// <summary> /// 通过学号模糊查询获取全部的黑名单 /// </summary> /// <param name="cardNo"></param> /// <returns></returns> public static List <BlackListInfo> GetAllBlackListInfo_ByFuzzySearch(string cardNo, LogStatus status, string beginDate, string endDate) { IWCFService.ISeatManageService seatService = new WcfServiceForSeatManage.SeatManageDateService(); bool error = false; try { return(seatService.GetBlacklistInfos_ByFuzzySearch(cardNo, status, beginDate, endDate)); } catch (Exception ex) { error = true; SeatManageComm.WriteLog.Write("获取黑名单失败:" + ex.Message); return(new List <BlackListInfo>()); } }