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