From 10f59d952935516e5b968c84732ca5f3d4e8f5ac Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 20 Feb 2023 12:04:02 +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