public ActionResult BatchMaintainRoom()
        {
            var        hotelId = UserContext.CurrentUser.HotelId;
            HttpCookie TadyNum = new HttpCookie("TadyNum");

            TadyNum["num"] = "0";
            Response.Cookies.Add(TadyNum);
            var      now      = DateTime.Now;
            DateTime yuLiTime = now;

            yuLiTime          = now.Date.AddDays(1).AddHours(12);
            ViewBag.BeginTime = now.ToString("yyyy-MM-dd HH:mm:ss");
            ViewBag.EndTime   = yuLiTime.ToString("yyyy-MM-dd HH:mm:ss");

            var treedata = RoomBll.GetFloorTreeData(hotelId);

            ViewBag.Rooms    = RoomBll.GetAllRoomData2(hotelId);
            ViewBag.TreeData = treedata;
            PreLoadFTData();
            var simpleModels = new List <object>();
            var models       = _ft_rooms;
            var roomRegs     = _ft_roomregs;

            foreach (var item in models)
            {
                item.RoomReg = roomRegs.Where(a => a.Id == item.RoomRegId).FirstOrDefault();
                LoadRoomInfo(item);
                simpleModels.Add(RoomToSRoom(item));
            }
            ViewBag.SRooms = simpleModels;

            return(View(UserContext.CurrentUser));
        }