|
@@ -175,6 +175,11 @@ public class WebGatewayImpl implements WebGateway {
|
|
.filter(Objects::nonNull)
|
|
.filter(Objects::nonNull)
|
|
.collect(Collectors.toSet());
|
|
.collect(Collectors.toSet());
|
|
|
|
|
|
|
|
+ //校验tenantId是否为空
|
|
|
|
+ if (CollectionUtils.isEmpty(tenantIds)) {
|
|
|
|
+ return CopyUtils.copyPage(devInfoPage, deviceDTOList);
|
|
|
|
+ }
|
|
|
|
+
|
|
// 批量查询租户信息
|
|
// 批量查询租户信息
|
|
List<TblTenant> tenantList = tblTenantService.listByIds(tenantIds);
|
|
List<TblTenant> tenantList = tblTenantService.listByIds(tenantIds);
|
|
Map<Long, String> tenantIdNameMap = tenantList.stream()
|
|
Map<Long, String> tenantIdNameMap = tenantList.stream()
|