From 96ff66c76a42ba649ad8ef455c8f8aa80791b7cb Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Tue, 05 Jul 2022 12:01:30 +0800
Subject: [PATCH] 20220606

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

diff --git a/src/main/resources/mapper/ArticleMapper.xml b/src/main/resources/mapper/ArticleMapper.xml
index 5629f5e..f69fcc6 100644
--- a/src/main/resources/mapper/ArticleMapper.xml
+++ b/src/main/resources/mapper/ArticleMapper.xml
@@ -21,8 +21,10 @@
                 <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">
+                    <foreach collection="record.columnIds" separator="," close=")" open="(" item="item">
+                        #{item}
+                    </foreach>
                 </if>
             </if>
         </where>

--
Gitblit v1.9.1