Compare commits

...

2 Commits

1 changed files with 2 additions and 1 deletions

View File

@ -149,7 +149,8 @@ public class DeptServiceImpl implements DeptService {
});
deptMapper.updateBatch(deptDOS, deptDOS.size());
deptDO.setName(reqVO.getName());
deptDO.setParentOrganizationName(reqVO.getName());
DeptDO parentDeptDO = deptMapper.selectById(deptDO.getParentId());
deptDO.setParentOrganizationName(parentDeptDO.getParentOrganizationName() + ">" + reqVO.getName());
deptMapper.updateById(deptDO);
// 发送刷新消息
deptProducer.sendDeptRefreshMessage();