H5 BUG修复《编辑组织机构会导致system_dept表中parent_organization_name字段异常》
parent
1c0376f60c
commit
c0b5a4233a
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue