Commit 73ebb97e authored by 高雅喆's avatar 高雅喆

update

parent e32a9664
...@@ -62,7 +62,7 @@ def get_user_history_order_service_tag(user_id, stat_date): ...@@ -62,7 +62,7 @@ def get_user_history_order_service_tag(user_id, stat_date):
sql = "select a.tag_id from api_servicetag a left join api_tag b on a.tag_id=b.id " \ sql = "select a.tag_id from api_servicetag a left join api_tag b on a.tag_id=b.id " \
"where a.service_id in (select service_id from api_order where user_id={user_id} and status=1) " \ "where a.service_id in (select service_id from api_order where user_id={user_id} and status=1) " \
"and b.tag_type<'4' ".format(user_id=user_id) "and b.tag_type+0 <'4'+0 ".format(user_id=user_id)
cur_zhengxing.execute(sql) cur_zhengxing.execute(sql)
tags_dict = cur_zhengxing.fetchall() tags_dict = cur_zhengxing.fetchall()
tags_list = [i["tag_id"] for i in tags_dict] tags_list = [i["tag_id"] for i in tags_dict]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment