public ActionResult BonusPointData_10()
        {
            Dictionary<string, string> sitemaster = GetSiteMaster();
            ViewData["SiteMaster"] = sitemaster;
            int UserId = Convert.ToInt32(sitemaster["userid"]);
            int Type = 10;

            BonusPointDataDao Dao = new BonusPointDataDao();
            int Count = Dao.GetCountByUserIdAndTypeId(UserId, Type);
            BonusPointData Obj = new BonusPointData();
            if (Count == 0)
            {
                MakeBidDocZJDao Daozj = new MakeBidDocZJDao();
                IList<MakeBidDocZJ> ObjzjList = Daozj.FindByUserId(UserId);
                MakeBidDocZJ Objzj = new MakeBidDocZJ();
                if (ObjzjList != null && ObjzjList.Count != 0)
                {
                    Objzj = ObjzjList.First();
                }
                Obj.Label1 = Objzj.Label9;
                Obj.Label2 = Objzj.Label10;
                Obj.Label3 = Objzj.Label11;
                Obj.UserId = UserId;
                Obj.Type = Type;
                Dao.Insert(Obj);
                return View(Obj);
            }
            else
            {
                Obj = Dao.FindByUserIdAndTypeId(UserId, Type);
                return View(Obj);
            }
        }
        public ActionResult MakeBidDoc_ZJ_Save(MakeBidDocZJ M, int? Section)
        {
            Dictionary<string, string> sitemaster = GetSiteMaster();
            ViewData["SiteMaster"] = sitemaster;
            int UserId = Convert.ToInt32(sitemaster["userid"]);

            MakeBidDocZJDao Dao = new MakeBidDocZJDao();
            MakeBidDocZJ Obj = Dao.FindByUserId(UserId).Single();

            try
            {
                if (Section == 1)
                {
                    Obj.Label9 = M.Label9;
                    Obj.Label10 = M.Label10;
                    Obj.Label11 = M.Label11;

                    Obj.Label29 = M.Label29;
                    Obj.Label30 = M.Label30;
                    Obj.Label31 = M.Label31;
                    Obj.Label32 = M.Label32;
                    Obj.Label33 = M.Label33;
                    Obj.Label34 = M.Label34;

                    //Obj.Label12 = M.Label12;
                    //Obj.Label13 = M.Label13;
                    //Obj.Label14 = M.Label14;
                }

                if (Section == 2)
                {
                    Obj.Label35 = M.Label35;
                    Obj.Label36 = M.Label36;
                    Obj.Label38 = M.Label38;
                    Obj.Label39 = M.Label39;
                    Obj.Label40 = M.Label40;
                    Obj.Label41 = M.Label41;

                }

                Dao.UpdateByUserId(Obj);
                return RedirectToAction("MakeBidDoc_ZJ");
            }
            catch (Exception Ex)
            {
                throw new Exception(Ex.Message);
            }
        }
        public ActionResult MakeBidDoc_ZJ()
        {
            Dictionary<string, string> sitemaster = GetSiteMaster();
            ViewData["SiteMaster"] = sitemaster;
            int UserId = Convert.ToInt32(sitemaster["userid"]);

            //ViewData["maxcount"] = 5;
            MakeBidDocZJDao Dao = new MakeBidDocZJDao();
            int Count = Dao.GetCountByUserId(UserId);
            if (Count == 0)
            {
                MakeBidDocZJ Obj = new MakeBidDocZJ();
                Obj.UserId = UserId;
                Dao.Insert(Obj);
                //ViewData["epcounts"] = 0;
                return View(Obj);
            }
            else
            {
                MakeBidDocZJ Obj = Dao.FindByUserId(UserId).SingleOrDefault();
                //得到已经导出过标书的产品列表
                /*IList<IDictionary> list = ProjectManagementMapper.Get().QueryForList<IDictionary>("ExportProduct.GetProducts",UserId);
                ViewData["epcounts"] = list.Count;
                StringBuilder sb = new StringBuilder();
                foreach (IDictionary l in list)
                {
                    sb.Append("<tr><td>" + l["ChineseProductName"] + "</td><td>" + l["Formulation"] + "</td><td>" + l["ChineseSpecification"] + "</td><td>" + l["ChineseManufactureName"] + "</td><td><a href='/ProjectManagement/MakeProductDoc.mvc/"+l["ProductCode"]+"'>修改标书</a></td><tr>");
                }
                ViewData["Exportlist"] = sb.ToString();*/
                return View(Obj);
            }
            //return View();
        }