From cb5ddf074d60b72e35ee4bafaec95530f53d1839 Mon Sep 17 00:00:00 2001
From: luo <2855143437@qq.com>
Date: 星期六, 09 十二月 2023 08:59:34 +0800
Subject: [PATCH] 12.9

---
 guns-management/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/FeedBackMapper.xml |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/guns-management/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/FeedBackMapper.xml b/guns-management/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/FeedBackMapper.xml
index 572f658..e4e61a0 100644
--- a/guns-management/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/FeedBackMapper.xml
+++ b/guns-management/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/FeedBackMapper.xml
@@ -3,4 +3,22 @@
 <mapper namespace="com.stylefeng.guns.modular.system.dao.FeedBackMapper">
 
 
+    <select id="list" resultType="com.stylefeng.guns.modular.system.dto.FeedBackVo">
+
+        SELECT  tf.insert_time as insertTime, au.nickname,au.phone,tf.content
+        from t_feedback tf
+                 LEFT JOIN t_app_user au ON tf.app_user_id =au.id
+        <where>
+            <if test="null != name and '' != name">
+                and au.nickname like CONCAT('%', #{name}, '%')
+            </if>
+            <if test="null != phone and '' != phone">
+                and au.phone like CONCAT('%', #{phone}, '%')
+            </if>
+
+
+        </where>
+
+
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.7.1