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

fix issues

上级 b8bbe691
......@@ -123,9 +123,9 @@ fields:
postfix: "\t"
- field: field_use_excel # Read the data from the data source of excel.
from: address.cn.v1.china # Read the sheet named 'china' in data/address/cn.v1.xlsx.
select: city # Query the field city.
where: cityCode = 852 # Query condition.
from: city.v1.city # Read the sheet named 'china' in data/address/cn.v1.xlsx.
select: name # Query the field city.
where: code = 532 # Query condition.
rand: true # Random for query
postfix: "\t"
......
......@@ -123,8 +123,8 @@ fields:
postfix: "\t"
- field: field_use_excel # 从excel数据源里面取数据。
from: address.cn.v1.china # 从data/address/v1.xlsx文件中读取名为china的工作簿。
select: city # 查询city字段。
from: city.v1.city # 从data/address/v1.xlsx文件中读取名为china的工作簿。
select: name # 查询city字段。
where: state like '%山东%' # 条件是省份包含山东。
rand: true # 随机取数据
postfix: "\t"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册