From 36a143b19cc919c9a814d065029b2340ef7330d7 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Mon, 13 Jun 2022 14:56:25 +0800 Subject: [PATCH] 20220606 --- src/main/resources/mapper/ArticleMapper.xml | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/ArticleMapper.xml b/src/main/resources/mapper/ArticleMapper.xml index c576f46..5fb25f7 100644 --- a/src/main/resources/mapper/ArticleMapper.xml +++ b/src/main/resources/mapper/ArticleMapper.xml @@ -15,6 +15,9 @@ <if test="record.columnId != null"> and a.column_id = #{record.columnId} </if> + <if test="record.belongId != null"> + and a.belong_id = #{record.belongId} + </if> <if test="record.title!=null"> and a.title like concat ('%',#{record.title},'%') </if> -- Gitblit v1.9.1