private void ReRecode(string slbh)
        {
            PageParams pg = new PageParams();

            pg.PrjId = slbh;
            FCDA_BLL.Insert_FCDA(pg);
        }
Esempio n. 2
0
        private BDCFilterResult ReRecode(string slbh)
        {
            PageParams pg = new PageParams();

            pg.PrjId = slbh;
            //pg.UserId = FCDA_BLL.GetUserID(pg.PrjId.Trim());

            BDCFilterResult res = FCDA_BLL.Insert_FCDA(pg);

            return(res);
        }
        public ActionResult PushDA(PageParams p)
        {
            try
            {
                if (p.PrjId.Length < 12 || p.PrjId.Contains("-"))
                {
                    HONEYPOT hp = new HONEYPOT();
                    hp.ID       = Guid.NewGuid().ToString();
                    hp.IP       = IPNet.GetIP4Address();
                    hp.PUSHDATE = DateTime.Now;
                    hp.SLBH     = p.PrjId;
                    hp.STEPNAME = "重推房产";

                    BDCDA_DAL.Insert_HONEYPOT(hp);
                    return(Json(new BDCFilterResult
                    {
                        IsSuccess = false,
                        Message = "受理编号错误,请重新填写"
                    }));
                }
                else
                {
                    p.UserId = FCDA_BLL.GetUserID(p.PrjId.Trim());//"guidangren";
                    BDCFilterResult res = FCDA_BLL.Insert_FCDA(p);
                    //return this.Content(message);
                    return(Json(res));
                }
            }
            catch (Exception ex)
            {
                //return this.Content(ex.Message);
                return(Json(new BDCFilterResult
                {
                    IsSuccess = false,
                    Message = ex.Message
                }));
            }
        }