From 08e5cfa5651c15a79bcbcff2b04a1dda6c5c961b Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Thu, 07 Jul 2022 16:19:28 +0800 Subject: [PATCH] fix --- src/main/resources/mapper/ArticleMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/ArticleMapper.xml b/src/main/resources/mapper/ArticleMapper.xml index ec1e9d3..61fc59f 100644 --- a/src/main/resources/mapper/ArticleMapper.xml +++ b/src/main/resources/mapper/ArticleMapper.xml @@ -22,7 +22,7 @@ and a.title like concat ('%',#{record.title},'%') </if> <if test="record.columnIds != null"> - and a.column_id = + and a.column_id in <foreach collection="record.columnIds" separator="," close=")" open="(" item="item"> #{item} </foreach> -- Gitblit v1.9.1