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
3c7392c0
Commit
3c7392c0
authored
Nov 23, 2018
by
wushanyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
系统管理权限查询页面,山西地市县级管理员查询条件调整,“地市管理员”改成“地市级管理员”
parent
c725c4e4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
.idea/misc.xml
+5
-1
src/main/java/com/xzxtshiro/mapper/SearchUserMapper.xml
+2
-2
No files found.
.idea/misc.xml
View file @
3c7392c0
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<project
version=
"4"
>
<component
name=
"EntryPointsManager"
>
<entry_points
version=
"2.0"
/>
</component>
<component
name=
"FrameworkDetectionExcludesConfiguration"
>
<component
name=
"FrameworkDetectionExcludesConfiguration"
>
<file
type=
"web"
url=
"file://$PROJECT_DIR$"
/>
<file
type=
"web"
url=
"file://$PROJECT_DIR$"
/>
<type
id=
"Spring"
/>
<type
id=
"Spring"
/>
...
@@ -11,7 +14,7 @@
...
@@ -11,7 +14,7 @@
</list>
</list>
</option>
</option>
</component>
</component>
<component
name=
"ProjectRootManager"
version=
"2"
languageLevel=
"JDK_1_8"
default=
"false"
project-jdk-name=
"1.8"
project-jdk-type=
"JavaSDK"
>
<component
name=
"ProjectRootManager"
version=
"2"
languageLevel=
"JDK_1_8"
default=
"false"
assert-keyword=
"true"
jdk-15=
"true"
project-jdk-name=
"1.8"
project-jdk-type=
"JavaSDK"
>
<output
url=
"file://$PROJECT_DIR$/target"
/>
<output
url=
"file://$PROJECT_DIR$/target"
/>
</component>
</component>
</project>
</project>
\ No newline at end of file
src/main/java/com/xzxtshiro/mapper/SearchUserMapper.xml
View file @
3c7392c0
...
@@ -100,7 +100,7 @@
...
@@ -100,7 +100,7 @@
xmlagg(xmlparse(content roleName||',' wellformed) order by u.user_id).getclobval() as roleName
xmlagg(xmlparse(content roleName||',' wellformed) order by u.user_id).getclobval() as roleName
from sys_role r join sys_user_role u on r.id=u.role_id where u.scbz='0' and r.scbz='0' GROUP BY u.user_id) tt
from sys_role r join sys_user_role u on r.id=u.role_id where u.scbz='0' and r.scbz='0' GROUP BY u.user_id) tt
on t.id=tt.user_id
on t.id=tt.user_id
where scbz='0' and t.username != 'admin' and rolename like '%地市管理员%'
where scbz='0' and t.username != 'admin' and rolename like '%地市
级
管理员%'
<if
test=
"trueName !=null"
>
and true_name like '%'||#{trueName}||'%'
</if>
<if
test=
"trueName !=null"
>
and true_name like '%'||#{trueName}||'%'
</if>
<if
test=
"policemanid !=null"
>
and policemanid like '%'||#{policemanid}||'%'
</if>
<if
test=
"policemanid !=null"
>
and policemanid like '%'||#{policemanid}||'%'
</if>
<if
test=
"unitcode !=null"
>
and UNITCODE like '%'||#{unitcode}||'%'
</if>
<if
test=
"unitcode !=null"
>
and UNITCODE like '%'||#{unitcode}||'%'
</if>
...
@@ -120,7 +120,7 @@
...
@@ -120,7 +120,7 @@
xmlagg(xmlparse(content roleName||',' wellformed) order by u.user_id).getclobval() as roleName
xmlagg(xmlparse(content roleName||',' wellformed) order by u.user_id).getclobval() as roleName
from sys_role r join sys_user_role u on r.id=u.role_id where u.scbz='0' and r.scbz='0' GROUP BY u.user_id) tt
from sys_role r join sys_user_role u on r.id=u.role_id where u.scbz='0' and r.scbz='0' GROUP BY u.user_id) tt
on t.id=tt.user_id
on t.id=tt.user_id
where scbz='0' and t.username != 'admin' and rolename like '%地市管理员%'
where scbz='0' and t.username != 'admin' and rolename like '%地市
级
管理员%'
<if
test=
"trueName !=null"
>
and true_name like '%'||#{trueName}||'%'
</if>
<if
test=
"trueName !=null"
>
and true_name like '%'||#{trueName}||'%'
</if>
<if
test=
"policemanid !=null"
>
and policemanid like '%'||#{policemanid}||'%'
</if>
<if
test=
"policemanid !=null"
>
and policemanid like '%'||#{policemanid}||'%'
</if>
<if
test=
"unitcode !=null"
>
and UNITCODE like '%'||#{unitcode}||'%'
</if>
<if
test=
"unitcode !=null"
>
and UNITCODE like '%'||#{unitcode}||'%'
</if>
...
...
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