/// <summary> /// 修改部门信息 /// </summary> /// <returns></returns> public ActionResult UpdateDepartment(DepartmentOperateDTO dto) { UserLoginDTO user = (UserLoginDTO)Session["UserLoginInfo"]; dto.ModifyUser = user.FullName; dto.ModifyTime = DateTime.Now; ResultData <object> result = new ResultData <object>(); try { result = UserAuthorityProvider.UpdateDepartment(dto); } catch (Exception ex) { result.SubmitResult = false; result.Message = ex.Message; } return(Json(result, JsonRequestBehavior.AllowGet)); }