From 99b5ff9efc63ee8b89bf74857a92635b6b62d3e8 Mon Sep 17 00:00:00 2001 From: furongxin <419481438@qq.com> Date: Fri, 13 Dec 2024 11:40:23 +0800 Subject: [PATCH] =?UTF-8?q?refactor(smartfactory):=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=A0=B9=E6=8D=AE=20leaderId=20=E6=9F=A5=E8=AF=A2=E9=83=A8?= =?UTF-8?q?=E9=97=A8=E4=BF=A1=E6=81=AF=E7=9A=84=E6=8E=A5=E5=8F=A3-=20?= =?UTF-8?q?=E5=B0=86=20deptApi.getDeptListByLeader=20=E6=96=B9=E6=B3=95?= =?UTF-8?q?=E6=9B=BF=E6=8D=A2=E4=B8=BA=20deptApi.getDeptByLeaderId=20-=20?= =?UTF-8?q?=E6=AD=A4=E4=BF=AE=E6=94=B9=E5=8F=AF=E8=83=BD=E6=8F=90=E9=AB=98?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E6=95=88=E7=8E=87=EF=BC=8C=E4=BB=85=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E5=BD=93=E5=89=8D=E7=99=BB=E5=BD=95=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E4=BD=9C=E4=B8=BA=20leader=20=E7=9A=84=E9=83=A8=E9=97=A8?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/factoryinfo/FactoryInfoServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zn-module-smartfactory/zn-module-smartfactory-biz/src/main/java/cn/iocoder/yudao/module/smartfactory/service/factoryinfo/FactoryInfoServiceImpl.java b/zn-module-smartfactory/zn-module-smartfactory-biz/src/main/java/cn/iocoder/yudao/module/smartfactory/service/factoryinfo/FactoryInfoServiceImpl.java index cc16c5da..c9275e89 100644 --- a/zn-module-smartfactory/zn-module-smartfactory-biz/src/main/java/cn/iocoder/yudao/module/smartfactory/service/factoryinfo/FactoryInfoServiceImpl.java +++ b/zn-module-smartfactory/zn-module-smartfactory-biz/src/main/java/cn/iocoder/yudao/module/smartfactory/service/factoryinfo/FactoryInfoServiceImpl.java @@ -238,7 +238,7 @@ public class FactoryInfoServiceImpl implements FactoryInfoService { // 如果当前登录用户数据权限 不是查看全部数据 if (!deptDataPermission.getAll()) { - List deptRespDTO = deptApi.getDeptListByLeader(getLoginUserId()).getCheckedData(); + List deptRespDTO = deptApi.getDeptByLeaderId(getLoginUserId()).getCheckedData(); if (deptRespDTO != null) {