zhongrj
2024-05-11 d689bfe3c6eb74384ea8cf3b5db3e924f05d5677
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>