From e687a2aa97eb1cf33d09a25b0c4029f64983be0b Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Thu, 07 Jul 2022 11:10:31 +0800
Subject: [PATCH] 20220606

---
 src/main/resources/mapper/ArticleMapper.xml |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mapper/ArticleMapper.xml b/src/main/resources/mapper/ArticleMapper.xml
index 533fdca..aa86fa6 100644
--- a/src/main/resources/mapper/ArticleMapper.xml
+++ b/src/main/resources/mapper/ArticleMapper.xml
@@ -21,8 +21,11 @@
                 <if test="record.title!=null">
                     and a.title like concat ('%',#{record.title},'%')
                 </if>
-                <if test="record.contentType != null">
-                    and a.content_type = #{record.contentType}
+                <if test="record.columnIds != null">
+                    and a.column_id =
+                    <foreach collection="record.columnIds" separator="," close=")" open="(" item="item">
+                        #{item}
+                    </foreach>
                 </if>
             </if>
         </where>

--
Gitblit v1.9.1