From 534922c09af529424847b8d284412abcc9dea353 Mon Sep 17 00:00:00 2001 From: wzy <wzy19931122ai@163.com> Date: Sun, 08 May 2022 22:27:14 +0800 Subject: [PATCH] fix --- src/main/resources/mapper/modules/MallGoodsMapper.xml | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/modules/MallGoodsMapper.xml b/src/main/resources/mapper/modules/MallGoodsMapper.xml index dd028ba..a436e0a 100644 --- a/src/main/resources/mapper/modules/MallGoodsMapper.xml +++ b/src/main/resources/mapper/modules/MallGoodsMapper.xml @@ -74,6 +74,9 @@ <if test="record.isHot != null and record.isHot != ''"> and a.is_hot = 1 </if> + <if test="record.isNormal != null and record.isNormal != ''"> + and a.is_normal = #{record.isNormal} + </if> <if test="record.categoryId != null and record.categoryId != ''"> and (c.id = #{record.categoryId} or c.parent_id=#{record.categoryId}) </if> -- Gitblit v1.9.1