feat: 完善RJ数据自动调度

This commit is contained in:
2026-06-01 10:28:36 +08:00
parent 9711aa6270
commit e0056e609e
10 changed files with 328 additions and 113 deletions
+6 -1
View File
@@ -525,9 +525,14 @@ class DataProcessor:
# 快速字段匹配(使用预编译的映射表)
col_mapping = {}
mapped_targets = set()
for col in df.columns:
if col in field_map:
col_mapping[col] = field_map[col]
target_col = field_map[col]
if target_col in mapped_targets:
continue
col_mapping[col] = target_col
mapped_targets.add(target_col)
if len(col_mapping) < 1:
if 'kpis' in str(csv_file).lower():