From a2a4dd75b0c0e51b325c4fbe89da80dfa4a5d24f Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Mon, 20 Feb 2023 17:13:57 +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