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());