Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
YX_IDENT_beijing_auxiliary_YD
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
zhangyusheng
YX_IDENT_beijing_auxiliary_YD
Commits
0bd0ffe7
Commit
0bd0ffe7
authored
Oct 18, 2019
by
liboyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
permission少查询了一个字段
parent
08113e19
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
SysPermission.java
src/main/java/com/yxproject/start/entity/SysPermission.java
+11
-0
No files found.
src/main/java/com/yxproject/start/entity/SysPermission.java
View file @
0bd0ffe7
...
...
@@ -31,6 +31,8 @@ public class SysPermission implements Serializable {
private
String
permission
;
private
byte
available
=
0
;
int
zindex
;
@ManyToMany
@JoinTable
(
name
=
"SysRolePermission"
,
joinColumns
={
@JoinColumn
(
name
=
"permissionId"
)},
inverseJoinColumns
={
@JoinColumn
(
name
=
"roleId"
)})
private
List
<
SysRole
>
roles
;
...
...
@@ -82,4 +84,12 @@ public class SysPermission implements Serializable {
public
void
setRoles
(
List
<
SysRole
>
roles
)
{
this
.
roles
=
roles
;
}
public
int
getZindex
()
{
return
zindex
;
}
public
void
setZindex
(
int
zindex
)
{
this
.
zindex
=
zindex
;
}
}
\ No newline at end of file
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