/// <summary> /// 根据队列名称获取排队号 /// </summary> /// <param name="queueName"></param> /// <returns></returns> private int GetQueueNo(string queueID, DateTime queueDate) { string queueMaxNo = _qm.GetMaxQueueNo(queueID, queueDate); int queueNo = 0; if (string.IsNullOrEmpty(queueMaxNo) == false) { queueNo = Convert.ToInt32(queueMaxNo); } return(queueNo + 1); }