Commit ab79fb6c authored by lixiaofang's avatar lixiaofang

add

parent 4adf1161
......@@ -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