feat(X-Pack): 数据填报批量上传数据下拉框,多选框数据增加去重
This commit is contained in:
parent
01013c875b
commit
9a7a66ab54
@ -735,7 +735,7 @@ public class DataFillDataService {
|
||||
rowData.put(field.getSettings().getMapping().getColumnName(), excelRowData);
|
||||
} else if (StringUtils.equalsIgnoreCase(field.getType(), "checkbox") ||
|
||||
StringUtils.equalsIgnoreCase(field.getType(), "select") && field.getSettings().isMultiple()) {
|
||||
List<String> list = new ArrayList<>();
|
||||
Set<String> list = new HashSet<>();
|
||||
String[] strArr = excelRowData.split(";");
|
||||
for (String str : strArr) {
|
||||
if (StringUtils.isNotBlank(str)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user