Procházet zdrojové kódy

Merge branch 'mqy20260511' of http://114.215.146.132:3000/Mqy/Wisdom-Data into mqy20260511

mqy20260511
lenovo před 1 dnem
rodič
revize
374acea39e

+ 2
- 2
iot-platform/src/main/java/com/iot/platform/service/TDengineService.java Zobrazit soubor

@@ -34,8 +34,8 @@ public class TDengineService {
34 34
     private final Map<String, Set<String>> stableColumnCache = new ConcurrentHashMap<>();
35 35
     private static final int MAX_CACHE_SIZE = 1000;
36 36
 
37
-    // 允许的列名字符
38
-    private static final String ALLOWED_COLUMNS = "^[a-zA-Z_][a-zA-Z0-9_]*$";
37
+    // 允许的列名字符(支持中文、字母、数字、下划线)
38
+    private static final String ALLOWED_COLUMNS = "^[a-zA-Z_][a-zA-Z0-9_一-龥]*$";
39 39
 
40 40
     // TDengine 超级表最大列数限制
41 41
     private static final int MAX_COLUMNS_PER_STABLE = 4096;

Načítá se…
Zrušit
Uložit