From ed5b338a4ef3e95db7354ad3f3d65f8752b5915c Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Tue, 05 Jul 2022 16:15:32 +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 5629f5e..43ec8e5 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