mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-08 01:48:33 +08:00
Member fix
GROUP / ROLE Member FIX
This commit is contained in:
parent
b4b0f74a9e
commit
4dafe58d57
@ -108,6 +108,12 @@
|
|||||||
<if test="groupName != null and groupName != ''">
|
<if test="groupName != null and groupName != ''">
|
||||||
AND G.NAME = #{groupName}
|
AND G.NAME = #{groupName}
|
||||||
</if>
|
</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.TYPE IN( 'USER','USER-DYNAMIC')
|
||||||
AND GM.GROUPID = G.ID
|
AND GM.GROUPID = G.ID
|
||||||
AND GM.MEMBERID = U.ID
|
AND GM.MEMBERID = U.ID
|
||||||
@ -170,6 +176,12 @@
|
|||||||
AND GM.TYPE IN( 'USER','USER-DYNAMIC')
|
AND GM.TYPE IN( 'USER','USER-DYNAMIC')
|
||||||
AND GM.GROUPID = G.ID
|
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>
|
</select>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -108,6 +108,12 @@
|
|||||||
<if test="roleName != null and roleName != ''">
|
<if test="roleName != null and roleName != ''">
|
||||||
AND R.NAME = #{roleName}
|
AND R.NAME = #{roleName}
|
||||||
</if>
|
</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.TYPE IN( 'USER','USER-DYNAMIC')
|
||||||
AND RM.ROLEID = R.ID
|
AND RM.ROLEID = R.ID
|
||||||
AND RM.MEMBERID = U.ID
|
AND RM.MEMBERID = U.ID
|
||||||
@ -167,9 +173,16 @@
|
|||||||
<if test="roleName != null and roleName != ''">
|
<if test="roleName != null and roleName != ''">
|
||||||
AND R.NAME = #{roleName}
|
AND R.NAME = #{roleName}
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
AND RM.TYPE IN( 'USER','USER-DYNAMIC')
|
AND RM.TYPE IN( 'USER','USER-DYNAMIC')
|
||||||
AND RM.ROLEID = R.ID
|
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>
|
</select>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -54,7 +54,7 @@
|
|||||||
<td width="120px"><@locale code="userinfo.username"/>:</td>
|
<td width="120px"><@locale code="userinfo.username"/>:</td>
|
||||||
<td width="374px">
|
<td width="374px">
|
||||||
<form id="basic_search_form">
|
<form id="basic_search_form">
|
||||||
<input class="form-control" type="text" name="name" style ="width:150px;float:left;">
|
<input class="form-control" type="text" name="username" style ="width:150px;float:left;">
|
||||||
<input class="button btn btn-primary mr-3" id="searchBtn" type="button" size="50" value="<@locale code="button.text.search"/>">
|
<input class="button btn btn-primary mr-3" id="searchBtn" type="button" size="50" value="<@locale code="button.text.search"/>">
|
||||||
</form>
|
</form>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@ -54,7 +54,7 @@
|
|||||||
<td width="120px"><@locale code="userinfo.username"/>:</td>
|
<td width="120px"><@locale code="userinfo.username"/>:</td>
|
||||||
<td width="374px">
|
<td width="374px">
|
||||||
<form id="basic_search_form">
|
<form id="basic_search_form">
|
||||||
<input class="form-control" type="text" name="name" style ="width:150px;float:left;">
|
<input class="form-control" type="text" name="username" style ="width:150px;float:left;">
|
||||||
<input class="button btn btn-primary mr-3" id="searchBtn" type="button" size="50" value="<@locale code="button.text.search"/>">
|
<input class="button btn btn-primary mr-3" id="searchBtn" type="button" size="50" value="<@locale code="button.text.search"/>">
|
||||||
</form>
|
</form>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user