public static BespeakLogInfo GetBespeaklogById(int id) { IWCFService.ISeatManageService seatService = new WcfServiceForSeatManage.SeatManageDateService(); bool error = false; try { return(seatService.GetBespeaklogById(id)); } catch (Exception ex) { error = true; SeatManageComm.WriteLog.Write("添加预约记录失败:" + ex.Message); throw ex; } }