From ae2d68b83a00449c1196cb365a05064bbb7fe2bf Mon Sep 17 00:00:00 2001 From: pengtao Date: Mon, 16 Sep 2019 14:20:42 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=93=E5=AD=98=E6=B7=BB=E5=8A=A0=E5=B9=BF?= =?UTF-8?q?=E5=91=8A=E5=88=9B=E5=BB=BA=E6=97=B6=E9=97=B4=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ad_tasks.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ad_tasks.py b/ad_tasks.py index dcb9984..d27bcb3 100644 --- a/ad_tasks.py +++ b/ad_tasks.py @@ -74,11 +74,12 @@ def send_cache_data(): where status=1 and in_used=1 - and '{now}'> begin_time - and '{now}' {BEGIN} + and '{now}'<{END}; """ data = mydb.query(get_data_sql) + pdb.set_trace() if data: for line in data: if line: