Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-backend
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AutogeneralShanghai
yd-backend
Commits
46155011
Commit
46155011
authored
Oct 12, 2021
by
hongzhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ydlife 我的团队中数据查询03
parent
d9e82b60
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerBasicInfoServiceImpl.java
+9
-0
No files found.
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerBasicInfoServiceImpl.java
View file @
46155011
...
...
@@ -821,6 +821,8 @@ public class PractitionerBasicInfoServiceImpl implements PractitionerBasicInfoSe
for
(
TeamMemberDetail
teamMemberDetail
:
s1DataList
)
{
if
(
null
!=
teamMemberDetail
.
getOwnerPractitionerId
()
&&
teamMemberDetail
.
getOwnerPractitionerId
().
longValue
()
==
teamMemberDetail
.
getPractitionerId
().
longValue
())
{
teamMemberList
.
add
(
teamMemberDetail
);
}
else
{
teamMemberList
.
addAll
(
s1DataList
);
}
}
groupList
.
addAll
(
s2DataList
);
...
...
@@ -828,12 +830,16 @@ public class PractitionerBasicInfoServiceImpl implements PractitionerBasicInfoSe
for
(
TeamMemberDetail
teamMemberDetail
:
s1DataList
)
{
if
(
null
!=
teamMemberDetail
.
getOwnerPractitionerId
()
&&
teamMemberDetail
.
getOwnerPractitionerId
().
longValue
()
==
teamMemberDetail
.
getPractitionerId
().
longValue
())
{
teamMemberList
.
add
(
teamMemberDetail
);
}
else
{
teamMemberList
.
addAll
(
s1DataList
);
}
}
for
(
TeamMemberDetail
teamMemberDetail
:
s2DataList
)
{
if
(
null
!=
teamMemberDetail
.
getOwnerPractitionerId
()
&&
teamMemberDetail
.
getOwnerPractitionerId
().
longValue
()
==
teamMemberDetail
.
getPractitionerId
().
longValue
())
{
teamMemberList
.
add
(
teamMemberDetail
);
}
else
{
teamMemberList
.
addAll
(
s2DataList
);
}
}
groupList
.
addAll
(
s3DataList
);
...
...
@@ -844,6 +850,9 @@ public class PractitionerBasicInfoServiceImpl implements PractitionerBasicInfoSe
resp
.
setSystemName
(
teamList
.
get
(
0
).
getSystem
());
}
if
(
groupList
==
null
||
groupList
.
size
()
==
0
){
groupList
.
addAll
(
dataList
);
}
}
resp
.
setCommonResult
(
new
CommonResult
(
true
,
ZHBErrorConfig
.
getErrorInfo
(
"800000"
)));
resp
.
setTeamMemberDetail
(
groupList
);
...
...
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