处理大屏展示资源使用情况问题
parent
deef8d99f1
commit
b24022e835
|
@ -75,7 +75,9 @@ public class ImsRpcServiceImpl implements ImsRpcService {
|
|||
@Override
|
||||
public List<Server> getServerAll(Set<Long> vendorIds) throws Exception {
|
||||
// 获取云平台
|
||||
List<CloudVendor> vendorList = cloudVendorRepositoryl.queryProxy().col(GenericEntity::getDeleted).eq(0).list();
|
||||
List<CloudVendor> vendorList = cloudVendorRepositoryl.queryProxy().col(GenericEntity::getDeleted).eq(0)
|
||||
.col(CloudVendor::getId).in(vendorIds)
|
||||
.list();
|
||||
List<Server> servers = new ArrayList<>();
|
||||
for (CloudVendor cloudVendor : vendorList) {
|
||||
List<Server> list = this.serverRepository.list(1, 100000, null, null, null, cloudVendor.getType(), null, null);
|
||||
|
|
Loading…
Reference in New Issue