From 6676f28a5a6ca65015a2b2c26e804fa998d625c8 Mon Sep 17 00:00:00 2001
From: 44323 <443237572@qq.com>
Date: 星期二, 26 九月 2023 21:37:07 +0800
Subject: [PATCH] 后台代码

---
 cloud-server-account/src/main/resources/mapper/TAppUserMapper.xml |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/cloud-server-account/src/main/resources/mapper/TAppUserMapper.xml b/cloud-server-account/src/main/resources/mapper/TAppUserMapper.xml
index 2168842..f713086 100644
--- a/cloud-server-account/src/main/resources/mapper/TAppUserMapper.xml
+++ b/cloud-server-account/src/main/resources/mapper/TAppUserMapper.xml
@@ -82,4 +82,15 @@
             </foreach>
         </where>
     </select>
+    <select id="queryAPPUserByNameAndPhone" resultType="com.dsh.account.entity.TAppUser">
+        select * from t_app_user t1
+        <where>
+            <if test="query.userName!=null and query.userName!= ''">
+                AND t1.name LIKE concat('%',#{query.userName},'%')
+            </if>
+            <if test="query.phone!=null and query.phone!= ''">
+                AND t1.phone LIKE concat('%',#{query.phone},'%')
+            </if>
+        </where>
+    </select>
 </mapper>

--
Gitblit v1.7.1