From 12b95a4ef0392330f275f0a9fa9da42bb39bb5bd Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期二, 07 一月 2025 16:10:51 +0800 Subject: [PATCH] add:配置2 --- src/main/resources/mapper/configParam/ConfigCustomerServiceMapper.xml | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/configParam/ConfigCustomerServiceMapper.xml b/src/main/resources/mapper/configParam/ConfigCustomerServiceMapper.xml index c438a31..63a362d 100644 --- a/src/main/resources/mapper/configParam/ConfigCustomerServiceMapper.xml +++ b/src/main/resources/mapper/configParam/ConfigCustomerServiceMapper.xml @@ -7,8 +7,11 @@ select t.*, u.nick_name createName from t_config_customer_service t left join t_user u on t.create_by = u.id where t.deleted= 0 + <if test="dto.type != null and dto.type != ''"> + and t.type= #{dto.type} + </if> <if test="dto.name != null and dto.name != ''"> - and t.name like concat('%', #{dto.name}, '%') + and t.name= #{dto.name} </if> </select> -- Gitblit v1.9.3