linwei
2024-01-23 5745a87f3a139ea2bbdaf4704978e4c151ecc45a
src/main/java/org/springblade/modules/discuss/mapper/TopicsMapper.xml
@@ -89,6 +89,7 @@
        jt.article_id,
        jt.LEVEL,
        ( SELECT jut.selected FROM jczz_user_topics jut WHERE jut.article_id = jt.article_id AND jut.user_id = #{userId}
        limit 1
        ) selected
        FROM
        jczz_topics jt