From c4c3e6287670a457a005a863e3113c435bdb5820 Mon Sep 17 00:00:00 2001 From: Julin Date: Tue, 2 Jan 2024 11:00:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E9=80=80=E4=BB=A3=E7=A0=81=EF=BC=8C?= =?UTF-8?q?=E6=AD=A3=E5=B8=B8=E7=94=9F=E6=88=90=E6=8A=A5=E8=A1=A8=EF=BC=88?= =?UTF-8?q?=E4=B8=8D=E6=8C=87=E5=AE=9A2023-11=E4=BB=BD=E6=8A=A5=E8=A1=A8?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/pep-stats-report/main.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/code/pep-stats-report/main.py b/code/pep-stats-report/main.py index 25aeb4c..3608766 100644 --- a/code/pep-stats-report/main.py +++ b/code/pep-stats-report/main.py @@ -565,10 +565,8 @@ if __name__ == '__main__': client = create_clickhouse_client() - # last_year, last_month = get_report_year_month() - # start_time, end_time = get_report_start_end() - last_year, last_month = 2023, 11 - start_time, end_time = '2023-11-01', '2023-12-01' + last_year, last_month = get_report_year_month() + start_time, end_time = get_report_start_end() qs1 = db_helper.querystring_procinst_by_user(start_time, end_time) procinst_by_user = client.execute(qs1)