Commit 7fb3907f by wushanyu

系统管理权限查询页面,陕西省地市管理员角色名称跟其他省份不同,调整了相应的查询sql(SearchUserMapper.xml)

parent 9ef52b7b
......@@ -59,10 +59,13 @@
listagg( roleName, ',' ) within group ( order by u.user_id ) 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
on t.id=tt.user_id
where scbz='0' and t.username != 'admin' and rolename like '%地市管理员%'
where scbz='0' and t.username != 'admin'
<if test="trueName !=null"> and true_name like '%'||#{trueName}||'%'</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 test="unitcode == '61'">and rolename like '%省市县管理员%'</if>
<if test="unitcode != '61'">and rolename like '%地市管理员%'</if>
</if>
<if test="telephone !=null"> and telephone like '%'||#{telephone}||'%'</if>
<if test="grade !=null"> and grade = #{grade}</if>
<if test="grade ==null"> and grade = 'D'</if>
......@@ -79,10 +82,13 @@
listagg( roleName, ',' ) within group ( order by u.user_id ) 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
on t.id=tt.user_id
where scbz='0' and t.username != 'admin' and rolename like '%地市管理员%'
where scbz='0' and t.username != 'admin'
<if test="trueName !=null"> and true_name like '%'||#{trueName}||'%'</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 test="unitcode == '61'">and rolename like '%省市县管理员%'</if>
<if test="unitcode != '61'">and rolename like '%地市管理员%'</if>
</if>
<if test="telephone !=null"> and telephone like '%'||#{telephone}||'%'</if>
<if test="grade !=null"> and grade = #{grade}</if>
<if test="grade ==null"> and grade = 'D'</if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment