Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
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
fangxinjiang
yifu-mvp
Commits
1934370c
Commit
1934370c
authored
Sep 09, 2025
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化-fxj
parent
4e62d3f8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
2 deletions
+25
-2
TInsuranceDetailServiceImpl.java
...s/service/insurance/impl/TInsuranceDetailServiceImpl.java
+25
-2
No files found.
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/insurance/impl/TInsuranceDetailServiceImpl.java
View file @
1934370c
...
@@ -8270,11 +8270,34 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
...
@@ -8270,11 +8270,34 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
}
}
YifuUser
user
=
SecurityUtils
.
getUser
();
YifuUser
user
=
SecurityUtils
.
getUser
();
long
roleId
=
1851541100126863362L
;
long
roleId
=
1851541100126863362L
;
long
roleId2
=
1536909784224051202L
;
boolean
isSsc
=
this
.
haveRole
(
user
,
roleId
);
boolean
isSsc
=
this
.
haveRole
(
user
,
roleId
);
boolean
isProjectManager
=
this
.
haveRole
(
user
,
roleId2
);
if
(
"许瑞玲"
.
equals
(
user
.
getNickname
())
||
"1"
.
equals
(
user
.
getId
())
||
isSsc
)
{
if
(
"许瑞玲"
.
equals
(
user
.
getNickname
())
||
"1"
.
equals
(
user
.
getId
())
||
isSsc
)
{
searchVo
.
setCreateBy
(
null
);
//searchVo.setCreateBy(null);
searchVo
.
setAlertId
(
null
);
}
else
{
}
else
{
searchVo
.
setCreateBy
(
user
.
getId
());
if
(
isProjectManager
){
searchVo
.
setAlertId
(
null
);
}
else
{
searchVo
.
setAlertId
(
user
.
getId
());
}
//searchVo.setCreateBy(user.getId());
}
if
(
isProjectManager
&&
!
isSsc
){
R
<
TSettleDomainListVo
>
sdRes
=
archivesDaprUtil
.
getSettleDomainIdsByUserId
(
user
.
getId
());
if
(
Common
.
isNotNull
(
sdRes
)){
searchVo
.
setSettleDomainIds
(
sdRes
.
getData
().
getDeptNos
());
if
(
Common
.
isEmpty
(
sdRes
.
getData
().
getDeptNos
())){
List
<
String
>
nos
=
new
ArrayList
<>();
nos
.
add
(
"11"
);
searchVo
.
setSettleDomainIds
(
nos
);
}
}
else
{
List
<
String
>
nos
=
new
ArrayList
<>();
nos
.
add
(
"11"
);
searchVo
.
setSettleDomainIds
(
nos
);
}
}
}
long
count
=
noPageCountDiy
(
searchVo
);
long
count
=
noPageCountDiy
(
searchVo
);
ServletOutputStream
out
=
null
;
ServletOutputStream
out
=
null
;
...
...
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