Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
qianhe-ydsj
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
jiangyun
qianhe-ydsj
Commits
58346cff
Commit
58346cff
authored
Nov 04, 2024
by
wangqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
帮扶组问题导入
parent
073b5230
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
qianhe-ydsj/src/main/java/com/qianhe/controller/SjBfzwhController.java
+10
-2
No files found.
qianhe-ydsj/src/main/java/com/qianhe/controller/SjBfzwhController.java
View file @
58346cff
...
...
@@ -71,10 +71,18 @@ public class SjBfzwhController extends BaseController
@GetMapping
(
"/xlklist"
)
public
TableDataInfo
xlklist
(
SjBfzwh
sjBfzwh
)
{
// 获取当前登陆人
sjBfzwh
.
setLxr
(
SecurityUtils
.
getUserId
());
// 拿到角色如果是管理员 不限制。不是管理员只能看到自己的帮扶组
List
<
SysRole
>
rolelist
=
SecurityUtils
.
getLoginUser
().
getUser
().
getRoles
();
if
(
StringUtils
.
isNotEmpty
(
rolelist
)){
for
(
SysRole
role
:
rolelist
){
Long
roleid
=
role
.
getRoleId
();
if
(
roleid
==
1
||
roleid
==
100
){
sjBfzwh
.
setLxr
(
null
);
}
}
}
List
<
SjBfzwh
>
list
=
sjBfzwhService
.
selectSjBfzwhList
(
sjBfzwh
);
return
getDataTable
(
list
);
}
...
...
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