linwe
2024-05-20 ebc6b7119046a51ed2b9ecf727ac8c9466b6700d
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>