From cf0acf91076a0a0f720adbbe486cc5d7f3d1d3f9 Mon Sep 17 00:00:00 2001
From: Hentua <wangdoubleone@gmail.com>
Date: Tue, 25 Apr 2023 16:26:22 +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 d93f9d7..c6d1410 100644
--- a/src/main/resources/mapper/modules/MallGoodsMapper.xml
+++ b/src/main/resources/mapper/modules/MallGoodsMapper.xml
@@ -95,6 +95,9 @@
                     <if test="record.goodsType == 3">
                         and a.present_price = 0
                     </if>
+                    <if test="record.goodsLevel != null">
+                        and a.goods_level=#{record.goodsLevel}
+                    </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