linwe
2024-06-19 6b113a88e7b7b625405cc0b1d46efa22d46c71a2
src/main/java/org/springblade/modules/article/mapper/ArticleCollectMapper.xml
@@ -12,7 +12,13 @@
    <select id="selectArticleCollectPage" resultMap="articleCollectResultMap">
        select * from jczz_article_collect where is_deleted = 0
        select * from jczz_article_collect
        <where>
            <if test="noticeCollect.id != null "> and id = #{noticeCollect.id}</if>
            <if test="noticeCollect.articleId != null "> and article_id = #{noticeCollect.articleId}</if>
            <if test="noticeCollect.userId != null "> and user_id = #{noticeCollect.userId}</if>
            <if test="noticeCollect.createTime != null "> and create_time = #{noticeCollect.createTime}</if>
        </where>
    </select>