Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -37,7 +37,7 @@ public class DataStorageAnalysisController {
|
||||
* 查询学科存储空间占用:项目Uuid+学科queryNodeType
|
||||
*
|
||||
* @param queryNodeType 需要统计的节点类型
|
||||
* @param uuid 节点uuid
|
||||
* @param uuids 节点uuid
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/getNodeSizeByNodeType")
|
||||
|
||||
@@ -110,7 +110,11 @@ public class DataStorageAnalysisImpl implements DataStorageAnalysis {
|
||||
}
|
||||
|
||||
if (ObjectUtils.isEmpty(nodeSizeDTOS)) {
|
||||
return SdmResponse.success();
|
||||
// 空间为空 也要返回nodeName
|
||||
JSONObject jsonObject = new JSONObject();
|
||||
jsonObject.put("nodeName", nodeLists.get(0).getNodeName());
|
||||
jsonObject.put("totalSize", 0);
|
||||
return SdmResponse.success(Arrays.asList(jsonObject));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user