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