From 89dbaf2061821a63dc89c8c96089d9b47178d3e4 Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期日, 09 二月 2025 18:05:12 +0800 Subject: [PATCH] fix:审核处理 --- src/main/resources/mapper/system/UserMapper.xml | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mapper/system/UserMapper.xml b/src/main/resources/mapper/system/UserMapper.xml index 6d05c79..037278e 100644 --- a/src/main/resources/mapper/system/UserMapper.xml +++ b/src/main/resources/mapper/system/UserMapper.xml @@ -123,12 +123,13 @@ AND id = #{condition.id} </if> <if test="condition.loginName != null and condition.loginName != ''"> - AND name = #{condition.loginName} + AND name like concat('%', #{condition.loginName},'%') </if> <if test="condition.tel != null and condition.tel != ''"> - AND contact_tel = #{condition.tel} + AND contact_tel like concat('%', #{condition.tel},'%') </if> </where> + ORDER BY user_id, id </select> <select id="getSelectList" resultType="com.mzl.flower.dto.response.sms.SmsSelectVO"> -- Gitblit v1.9.3