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

close task#7793

上级 e584eb28
文件已添加
title: country name
desc: 测试国家名称
author: zentao
version: "1.0"
fields:
- field: cnfull
from: base.country.v1.yaml
use: cnfull
prefix: ""
postfix: "\t"
- field: cnshort
from: base.country.v1.yaml
use: cnshort
prefix: ""
postfix: "\t"
- field: enfull
from: base.country.v1.yaml
use: enfull
prefix: ""
postfix: "\t"
- field: enshort
from: base.country.v1.yaml
use: enshort
prefix: ""
postfix: "\t"
- field: areacode
from: base.country.v1.yaml
use: areacode
prefix: ""
postfix: "\t"
\ No newline at end of file
title: month date
desc: 月日
title: date
desc: 测试日期数据
author: zentao
version: "1.0"
fields:
......
......@@ -131,6 +131,7 @@ func ConvertSingleExcelToSQLiteIfNeeded(dbName string, path string) (firstSheet
if colIndex > 0 {
valList = valList + ", "
}
colCell = strings.Replace(colCell, "'", "''", -1)
valList = valList + "'" + colCell + "'"
}
valList = valList + ")"
......
title: 国家数据
desc:
author: zentao
version: 1.0
field: country
instances:
- instance: cnfull
note: 国家中文全名
fields:
- field: field1
from: country.v1
select: cnfull
postfix: "\t"
- instance: cnshort
note: 国家中文名
fields:
- field: field1
from: country.v1
select: cnshort
postfix: "\t"
- instance: enfull
note: 国家英文全名
fields:
- field: field1
from: country.v1
select: enfull
postfix: "\t"
- instance: enshort
note: 国家英文全名
fields:
- field: field1
from: country.v1
select: enshort
postfix: "\t"
- instance: areacode
note: 国家编码
fields:
- field: field1
from: country.v1
select: areacode
postfix: "\t"
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册