From 22bfc069df93ba7db6dde427eab9f9628c9fb086 Mon Sep 17 00:00:00 2001 From: pengtao Date: Thu, 11 Jul 2019 11:03:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=8C=89companyid=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E5=B9=BF=E5=91=8A=E5=88=97=E8=A1=A8=E7=9A=84=E6=96=B9?= =?UTF-8?q?=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- handler/ad.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler/ad.py b/handler/ad.py index c181565..dfd2e82 100644 --- a/handler/ad.py +++ b/handler/ad.py @@ -57,7 +57,7 @@ class Ad(Resource): f"status,companyid,locationid,gameid from ad where companyid={companyid};" elif status or status == 0: sel_sql = f"select id,name,begin_time,end_time,ad_num,ad_title,ad_body,ad_image,ad_url,ad_sort," \ - f"status,companyid,locationid,gameid from ad where status={status};" + f"status,companyid,locationid,gameid from ad where status={status};" else: sel_sql = f"select id,name,begin_time,end_time,ad_num,ad_title,ad_body,ad_image,ad_url,ad_sort," \ f"status,companyid,locationid,gameid from ad ;"