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 ;"