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
a32734f4
Commit
a32734f4
authored
Oct 27, 2021
by
hongzhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
等保调整,增加部分接口鉴权,防止水平越权
parent
3f40babe
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerBasicInfoServiceImpl.java
+6
-5
No files found.
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerBasicInfoServiceImpl.java
View file @
a32734f4
...
...
@@ -769,17 +769,18 @@ public class PractitionerBasicInfoServiceImpl implements PractitionerBasicInfoSe
Long
practitionerId
=
requestVO
.
getPractitionerId
();
String
systemType
=
requestVO
.
getSystemType
();
try
{
// 获取团队成员或被辅导人的practitionerId
List
<
Long
>
practitionerIdList
=
new
ArrayList
<>();
if
(
null
!=
requestVO
.
getSId
()){
practitionerIdList
=
practitionerService
.
getPractitionerIdBySidList
(
requestVO
.
getSId
(),
systemType
,
1
);
}
else
{
//等保调整
List
<
AclCustomer
>
findByObjSortable
=
aclPractitionerDALService
.
getAclCustomers
(
practitionerId
);
if
(
null
==
findByObjSortable
){
resp
.
setCommonResult
(
new
CommonResult
(
false
,
ZHBErrorConfig
.
getErrorInfo
(
"630028"
)));
return
resp
;
}
// 获取团队成员或被辅导人的practitionerId
List
<
Long
>
practitionerIdList
=
new
ArrayList
<>();
if
(
null
!=
requestVO
.
getSId
()){
practitionerIdList
=
practitionerService
.
getPractitionerIdBySidList
(
requestVO
.
getSId
(),
systemType
,
1
);
}
else
{
practitionerIdList
=
practitionerService
.
getPractitionerIdList
(
practitionerId
,
1
);
}
List
<
TeamMemberDetail
>
dataList
=
aclPractitionerDALService
.
queryTeamMemberDetailList
(
practitionerIdList
);
...
...
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