public ActionResult Update(ZhuZhaiTaoFangZongHeXinXi entity) { if (ModelState.IsValid) { //entity.ZhuZhaiLouDongXiuZheng = _service.GetZhuZHaiLouDongXiuZhengByZhuangBianHao(entity.LouDongBianHao); entity.OrgNamePath = GetOrganizationNamePath(); entity.LastModifiedBy = GetCurrentUserName(); entity.LastModifiedDate = DateTime.Now; _service.UpdateZhuZhaiTaoFangZongHeXinXi(entity); _service.Save(); this.GetCmp <Window>("windowZhuZhaiTaoFangZongHeXinXi").Hide(); this.GetCmp <Store>("storeZhuZhaiTaoFangZongHeXinXi").Reload(); return(this.Direct()); } return(this.Direct()); }