/// <summary>
        /// 增加一条等待记录
        /// </summary>
        /// <param name="model">等待记录</param>
        /// <returns></returns>
        public int AddWaitLog(WaitSeatLogInfo model)
        {
            int             r    = t_sm_seatwaiting_dal.Add(model);
            WaitSeatLogInfo wsli = GetListWaitLogByCardNo(model.CardNo, null);

            if (wsli == null)
            {
                return(r);
            }
            PushMsgInfo msg = new PushMsgInfo();

            msg.Title      = "您好,您已等待成功";
            msg.MsgType    = MsgPushType.UserOperation;
            msg.StudentNum = wsli.CardNo;
            msg.SeatNum    = wsli.EnterOutLog.ShortSeatNo;
            msg.RoomName   = wsli.EnterOutLog.ReadingRoomName;
            msg.Message    = string.Format("您已成功等待{0} {1}号座位。", msg.RoomName, msg.SeatNum);
            SendMsg(msg);

            return(r);
        }