From 172f7410f5576a19b2380b5ec0da3de76ce37283 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Fri, 24 Feb 2023 11:56:38 +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