zhongrj
2024-04-28 ebd41b7b2e44dc8b96f177d7bf88d2f5f997b75c
src/main/java/org/springblade/modules/discuss/mapper/TopicsMapper.xml
@@ -116,7 +116,9 @@
        LEFT JOIN jczz_topics jts ON jts.id = jut.topics_id
        WHERE
        jut.article_id = jt.article_id
        AND jts.parent_id = jt.id  AND jut.household_id = #{householdId} AND jut.house_code = #{houseCode}
        AND jts.parent_id = jt.id
        <if test="householdId != null ">   AND jut.household_id = #{householdId}</if>
          AND jut.house_code = #{houseCode}
        limit 1
        ) selected
        FROM