From ee03f78ceb74f81afff6f5dbcc0398b5d021fe37 Mon Sep 17 00:00:00 2001
From: chen.llin <1442464845@qq.comm>
Date: 星期日, 18 一月 2026 15:41:19 +0800
Subject: [PATCH] 倾斜度
---
src/main/java/com/zy/common/utils/TreeUtils.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/java/com/zy/common/utils/TreeUtils.java b/src/main/java/com/zy/common/utils/TreeUtils.java
index e18416c..5c0935e 100644
--- a/src/main/java/com/zy/common/utils/TreeUtils.java
+++ b/src/main/java/com/zy/common/utils/TreeUtils.java
@@ -29,8 +29,8 @@
/**
* 鑾峰彇鏍戝浘鏁版嵁缁撴瀯
*/
- @Cacheable(cacheNames="tagTree",key="#id")
- public ArrayList<Map> getTree(String id){
+ @Cacheable(cacheNames = "tagTree", key = "#id")
+ public ArrayList<Map> getTree(String id) {
ArrayList<Map> result = new ArrayList<>();
Tag tag = tagService.selectById(id);
// 涓昏妭鐐�
@@ -95,8 +95,8 @@
/**
* 鑾峰彇鏍戝浘鏁版嵁缁撴瀯
*/
- @Cacheable(cacheNames="nodeTree",key="#id")
- public ArrayList<Map> getNodeTree(String id, Long hostId){
+ @Cacheable(cacheNames = "nodeTree", key = "#id")
+ public ArrayList<Map> getNodeTree(String id, Long hostId) {
ArrayList<Map> result = new ArrayList<>();
Node node = nodeService.selectById(id);
// 涓昏妭鐐�
--
Gitblit v1.9.1