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
6440faba
Commit
6440faba
authored
Oct 27, 2021
by
hongzhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
等保调整,增加部分接口鉴权,防止水平越权
parent
dd22a5ee
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletions
+16
-1
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerBasicInfoServiceImpl.java
+16
-1
No files found.
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerBasicInfoServiceImpl.java
View file @
6440faba
...
...
@@ -933,7 +933,16 @@ public class PractitionerBasicInfoServiceImpl implements PractitionerBasicInfoSe
@Override
public
QuerySalaryDetailResponseVO
querySalaryDetail
(
QuerySalaryDetailRequestVO
requestVO
)
{
QuerySalaryDetailResponseVO
responseVO
=
new
QuerySalaryDetailResponseVO
();
// isBasic为0时查询N22,为1时查询本地数据库表
//等保调整
Long
practitionerId
=
requestVO
.
getPractitionerId
();
if
(
null
!=
practitionerId
)
{
List
<
AclCustomer
>
findByObjSortable
=
aclPractitionerDALService
.
getAclCustomers
(
practitionerId
);
if
(
null
==
findByObjSortable
){
responseVO
.
setCommonResult
(
new
CommonResult
(
false
,
ZHBErrorConfig
.
getErrorInfo
(
"630028"
)));
return
responseVO
;
}
}
// isBasic为0时查询N22,为1时查询本地数据库
if
(
"1"
.
equals
(
requestVO
.
getIsBasic
()))
{
this
.
querySalaryDetail
(
requestVO
,
responseVO
);
}
else
{
...
...
@@ -1064,6 +1073,12 @@ public class PractitionerBasicInfoServiceImpl implements PractitionerBasicInfoSe
responseBody
.
setCommonResult
(
new
CommonResult
(
false
,
"查询年月不能为空"
));
return
responseBody
;
}
//等保调整
List
<
AclCustomer
>
findByObjSortable
=
aclPractitionerDALService
.
getAclCustomers
(
requestVO
.
getPractitionerId
());
if
(
null
==
findByObjSortable
){
responseBody
.
setCommonResult
(
new
CommonResult
(
false
,
ZHBErrorConfig
.
getErrorInfo
(
"630028"
)));
return
responseBody
;
}
if
(
"1"
.
equals
(
requestVO
.
getIsBasic
()))
{
// 查询银盾在线佣金的保单列表
this
.
queryYdOnlineCommission
(
requestVO
,
responseBody
);
...
...
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