From 5abe23fb7704257846762016e60734901e0b31a4 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Thu, 02 Jun 2022 15:27:32 +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 402284e..e7b8dc7 100644
--- a/src/main/resources/mapper/modules/MallGoodsMapper.xml
+++ b/src/main/resources/mapper/modules/MallGoodsMapper.xml
@@ -85,7 +85,7 @@
                         and a.is_normal = #{record.isNormal}
                     </if>
                     <if test="record.goodsType != null and record.goodsType != '' and record.goodsType != 3">
-                        and a.goods_type = #{record.goodsType}
+                        and a.goods_type = #{record.goodsType} and a.present_price != 0
                     </if>
                     <if test="record.goodsType == 3">
                         and a.present_price = 0

--
Gitblit v1.9.1