From 433bc1e314ecfd483379ca0e2e74e7c815d3261f Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期一, 20 十月 2025 09:15:43 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
ruoyi-system/src/main/resources/mapper/system/TSysAppUserMapper.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ruoyi-system/src/main/resources/mapper/system/TSysAppUserMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TSysAppUserMapper.xml
index 358e759..b9238e8 100644
--- a/ruoyi-system/src/main/resources/mapper/system/TSysAppUserMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/TSysAppUserMapper.xml
@@ -36,7 +36,7 @@
left join (select id,app_user_id, max(check_time) as lastInspectionTime from t_sys_inspection limit 1) tsi on tsi.app_user_id = tsau.id
<where>
<if test="query.phone != null and query.phone != ''">
- and tsau.phone = #{query.phone}
+ and tsau.phone like concat('%',#{query.phone},'%')
</if>
<if test="query.nickName != null and query.nickName != ''">
and tsau.nick_name like concat('%',#{query.nickName},'%')
@@ -65,7 +65,7 @@
left join (select id,app_user_id, max(check_time) as lastInspectionTime from t_sys_inspection limit 1) tsi on tsi.app_user_id = tsau.id
<where>
<if test="query.phone != null and query.phone != ''">
- and tsau.phone = #{query.phone}
+ and tsau.phone like concat('%',#{query.phone},'%')
</if>
<if test="query.nickName != null and query.nickName != ''">
and tsau.nick_name like concat('%',#{query.nickName},'%')
--
Gitblit v1.7.1