From 2e23fbc20b54063d931025be1e216fa3fecb96b0 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 29 Jun 2021 15:02:15 +0800 Subject: [PATCH] 20210628 集物员审核 --- gc-shop/src/main/resources/mapper/shop/ScoreGoodsCategoryMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gc-shop/src/main/resources/mapper/shop/ScoreGoodsCategoryMapper.xml b/gc-shop/src/main/resources/mapper/shop/ScoreGoodsCategoryMapper.xml index 367fe12..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} @@ -48,7 +48,7 @@ <select id="viewGoodsCategoryList" resultType="com.xzx.gc.shop.vo.ViewGoodsCategoryListVo"> SELECT - a.*,, + a.*, a.CREATED_TIME createTime, (select name from xzx_score_goods_category where a.parent_id = id) parentName FROM -- Gitblit v1.9.1