Пример #1
0
        public ActionResult Index(string orgId, DateTime?beginTime, DateTime?endTime, string number, int?counter,
                                  string staffId, string nsrsbm, int?tickettype, int?status, int?isfinished,
                                  int isSenior = 0, int pageIndex = 1, int pageSize = 20)
        {
            if (string.IsNullOrEmpty(orgId))
            {
                orgId = SetViewBagOrgData();
            }
            else
            {
                SetViewBagOrgData(orgId);
            }

            beginTime = beginTime ?? DateTime.Now;
            endTime   = endTime ?? DateTime.Now;

            ViewBag.BeginTime = beginTime.GetValueOrDefault().ToString("yyyy-MM-dd");
            ViewBag.EndTime   = endTime.GetValueOrDefault().ToString("yyyy-MM-dd");
            ViewBag.Number    = number;
            ViewBag.Counter   = counter;
            ViewBag.StaffId   = staffId;
            ViewBag.Status    = status;
            ViewBag.Nsrsbm    = nsrsbm;
            ViewBag.IsSenior  = isSenior;

            var list = SYS_CURRQUEUEHIST_DAL.GetMergeList(orgId, beginTime, endTime, number, counter, staffId, nsrsbm,
                                                          tickettype, status, isfinished, pageIndex, pageSize);

            return(View(list));
        }
Пример #2
0
        /// <summary>
        /// 一票多业务号数
        /// </summary>
        /// <returns></returns>
        public ActionResult OneMoreService(string hallNo, string number, int?counter,
                                           string staffId, string nsrsbm, int?isfinished, string transcodeId,
                                           int isSenior = 0, int pageIndex = 1, int pageSize = 20)
        {
            var beginTime = DateTime.Now;
            var endTime   = DateTime.Now;

            ViewBag.Number      = number;
            ViewBag.Counter     = counter;
            ViewBag.StaffId     = staffId;
            ViewBag.Nsrsbm      = nsrsbm;
            ViewBag.IsSenior    = isSenior;
            ViewBag.HallNo      = hallNo;
            ViewBag.TRANSCODEID = transcodeId;

            var list = SYS_CURRQUEUEHIST_DAL.GetMergeList(hallNo, beginTime, endTime, number, counter, staffId, nsrsbm,
                                                          null, 3, isfinished, pageIndex, pageSize, true, transcodeId);

            return(View(list));
        }