From d7787d3193e55b82e932fc87f48d262cee4e0284 Mon Sep 17 00:00:00 2001 From: tangqian Date: Wed, 31 May 2023 18:10:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E9=83=A8=E9=97=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yudao/module/system/service/dept/DeptServiceImpl.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/dept/DeptServiceImpl.java b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/dept/DeptServiceImpl.java index fda6f29cd..ab6eca2b6 100644 --- a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/dept/DeptServiceImpl.java +++ b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/dept/DeptServiceImpl.java @@ -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(); }