/// <summary> /// 增加开闭馆记录 /// </summary> /// <param name="model">开闭馆记录</param> /// <param name="new_id">返回的新的记录id</param> /// <returns></returns> public static int AddNewReadingRoomOClog(ReadingRoomOpenCloseLogInfo model, ref int new_id) { IWCFService.ISeatManageService seatService = new WcfServiceForSeatManage.SeatManageDateService(); bool error = false; try { return(seatService.AddReadingRoomOClog(model, ref new_id)); } catch (Exception ex) { error = true; SeatManageComm.WriteLog.Write("添加开闭馆计划失败:" + ex.Message); return(-1); } }