/// <summary>
        /// 修改一条等待记录
        /// </summary>
        /// <param name="model">等待记录</param>
        /// <returns></returns>
        public bool UpdateWaitLog(WaitSeatLogInfo model)
        {
            model.SeatWaitTime = GetServerDateTime();
            if (model.OperateType == Operation.OtherReader)
            {
                if (model.WaitingState == EnterOutLogType.WaitingCancel)
                {
                    PushMsgInfo msg = new PushMsgInfo();
                    msg.Title      = "您好,您等待已失效";
                    msg.MsgType    = MsgPushType.UserOperation;
                    msg.StudentNum = model.CardNo;
                    msg.SeatNum    = model.EnterOutLog.ShortSeatNo;
                    msg.RoomName   = model.EnterOutLog.ReadingRoomName;

                    msg.Message = string.Format("您等待的{0} {1}号座位已取消", msg.RoomName, msg.SeatNum);

                    switch (model.OperateType)
                    {
                    case Operation.Admin:
                        msg.Message = string.Format("您等待的{0} {1}号座位已被管理员取消", msg.RoomName, msg.SeatNum);
                        break;

                    case Operation.OtherReader:
                        msg.Message = string.Format("原用户归来,您等待的{0} {1}号座位已取消", msg.RoomName, msg.SeatNum);
                        break;

                    case Operation.Service:
                        msg.Message = string.Format("您等待的{0} {1}号座位已被系统取消", msg.RoomName, msg.SeatNum);
                        break;
                    }

                    SendMsg(msg);
                }
            }



            return(t_sm_seatwaiting_dal.Update(model));
        }