Commit c9ea2dd8 authored by lixiaofang's avatar lixiaofang

add

parent fbebecba
...@@ -119,7 +119,7 @@ class HospitalTransferV1(object): ...@@ -119,7 +119,7 @@ class HospitalTransferV1(object):
def by_hospital_id_judge_office_online(is_online=False, hospital_id=None, name=None): def by_hospital_id_judge_office_online(is_online=False, hospital_id=None, name=None):
try: try:
office = Doctor.objects.filter(is_online=True, doctor_type=1, hospital_id=hospital_id) office = Doctor.objects.filter(is_online=True, doctor_type=1, hospital_id=hospital_id)
if office and is_online: if office:
return True return True
return False return False
except: 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