Member fix
GROUP / ROLE Member FIX
This commit is contained in:
@@ -108,6 +108,12 @@
|
||||
<if test="groupName != null and groupName != ''">
|
||||
AND G.NAME = #{groupName}
|
||||
</if>
|
||||
<if test="username != null and username != ''">
|
||||
AND U.USERNAME = #{username}
|
||||
</if>
|
||||
<if test="displayName != null and displayName != ''">
|
||||
AND U.DISPLAYNAME LIKE '%${displayName}%'
|
||||
</if>
|
||||
AND GM.TYPE IN( 'USER','USER-DYNAMIC')
|
||||
AND GM.GROUPID = G.ID
|
||||
AND GM.MEMBERID = U.ID
|
||||
@@ -170,6 +176,12 @@
|
||||
AND GM.TYPE IN( 'USER','USER-DYNAMIC')
|
||||
AND GM.GROUPID = G.ID
|
||||
)
|
||||
<if test="username != null and username != ''">
|
||||
AND U.USERNAME = #{username}
|
||||
</if>
|
||||
<if test="displayName != null and displayName != ''">
|
||||
AND U.DISPLAYNAME LIKE '%${displayName}%'
|
||||
</if>
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
@@ -108,6 +108,12 @@
|
||||
<if test="roleName != null and roleName != ''">
|
||||
AND R.NAME = #{roleName}
|
||||
</if>
|
||||
<if test="username != null and username != ''">
|
||||
AND U.USERNAME = #{username}
|
||||
</if>
|
||||
<if test="displayName != null and displayName != ''">
|
||||
AND U.DISPLAYNAME LIKE '%${displayName}%'
|
||||
</if>
|
||||
AND RM.TYPE IN( 'USER','USER-DYNAMIC')
|
||||
AND RM.ROLEID = R.ID
|
||||
AND RM.MEMBERID = U.ID
|
||||
@@ -167,9 +173,16 @@
|
||||
<if test="roleName != null and roleName != ''">
|
||||
AND R.NAME = #{roleName}
|
||||
</if>
|
||||
|
||||
AND RM.TYPE IN( 'USER','USER-DYNAMIC')
|
||||
AND RM.ROLEID = R.ID
|
||||
)
|
||||
<if test="username != null and username != ''">
|
||||
AND U.USERNAME = #{username}
|
||||
</if>
|
||||
<if test="displayName != null and displayName != ''">
|
||||
AND U.DISPLAYNAME LIKE '%${displayName}%'
|
||||
</if>
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user