src/main/resources/mapper/UserStockSubscribeMapper.xml
@@ -257,7 +257,7 @@ ,s.stock_type,s.list_date,s.subscription_time FROM user_stock_subscribe u LEFT JOIN stock_subscribe s on s.newlist_id = u.new_stock_id WHERE 1=1 WHERE 1=1 AND s.newlist_id is not null <if test="userId != null"> and u.user_id = #{userId} </if>