From f7ea5773570beb5ad8c6efb5c1cf743294ee079b Mon Sep 17 00:00:00 2001
From: wzy <wzy19931122ai@163.com>
Date: Sun, 24 Jan 2021 14:16:04 +0800
Subject: [PATCH] modify

---
 zq-erp/src/main/resources/mybatis/mapper/common/SysUsersDao.xml |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/zq-erp/src/main/resources/mybatis/mapper/common/SysUsersDao.xml b/zq-erp/src/main/resources/mybatis/mapper/common/SysUsersDao.xml
index 321834c..ee69a10 100644
--- a/zq-erp/src/main/resources/mybatis/mapper/common/SysUsersDao.xml
+++ b/zq-erp/src/main/resources/mybatis/mapper/common/SysUsersDao.xml
@@ -960,7 +960,7 @@
                 </if>
                 <if
                         test="(record.suName!=null and record.suName!='') or (record.suName!='' and record.suName==0)">
-                    and su_name like concat('%',#{record.suName},'%')
+                    and (su_name like concat('%',concat(#{record.suName},'%')) or su_tel = #{record.suName})
                 </if>
                 <if
                         test="(record.suTel!=null and record.suTel!='') or (record.suTel!='' and record.suTel==0)">
@@ -1318,5 +1318,7 @@
    where id=#{id}
    </update>
 
-
+    <select id="selectAppVersion" resultType="com.matrix.system.hive.bean.AppVersion">
+        select * from app_version
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1