From 871efa21e6c95520e9825ae1f2338c9a919fdd5d Mon Sep 17 00:00:00 2001
From: liujie <liujie>
Date: 星期日, 15 十月 2023 17:57:48 +0800
Subject: [PATCH] 用户端代码

---
 src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TQuoteMapper.xml |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TQuoteMapper.xml b/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TQuoteMapper.xml
index dccf46b..85eb9df 100644
--- a/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TQuoteMapper.xml
+++ b/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TQuoteMapper.xml
@@ -26,7 +26,7 @@
         left JOIN t_user t2 on t1.user_id =t2.id
         LEFT JOIN t_order t3 on t1.order_id = t3.e_zip_z
         LEFT JOIN t_port t4 on t3.`port` = t4.id
-        where T1.state != 3
+        where t1.state != 3
         <if test="sTime !=null">
             and t1.create_time between #{sTime} and #{eTime}
         </if>
@@ -39,6 +39,8 @@
         <if test="account !=null and account !=''">
             and t2.account =#{account}
         </if>
+        group by t1.id
+        order by t1.create_time desc
     </select>
     <select id="queryDemandListExport" resultType="com.stylefeng.guns.modular.system.model.DemandListVo">
         select t1.id,t2.id userId,t2.company_name companyName,

--
Gitblit v1.7.1