Commit 29d6a4a1 authored by 赵啸非's avatar 赵啸非

修改人员学习

parent af3d966a
......@@ -73,7 +73,7 @@ public class DeptServiceImpl extends AbstractCRUDServiceImpl<DeptDao, DeptEntity
*/
private void updateParentDeptStatus(DeptEntity dept, Context context) {
DeptEntity deptEntity = this.get(dept.getParentId());
if(!ObjectUtils.isEmpty(deptEntity)){
deptEntity.setDeptStatus(DeptStatusEnum.启用.getValue());
deptEntity.setUpdateTime(new Date());
deptEntity.setUpdateUser(context.getUser().getLoginName());
......@@ -82,6 +82,8 @@ public class DeptServiceImpl extends AbstractCRUDServiceImpl<DeptDao, DeptEntity
this.updateBatch(deptEntity, condition, context);
}
}
/**
* 修改子元素关系
*
......
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