private void UpdataData(string auto_no) { if (this.PanDuan()) { PD_FOUND_OUT_Bll bll = new PD_FOUND_OUT_Bll(); if (bll.Exists(long.Parse(auto_no))) { PD_FOUND_OUT_Model model = this.GetModel(bll.GetModel(long.Parse(auto_no))); bll.Update(model); bll.UpdateLJMoney(model.PD_PROJECT_CODE); PageShowText.Refurbish("修改成功", this.Page); } } }
private void CreateData() { if (this.PanDuan()) { PD_FOUND_OUT_Model model = this.GetModel(null); PD_FOUND_OUT_Bll bll = new PD_FOUND_OUT_Bll(); model.PD_NOW_SERVERPK = PublicDal.SetCreateServiceStream(this.Page); bll.Add(model); bll.UpdateLJMoney(model.PD_PROJECT_CODE); Const.DoSuccessNoClose("添加成功", this.Page.Request.Url.LocalPath + "?UpdatePK=" + model.AUTO_NO, this.Page); } }