lin
2024-04-15 2193832ff5b8424d4ed16d0dc7ee779151c0e704
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>