From 8bf923b44bbe9b45b73ddcc25df75c9c59f54e07 Mon Sep 17 00:00:00 2001
From: Hentua <wangdoubleone@gmail.com>
Date: Thu, 15 Jun 2023 11:19:44 +0800
Subject: [PATCH] fix

---
 src/main/resources/mapper/modules/MallGoodsMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/modules/MallGoodsMapper.xml b/src/main/resources/mapper/modules/MallGoodsMapper.xml
index c545dc1..c6d1410 100644
--- a/src/main/resources/mapper/modules/MallGoodsMapper.xml
+++ b/src/main/resources/mapper/modules/MallGoodsMapper.xml
@@ -95,7 +95,7 @@
                     <if test="record.goodsType == 3">
                         and a.present_price = 0
                     </if>
-                    <if test="record.goodsLevel == null">
+                    <if test="record.goodsLevel != null">
                         and a.goods_level=#{record.goodsLevel}
                     </if>
                     <if test="record.categoryId != null and record.categoryId != ''">

--
Gitblit v1.9.1