From 0291b6ac97de3ab22e0653ec7aca50f7edf76acf Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Thu, 23 Jun 2022 18:49:28 +0800 Subject: [PATCH] fix --- 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