Merge pull request 'H5 BUG修复《编辑组织机构会导致system_dept表中parent_organization_name字段异常》' (#17) from bugfix/tgh20230630 into test
Reviewed-on: http://117.33.142.185:3000/zenghuapei/cyywl_server/pulls/17pull/15/head
commit
047741d04c
|
@ -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