/// <summary>
        /// 添加
        /// </summary>
        /// <returns></returns>
        public ActionResult GanWuCreate()
        {
            @ViewBag.GwType = DicUtil.Instance.DicGwType(0);
            @ViewBag.OpenStatus = DicUtil.Instance.DicOpenStatus(0);
            @ViewBag.GwStatus = DicUtil.Instance.DicGwStatus(0);
            @ViewBag.SmsStatus = DicUtil.Instance.DicSmsStatus(0);

            var model = new GanWuCreate()
            {
                GotoDate = DateTime.Now,
                PostDate = DateTime.Now,
                SortID = 0,
            };

            return View(model);
        }
        public ActionResult GanWuCreate(GanWuCreate model)
        {
            if (!ModelState.IsValid) return View(model);

            var item = new Zs_GanWu();
            item = SysFun.Instance.InitialEntity<GanWuCreate, Zs_GanWu>(model, item);
            item.UpdateDate = DateTime.Now;
            item = bGanWu.Add(item);

            if (item.GwID > 0) return RedirectToAction("GanWuList");

            return View(model);
        }