Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
search_tips
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rank
search_tips
Commits
ab79fb6c
Commit
ab79fb6c
authored
Apr 21, 2020
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
4adf1161
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
hospital_transfer.py
trans2es/utils/hospital_transfer.py
+1
-1
No files found.
trans2es/utils/hospital_transfer.py
View file @
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment