fix: 修改部门
parent
45980a8c79
commit
d7787d3193
|
@ -148,9 +148,8 @@ public class DeptServiceImpl implements DeptService {
|
||||||
x.setParentOrganizationName(x.getParentOrganizationName().replace(deptDO.getName(), reqVO.getName()));
|
x.setParentOrganizationName(x.getParentOrganizationName().replace(deptDO.getName(), reqVO.getName()));
|
||||||
});
|
});
|
||||||
deptMapper.updateBatch(deptDOS,deptDOS.size());
|
deptMapper.updateBatch(deptDOS,deptDOS.size());
|
||||||
// deptMapper.updateById(updateObj);
|
deptDO.setName(reqVO.getName());
|
||||||
|
deptMapper.updateById(deptDO);
|
||||||
|
|
||||||
// 发送刷新消息
|
// 发送刷新消息
|
||||||
deptProducer.sendDeptRefreshMessage();
|
deptProducer.sendDeptRefreshMessage();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue