From 8f918cb6db02c39e67ce7b0d77cc1be5ed26edaf Mon Sep 17 00:00:00 2001
From: jiaosong <jiaosong6760@dingtalk.com>
Date: 星期五, 25 八月 2023 11:03:28 +0800
Subject: [PATCH] # 企业端用户

---
 server/src/main/resources/mappers/UserDeviceExtMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/src/main/resources/mappers/UserDeviceExtMapper.xml b/server/src/main/resources/mappers/UserDeviceExtMapper.xml
index 7259c9f..6b93738 100644
--- a/server/src/main/resources/mappers/UserDeviceExtMapper.xml
+++ b/server/src/main/resources/mappers/UserDeviceExtMapper.xml
@@ -201,7 +201,7 @@
         AND `umodel`.`ROOT_DEPART_ID` = #{umodelRootDepartId}
       </if>
       <if test="umodelName != null and umodelName != ''">
-        AND `umodel`.`NAME` = #{umodelName}
+        AND `umodel`.`NAME` like concat('%', #{umodelName} , '%')
       </if>
       <if test="umodelPhone != null and umodelPhone != ''">
         AND `umodel`.`PHONE` = #{umodelPhone}

--
Gitblit v1.9.3