Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
education
Project
Project
Details
Activity
Releases
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
李丛阳
education
Commits
469b7946
Commit
469b7946
authored
Sep 30, 2019
by
luzhuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
role
parent
96724b96
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
SysRoleRepository.java
...main/java/org/rcisoft/sys/role/dao/SysRoleRepository.java
+4
-4
No files found.
src/main/java/org/rcisoft/sys/role/dao/SysRoleRepository.java
View file @
469b7946
...
@@ -27,8 +27,9 @@ public interface SysRoleRepository extends BaseMapper<SysRole> {
...
@@ -27,8 +27,9 @@ public interface SysRoleRepository extends BaseMapper<SysRole> {
* @param
* @param
* @return
* @return
*/
*/
@Select
(
"<script>select * from s_role where flag = '1' and del_flag = '0' "
+
@Select
(
"<script>select * from tm_admin_role "
+
"AND role_name not in('主管理员','子管理员')"
+
"where r_status = 1 "
+
"and r_id not in('主管理员','子管理员')"
+
" order by create_date desc"
+
" order by create_date desc"
+
"</script>"
)
"</script>"
)
@ResultMap
(
value
=
"SelectAllAndUserNum"
)
@ResultMap
(
value
=
"SelectAllAndUserNum"
)
...
@@ -37,8 +38,7 @@ public interface SysRoleRepository extends BaseMapper<SysRole> {
...
@@ -37,8 +38,7 @@ public interface SysRoleRepository extends BaseMapper<SysRole> {
//获得此角色的用户数
//获得此角色的用户数
int
countUserNum
(
String
roleId
);
int
countUserNum
(
String
roleId
);
@Select
(
"<script>select * from s_role where "
@Select
(
"<script>select * from tm_admin_role where "
+
"DEL_FLAG='0' "
+
"</script>"
)
+
"</script>"
)
@ResultMap
(
value
=
"BaseResultMap"
)
@ResultMap
(
value
=
"BaseResultMap"
)
List
<
SysRole
>
queryRolesSelect
(
SysRole
sysRole
);
List
<
SysRole
>
queryRolesSelect
(
SysRole
sysRole
);
...
...
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