Commit 213c8c9d authored by 张彦钊's avatar 张彦钊

add

parent 42e1b019
......@@ -323,8 +323,9 @@ def new_doctor():
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,m.doctor_discount_30_days from statistic_doctor_rank_factor d " \
"left join hippo_merchantrelevance b on d.doctor_id = b.doctor_id " \
"left join statistic_merchant_rank_factor m on b.merchant_id = m.merchant_id" \
"left join statistic_merchant_rank_factor m on b.merchant_id = m.merchant_id " \
"where d.partition_date = '{}' and m.partition_date = '{}';".format(date_str,date_str)
print(sql)
db = pymysql.connect(host='172.16.30.141', port=3306, user='work', passwd='BJQaT9VzDcuPBqkd', db='zhengxing')
cursor = db.cursor()
......
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