Commit 0627ad09 authored by 赵啸非's avatar 赵啸非

修改人员学习

parent 29d6a4a1
...@@ -81,7 +81,6 @@ public class DeptServiceImpl extends AbstractCRUDServiceImpl<DeptDao, DeptEntity ...@@ -81,7 +81,6 @@ public class DeptServiceImpl extends AbstractCRUDServiceImpl<DeptDao, DeptEntity
condition.setId(deptEntity.getId()); condition.setId(deptEntity.getId());
this.updateBatch(deptEntity, condition, context); this.updateBatch(deptEntity, condition, context);
} }
} }
/** /**
...@@ -94,7 +93,6 @@ public class DeptServiceImpl extends AbstractCRUDServiceImpl<DeptDao, DeptEntity ...@@ -94,7 +93,6 @@ public class DeptServiceImpl extends AbstractCRUDServiceImpl<DeptDao, DeptEntity
public void updateDeptChildren(Long deptId, String newAncestors, String oldAncestors, Context context) { public void updateDeptChildren(Long deptId, String newAncestors, String oldAncestors, Context context) {
List<DeptEntity> children = getDao().selectChildrenDeptById(deptId.toString()); List<DeptEntity> children = getDao().selectChildrenDeptById(deptId.toString());
for (DeptEntity child : children) { for (DeptEntity child : children) {
child.setAncestors(child.getAncestors().replace(oldAncestors, newAncestors)); child.setAncestors(child.getAncestors().replace(oldAncestors, newAncestors));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment