From 1e64ef03770f4e3a7f357049a6fe744f39c2c4b6 Mon Sep 17 00:00:00 2001
From: 44323 <443237572@qq.com>
Date: 星期二, 21 十一月 2023 09:12:20 +0800
Subject: [PATCH] 后台bug修改

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

diff --git a/cloud-server-account/src/main/resources/mapper/TAppGiftMapper.xml b/cloud-server-account/src/main/resources/mapper/TAppGiftMapper.xml
index f830c3f..c4c1b6a 100644
--- a/cloud-server-account/src/main/resources/mapper/TAppGiftMapper.xml
+++ b/cloud-server-account/src/main/resources/mapper/TAppGiftMapper.xml
@@ -3,4 +3,24 @@
 <mapper namespace="com.dsh.account.mapper.TAppGiftMapper">
 
 
+    <select id="queryIntroduceAll" resultType="com.dsh.account.entity.IntroduceUser">
+        select t1.* from t_app_gift t1
+        <where>
+            <if test="query.shareUserName!=null and query.shareUserName!= ''">
+                and t1.shareUserName like concat('%',#{query.shareUserName},'%')
+            </if>
+            <if test="query.shareUserphone!=null and query.shareUserphone!= ''">
+                and t1.shareUserPhone like concat('%',#{query.shareUserPhone},'%')
+            </if>
+            <if test="query.userName!=null and query.userName!= ''">
+                and t1.userName like concat('%',#{query.userName},'%')
+            </if>
+            <if test="query.userPhone!=null and query.userPhone!= ''">
+                and t1.userPhone like concat('%',#{query.userPhone},'%')
+            </if>
+            <if test="query.activityId!=null and query.activityId!= ''">
+                and t1.activityId = #{query.activityId}
+            </if>
+        </where>
+    </select>
 </mapper>

--
Gitblit v1.7.1