From fbd9fa8eafc3b1133bee0c60eda6f0ebc87faabb Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Mon, 20 Feb 2023 14:29:16 +0800 Subject: [PATCH] 编辑商品样式的名称 --- src/main/resources/mapper/modules/MallSalesmanMapper.xml | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/modules/MallSalesmanMapper.xml b/src/main/resources/mapper/modules/MallSalesmanMapper.xml index 74f1db7..c9c0038 100644 --- a/src/main/resources/mapper/modules/MallSalesmanMapper.xml +++ b/src/main/resources/mapper/modules/MallSalesmanMapper.xml @@ -113,6 +113,9 @@ <if test="record.city != null and record.city != ''"> and a.city = #{record.city} </if> + <if test="record.name != null and record.name != ''"> + and a.name like concat('%', #{record.name},'%') + </if> </if> </where> ORDER BY -- Gitblit v1.9.1