From 7a8413c07a44737e559cbc0369f9ff9687f22646 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Thu, 24 Jun 2021 14:48:11 +0800
Subject: [PATCH] 20210624 商品分类

---
 gc-shop/src/main/resources/mapper/shop/ScoreGoodsMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gc-shop/src/main/resources/mapper/shop/ScoreGoodsMapper.xml b/gc-shop/src/main/resources/mapper/shop/ScoreGoodsMapper.xml
index 46c2412..bbd2c0c 100644
--- a/gc-shop/src/main/resources/mapper/shop/ScoreGoodsMapper.xml
+++ b/gc-shop/src/main/resources/mapper/shop/ScoreGoodsMapper.xml
@@ -11,7 +11,7 @@
         <if test="name != null and name != ''">
             and a.name like concat('%',#{name},'%')
         </if>
-        <if test="delFlag != null and delFlag != ''">
+        <if test="delFlag == 0 or delFlag == 1">
             and a.del_flag = #{delFlag}
         </if>
         order by a.CREATED_TIME desc

--
Gitblit v1.9.1