Commit 1187ed7d authored by 高雅喆's avatar 高雅喆

美购首页匹配度增加灰度过滤

parent 68c0bc7f
......@@ -252,7 +252,8 @@ def get_user_diary_click_info_yesterday(click_date, click_date_tomorrow):
AND d.action='on_click_card'
AND d.click_time>'{click_date}'
AND d.click_time<'{click_date_tomorrow}'
AND f.tag_type+0 <'4'+0) tmp2
AND f.tag_type+0 <'4'+0
AND SUBSTR(MD5(d.cl_id),-1,1) IN ('0','1','2','3','4','a','b','c','e')) tmp2
GROUP BY cl_id
""".format(click_date=click_date, click_date_tomorrow=click_date_tomorrow)
mysql_results = get_data_by_mysql('172.16.40.158', 4000, 'root', '3SYz54LS9#^9sBvC', 'jerry_test', sql_device_info_yesterday)
......
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