1
zj
2026-01-14 afb9b1cefb1c2d2f57fe8f0f3c19efa354669c66
src/main/resources/mapper/StockSubscribeMapper.xml
@@ -43,4 +43,15 @@
<!--    </select>-->
    <!--IF((SELECT COUNT(1) FROM user_stock_subscribe
    WHERE new_stock_id = s.newlist_id AND type=#{type} AND user_id =#{userId}) > 0,1,0)-->
    <select id="selectStockSubscribeVO" resultType="com.nq.vo.subscribe.StockSubscribeVO">
        SELECT s.*,
             0 isbuy
        FROM stock_subscribe s
        WHERE s.zt= #{zt} AND s.type=#{type}
        ORDER BY s.list_date DESC
    </select>
</mapper>