@@ -185,7 +185,8 @@ namespace GxPress.Repository.Implement
dep.LeaderId = request.LeaderId;
dep.Name = request.Name;
dep.Sort = request.Sort;
-
+ if (request.ParentId > 0)
+ dep.ParentId = request.ParentId;
return await UpdateAsync(dep);
}