From d8db87b90eeab5dda8e6d08c1ef5e777becb0f7c Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Sat, 26 Jun 2021 16:06:26 +0800
Subject: [PATCH] score/goods/updateGoods

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

diff --git a/gc-shop/src/main/resources/mapper/shop/ScoreGoodsCategoryMapper.xml b/gc-shop/src/main/resources/mapper/shop/ScoreGoodsCategoryMapper.xml
index 690fb84..9ee661b 100644
--- a/gc-shop/src/main/resources/mapper/shop/ScoreGoodsCategoryMapper.xml
+++ b/gc-shop/src/main/resources/mapper/shop/ScoreGoodsCategoryMapper.xml
@@ -25,7 +25,7 @@
         xzx_score_goods_category a
         WHERE 1 = 1
         <if test="record.name != null and record.name != ''">
-            and a.name=#{record.name}
+            and a.name like concat('%',#{record.name},'%')
         </if>
         <if test="record.categoryIden != null and record.categoryIden != ''">
             and a.category_iden=#{record.categoryIden}

--
Gitblit v1.9.1