Commit bfbf5dee authored by 张彦钊's avatar 张彦钊

修改测试项目

parent c1c56bd7
......@@ -56,7 +56,7 @@ def get_data():
print("esmm data ok")
print(df.shape)
# print(df.head(2)
service_id = df["service_id"].unique()
service_id = tuple(df["service_id"].unique())
db = pymysql.connect(host='rdsfewzdmf0jfjp9un8xj.mysql.rds.aliyuncs.com', port=3306, user='work', passwd='BJQaT9VzDcuPBqkd', db='zhengxing')
sql = "select s.id,d.hospital_id from api_service s left join api_doctor d on s.doctor_id = d.id where s.id in {}".format(service_id)
hospital = con_sql(db, sql)
......
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