Commit 537d95fd authored by 李小芳's avatar 李小芳

Merge branch 'hisp' into 'master'

add

See merge request !77
parents fbebecba c9ea2dd8
......@@ -119,7 +119,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, hospital_id=hospital_id)
if office and is_online:
if office:
return True
return False
except:
......
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