forked from github/dataease
fix: 补全excel数据
This commit is contained in:
parent
6fb2a7829b
commit
4d31834a5b
@ -3122,9 +3122,15 @@ public class NoModelDataListener extends AnalysisEventListener<Map<Integer, Stri
|
||||
for (Integer key : dataMap.keySet()) {
|
||||
String value = dataMap.get(key);
|
||||
if (StringUtils.isEmpty(value)) {
|
||||
value = "none";
|
||||
value = "";
|
||||
}
|
||||
line.add(value);
|
||||
};
|
||||
int size = line.size();
|
||||
if(size < header.size()){
|
||||
for (int i = 0; i < header.size() - size; i++) {
|
||||
line.add("");
|
||||
}
|
||||
}
|
||||
data.add(line);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user