Commit c9ea2dd8 authored by lixiaofang's avatar lixiaofang

add

parent fbebecba
......@@ -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