From e3a2245265516fef78b4737d6fffc939e7c5e0af Mon Sep 17 00:00:00 2001
From: huliguo <2023611923@qq.com>
Date: 星期四, 03 七月 2025 17:56:07 +0800
Subject: [PATCH] bug修改

---
 pt-errand/src/main/resources/mapper/FeedbackMapper.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/pt-errand/src/main/resources/mapper/FeedbackMapper.xml b/pt-errand/src/main/resources/mapper/FeedbackMapper.xml
index 95d4c7b..daae18b 100644
--- a/pt-errand/src/main/resources/mapper/FeedbackMapper.xml
+++ b/pt-errand/src/main/resources/mapper/FeedbackMapper.xml
@@ -16,8 +16,9 @@
         <if test="dto.phone != null and dto.phone !='' ">
             and phone like concat('%',#{dto.phone},'%')
         </if>
-        <if test="dto.status != null  ">
+        <if test="dto.status != null and dto.status != -1 ">
             and status= #{dto.status}
         </if>
+        order by create_time desc
     </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.7.1