Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xzxt-shiro
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
xzxt-shiro
Commits
f7fdc1ec
Commit
f7fdc1ec
authored
Oct 18, 2018
by
xushihong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
角色列表 搜素拥有权限的序列号对齐
parent
dedc0dcc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
src/main/java/com/xzxtshiro/service/imp/SysRoleServiceImpl.java
+6
-3
No files found.
src/main/java/com/xzxtshiro/service/imp/SysRoleServiceImpl.java
View file @
f7fdc1ec
...
...
@@ -46,9 +46,6 @@ public class SysRoleServiceImpl implements SysRoleService{
Integer
count
=
sysRoleDao
.
selectSysRoleCountByCondition
(
SysRole
);
Integer
testDataSize
=
data
.
size
();
System
.
out
.
println
(
testDataSize
);
//过滤permissmionName查询
if
(
SysRole
.
getPermissionName
()
!=
null
){
for
(
int
i
=
0
;
i
<
count
;
i
++){
...
...
@@ -77,6 +74,12 @@ public class SysRoleServiceImpl implements SysRoleService{
BaseModel
rolePage
=
new
BaseModel
();
if
(
SysRole
.
getPermissionName
()
!=
null
){
for
(
int
i
=
0
;
i
<
data
.
size
();
i
++){
data
.
get
(
i
).
setRn
(
i
+
1
);
}
}
if
(
SysRole
.
getRolename
()
!=
null
){
rolePage
.
setCount
(
data
.
size
());
}
else
{
...
...
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