Compare commits

..

No commits in common. "047741d04c5020143f37880456d5f21f31d0d055" and "1c0376f60c6a27da1a5122736b831ed7ec42c16a" have entirely different histories.

1 changed files with 1 additions and 2 deletions

View File

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