From 7aad06fedc12f0183734088fa44c929ac6ff42b3 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期六, 10 十月 2026 11:54:01 +0800
Subject: [PATCH] feat: 增加多个查询的排序功能以优化数据检索

---
 src/main/resources/mapper/sales/SalesQuotationMapper.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/sales/SalesQuotationMapper.xml b/src/main/resources/mapper/sales/SalesQuotationMapper.xml
index 1e358ca..4d17025 100644
--- a/src/main/resources/mapper/sales/SalesQuotationMapper.xml
+++ b/src/main/resources/mapper/sales/SalesQuotationMapper.xml
@@ -18,5 +18,6 @@
         <if test="salesQuotationDto.status != null and salesQuotationDto.status != '' ">
             AND t1.status = #{salesQuotationDto.status}
         </if>
+        ORDER BY t1.quotation_date DESC, t1.id DESC
     </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3