From 752d9f984466b452b549a3d47cb9c635b3d7e087 Mon Sep 17 00:00:00 2001 From: "pref_mail@163.com" <123456> Date: Thu, 16 Nov 2023 22:53:42 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E5=BE=AA=E7=8E=AF=E4=BE=9D?= =?UTF-8?q?=E8=B5=963?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/BasicdataWarehouseServiceImpl.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataWarehouseServiceImpl.java b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataWarehouseServiceImpl.java index 56a31b68a..bd4484c94 100644 --- a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataWarehouseServiceImpl.java +++ b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataWarehouseServiceImpl.java @@ -30,6 +30,7 @@ import com.logpm.basicdata.entity.BasicdataStorageServicesEntity; import com.logpm.basicdata.entity.BasicdataWarehouseEntity; import com.logpm.basicdata.excel.BasicdataWarehouseExcel; import com.logpm.basicdata.feign.IBasicdataWarehouseClient; +import com.logpm.basicdata.mapper.BasicdataClientUserMapper; import com.logpm.basicdata.mapper.BasicdataGoodsAreaMapper; import com.logpm.basicdata.mapper.BasicdataStorageServicesMapper; import com.logpm.basicdata.mapper.BasicdataWarehouseMapper; @@ -71,14 +72,13 @@ public class BasicdataWarehouseServiceImpl extends BaseServiceImpl getWarehouseList() { - List myWatchWarehouse = basicdataWarehouseService.getMyWatchWarehouse(); + List myWatchWarehouse = getMyWatchWarehouse(); if (myWatchWarehouse.size() > 0) { return myWatchWarehouse; } @@ -173,7 +173,7 @@ public class BasicdataWarehouseServiceImpl extends BaseServiceImpl basicdataClientUserEntityListByUserIds = basicdataClientUserService.getBasicdataClientUserEntityListByUserId(AuthUtil.getUserId()); + List basicdataClientUserEntityListByUserIds = basicdataClientUserMapper.getBasicdataClientUserEntityListByUserId(user.getUserId()); List clientIds = null; if (Func.isNotEmpty(basicdataClientUserEntityListByUserIds)) { clientIds = basicdataClientUserEntityListByUserIds.stream().map(BasicdataClientUserEntity::getClientId).collect(Collectors.toList());