From 16faa2ef92851e1b42c18c00e0ffdc9898cf3c36 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Fri, 24 Jun 2022 11:50:08 +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..38bc01b 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.companyId != null"> + and a.company_id = #{record.companyId} + </if> <if test="record.title!=null"> and a.title like concat ('%',#{record.title},'%') </if> -- Gitblit v1.9.1