mirror of
https://github.com/dataease/dataease.git
synced 2026-05-18 01:38:11 +08:00
perf(数据集): 增强解析csv文件时代码稳定性
This commit is contained in:
@@ -2382,7 +2382,7 @@ public class DataSetTableService {
|
||||
if (CollectionUtils.isNotEmpty(data)) {
|
||||
jsonArray = data.stream().map(ele -> {
|
||||
Map<String, Object> map = new HashMap<>();
|
||||
for (int i = 0; i < ele.size(); i++) {
|
||||
for (int i = 0; i < fieldArray.length; i++) {
|
||||
map.put(fieldArray[i], ele.get(i));
|
||||
}
|
||||
return map;
|
||||
|
||||
Reference in New Issue
Block a user