提交 b7479ea5 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

keep blank value for excel value selection

上级 46a492b5
......@@ -30,3 +30,14 @@ fields:
range: [`测试`,实测]
prefix: "{"
postfix: "}\t"
- field: test_excel1
from: test.account01.20200101
select: Address
where: 1=1
postfix: "\t"
- field: test_excel2
from: test.account01.20200101
select: InstReprIDCode
where: 1=1
postfix: "\t"
......@@ -41,9 +41,9 @@ func GenerateFieldValuesFromExcel(filePath, sheet string, field *model.DefField)
if index >= constant.MaxNumb {
break
}
if strings.TrimSpace(item) == "" {
continue
}
//if strings.TrimSpace(item) == "" {
// continue
//}
values[selectCol] = append(values[selectCol], item)
index = index + 1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册