🐛 fix 角色绑定用户的查询功能
This commit is contained in:
@@ -23,7 +23,7 @@ public class RoleBindUserQO {
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty(value = "用户名")
|
||||
private Integer username;
|
||||
private String username;
|
||||
|
||||
@ApiModelProperty(value = "组织ID")
|
||||
private Integer organizationId;
|
||||
|
||||
@@ -28,13 +28,13 @@
|
||||
WHERE ur.role_code = #{qo.roleCode}
|
||||
and su.deleted = 0
|
||||
<if test="qo.userId != null">
|
||||
su.user_id = #{qo.userId}
|
||||
and su.user_id = #{qo.userId}
|
||||
</if>
|
||||
<if test="qo.username != null">
|
||||
su.qo.username = #{qo.username}
|
||||
and su.username = #{qo.username}
|
||||
</if>
|
||||
<if test="qo.organizationId != null">
|
||||
so.id = #{organizationId}
|
||||
and so.id = #{qo.organizationId}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user