Browse Source

生成特定月份(2023年11月份)报表

main
Julin 10 months ago
parent
commit
323a3edf76
  1. 6
      code/pep-stats-report/main.py

6
code/pep-stats-report/main.py

@ -565,8 +565,10 @@ if __name__ == '__main__':
client = create_clickhouse_client() client = create_clickhouse_client()
last_year, last_month = get_report_year_month() # last_year, last_month = get_report_year_month()
start_time, end_time = get_report_start_end() # start_time, end_time = get_report_start_end()
last_year, last_month = 2023, 11
start_time, end_time = '2023-11-01', '2023-12-01'
qs1 = db_helper.querystring_procinst_by_user(start_time, end_time) qs1 = db_helper.querystring_procinst_by_user(start_time, end_time)
procinst_by_user = client.execute(qs1) procinst_by_user = client.execute(qs1)

Loading…
Cancel
Save