From a508775d5c69e61e605c8f00fc18e70279444869 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Mon, 11 Jul 2022 21:49:04 +0800 Subject: [PATCH] add companyCode --- 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 9059144..787b0dd 100644 --- a/src/main/resources/mapper/ArticleMapper.xml +++ b/src/main/resources/mapper/ArticleMapper.xml @@ -89,6 +89,9 @@ ${item} </foreach> </if> + <if test="record.isTop != null and record.isTop != ''"> + and a.is_top=#{record.isTop} + </if> </where> order by release_time desc </select> -- Gitblit v1.9.1