@@ -224,6 +224,9 @@
<if test="roleId!=null and roleId!=''">
and role.role_id=#{roleId}
</if>
+ <if test="userId !=null and userId !=''">
+ and user.user_id = #{userId}
+ </if>
GROUP BY user.`user_id`
order by user.update_time desc
</select>