Commit 16cccee2 authored by 李小芳's avatar 李小芳

修改判断逻辑

parent 79e97585
...@@ -33,7 +33,7 @@ class HospitalTransfer(object): ...@@ -33,7 +33,7 @@ class HospitalTransfer(object):
# item_dict["id"] = getMd5Digest(str(name)) # item_dict["id"] = getMd5Digest(str(name))
item_dict["id"] = "hospital_" + str(instance.id) item_dict["id"] = "hospital_" + str(instance.id)
item_dict["ori_name"] = name item_dict["ori_name"] = name
item_dict["is_online"] = by_hospital_id_judge_office_online(hospital_id=instance.id, name=name) item_dict["is_online"] = by_hospital_id_judge_office_online(hospital_id=instance.id)
# item_dict["is_online"] = instance.is_online # item_dict["is_online"] = instance.is_online
item_dict["order_weight"] = QueryWordAttr.get_hospital_query_word_weight(name=name, item_dict["order_weight"] = QueryWordAttr.get_hospital_query_word_weight(name=name,
hospital_id=instance.id) hospital_id=instance.id)
......
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