fix: 修改部门

pull/8/head^2
tangqian 2023-05-31 18:10:48 +08:00
parent 45980a8c79
commit d7787d3193
1 changed files with 2 additions and 3 deletions

View File

@ -148,9 +148,8 @@ public class DeptServiceImpl implements DeptService {
x.setParentOrganizationName(x.getParentOrganizationName().replace(deptDO.getName(), reqVO.getName()));
});
deptMapper.updateBatch(deptDOS,deptDOS.size());
// deptMapper.updateById(updateObj);
deptDO.setName(reqVO.getName());
deptMapper.updateById(deptDO);
// 发送刷新消息
deptProducer.sendDeptRefreshMessage();
}