Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
LinuxSuRen
zendata
提交
a0f30618
Z
zendata
项目概览
LinuxSuRen
/
zendata
与 Fork 源项目一致
Fork自
易企天创 / zendata
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Z
zendata
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
a0f30618
编写于
9月 14, 2020
作者:
aaronchen2k2k
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
close task#7793
上级
e584eb28
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
83 addition
and
2 deletion
+83
-2
data/country/v1.xlsx
data/country/v1.xlsx
+0
-0
demo/test/test_country.yaml
demo/test/test_country.yaml
+34
-0
demo/test/test_date.yaml
demo/test/test_date.yaml
+2
-2
src/gen/excel.go
src/gen/excel.go
+1
-0
yaml/base/country/v1.yaml
yaml/base/country/v1.yaml
+46
-0
未找到文件。
data/country/v1.xlsx
0 → 100644
浏览文件 @
a0f30618
文件已添加
demo/test/test_country.yaml
0 → 100644
浏览文件 @
a0f30618
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
demo/test/test_date.yaml
浏览文件 @
a0f30618
title
:
month
date
desc
:
月日
title
:
date
desc
:
测试日期数据
author
:
zentao
version
:
"
1.0"
fields
:
...
...
src/gen/excel.go
浏览文件 @
a0f30618
...
...
@@ -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
+
")"
...
...
yaml/base/country/v1.yaml
0 → 100644
浏览文件 @
a0f30618
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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录