|
@@ -48,6 +48,14 @@ public class TDataSizeInfoWarehouseUnitsServiceImpl extends ServiceImpl<TDataSiz
|
|
private TDataSourceMapper tDataSourceMapper;
|
|
private TDataSourceMapper tDataSourceMapper;
|
|
@Resource
|
|
@Resource
|
|
private TPhotoDatabaseDataMapper tPhotoDatabaseDataMapper;
|
|
private TPhotoDatabaseDataMapper tPhotoDatabaseDataMapper;
|
|
|
|
+ @Resource
|
|
|
|
+ private TApplyVirtualSizeMapper tApplyVirtualSizeMapper;
|
|
|
|
+ @Resource
|
|
|
|
+ private TMemoryMapper tMemoryMapper;
|
|
|
|
+ @Resource
|
|
|
|
+ private TSystemWarningInfoMapper tSystemWarningInfoMapper;
|
|
|
|
+ @Resource
|
|
|
|
+ private TCpuUseRatioMapper tCpuUseRatioMapper;
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public HttpRespMsg getCenterData() {
|
|
public HttpRespMsg getCenterData() {
|
|
@@ -85,5 +93,17 @@ public class TDataSizeInfoWarehouseUnitsServiceImpl extends ServiceImpl<TDataSiz
|
|
return msg;
|
|
return msg;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @Override
|
|
|
|
+ public HttpRespMsg cloudPlatform() {
|
|
|
|
+ HttpRespMsg msg = new HttpRespMsg();
|
|
|
|
+ Map<String,Object> map = new HashMap<>();
|
|
|
|
+ map.put("applyVirtualSize",tApplyVirtualSizeMapper.selectList(new QueryWrapper<TApplyVirtualSize>()));
|
|
|
|
+ map.put("memory",tMemoryMapper.selectList(new QueryWrapper<TMemory>()));
|
|
|
|
+ map.put("systemWarningInfo",tSystemWarningInfoMapper.selectList(new QueryWrapper<TSystemWarningInfo>()));
|
|
|
|
+ map.put("cpuUseRatio",tCpuUseRatioMapper.selectList(new QueryWrapper<TCpuUseRatio>()));
|
|
|
|
+ msg.data = map;
|
|
|
|
+ return msg;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
|
|
}
|
|
}
|