Compare commits
2 Commits
1c0376f60c
...
047741d04c
Author | SHA1 | Date |
---|---|---|
TanGH | 047741d04c | |
TanGH | c0b5a4233a |
|
@ -149,7 +149,8 @@ public class DeptServiceImpl implements DeptService {
|
||||||
});
|
});
|
||||||
deptMapper.updateBatch(deptDOS, deptDOS.size());
|
deptMapper.updateBatch(deptDOS, deptDOS.size());
|
||||||
deptDO.setName(reqVO.getName());
|
deptDO.setName(reqVO.getName());
|
||||||
deptDO.setParentOrganizationName(reqVO.getName());
|
DeptDO parentDeptDO = deptMapper.selectById(deptDO.getParentId());
|
||||||
|
deptDO.setParentOrganizationName(parentDeptDO.getParentOrganizationName() + ">" + reqVO.getName());
|
||||||
deptMapper.updateById(deptDO);
|
deptMapper.updateById(deptDO);
|
||||||
// 发送刷新消息
|
// 发送刷新消息
|
||||||
deptProducer.sendDeptRefreshMessage();
|
deptProducer.sendDeptRefreshMessage();
|
||||||
|
|
Loading…
Reference in New Issue