Commit b3fe09dc by liuyongshuai

修改角色查询bug

parent bd337361
......@@ -74,7 +74,7 @@
<if test="userId != null" >
from sys_user_role a,sys_role b
where b.SCBZ='0'
AND A.USER_ID=#{userId,jdbcType=VARCHAR} and A.ROLE_ID=b.ids
AND A.USER_ID=#{userId,jdbcType=VARCHAR} and A.ROLE_ID=b.id
<if test="rolename != null"> and b.ROLENAME like '%'||#{rolename}||'%'</if>
</if>
<if test="userId == null" >
......
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