Browse Source

回退代码,正常生成报表(不指定2023-11份报表)

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

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

@ -565,10 +565,8 @@ 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