From 8b7258c9427882bb1798f1502eaa35184c6e374e Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Fri, 09 Aug 2024 14:29:18 +0800
Subject: [PATCH] 短信指定楼栋发送
---
src/main/java/org/springblade/modules/article/mapper/ArticleCollectMapper.xml | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/src/main/java/org/springblade/modules/article/mapper/ArticleCollectMapper.xml b/src/main/java/org/springblade/modules/article/mapper/ArticleCollectMapper.xml
index bb275da..9e8fe1c 100644
--- a/src/main/java/org/springblade/modules/article/mapper/ArticleCollectMapper.xml
+++ b/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>
--
Gitblit v1.9.3