Commit 95e32824 authored by 张彦钊's avatar 张彦钊

add

parent b43a83ff
......@@ -60,8 +60,8 @@ def v1_doctor():
date_tmp = (datetime.datetime.now() - datetime.timedelta(days=1)).strftime("%Y-%m-%d")
sql = "select d.doctor_id,d.service_exposure_pv_30,d.service_ctr_30,d.expert_exposure_pv_30,d.expert_pv_30," \
"b.merchant_id,budan.budan_payment_30_days "
"from statistic_doctor_rank_factor d " \
"b.merchant_id,budan.budan_payment_30_days " \
"from statistic_doctor_rank_factor d " \
"left join hippo_merchantrelevance b on d.doctor_id = b.doctor_id " \
"left join al_meigou_service_smart_rank_budan_payment budan on b.merchant_id = budan.merchant_id " \
"where d.partition_date = '{}' and budan.stat_date = '{}' limit 6;".format(date_str, date_tmp)
......
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