@@ -27,6 +27,7 @@
<where>
<if test="user_id != null and user_id != ''">
AND fc.user_id = #{user_id}
+ AND f.user_id = #{user_id}
</if>
<if test="category_name != null and category_name != ''">
AND fc.category_name LIKE CONCAT('%', #{category_name}, '%')