Commit fbebecba authored by 李小芳's avatar 李小芳

Merge branch 'update_hospital_info' into 'master'

add

See merge request !76
parents 524e3e0b ab79fb6c
......@@ -118,7 +118,7 @@ class HospitalTransferV1(object):
def by_hospital_id_judge_office_online(is_online=False, hospital_id=None, name=None):
try:
office = Doctor.objects.filter(is_online=True, doctor_type=1, name=name)
office = Doctor.objects.filter(is_online=True, doctor_type=1, hospital_id=hospital_id)
if office and is_online:
return True
return False
......
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