Files
xls_doc/examples/sqlite-to-excel/task.json
2026-06-18 20:03:47 +08:00

19 lines
428 B
JSON

{
"vars": {
"date": "2026-06-18"
},
"data": {
"type": "sqlite",
"path": "./data.db",
"query": "select department, report_date, total_count, abnormal_count from department_summary where report_date = ? order by department",
"params": ["{{date}}"]
},
"template": {
"path": "./template.xlsx"
},
"output": {
"path": "./out/summary_{{department}}_{{_row}}.xlsx",
"overwrite": true
}
}