From 5c5d9c611ae727f4296dd54b24662adedd0d88ea Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期六, 20 六月 2026 13:51:54 +0800
Subject: [PATCH] fix: 客户往来明细根据签订日期排序

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

diff --git a/src/main/resources/mapper/basic/CustomerMapper.xml b/src/main/resources/mapper/basic/CustomerMapper.xml
index d88c9c4..e9683da 100644
--- a/src/main/resources/mapper/basic/CustomerMapper.xml
+++ b/src/main/resources/mapper/basic/CustomerMapper.xml
@@ -160,5 +160,6 @@
             group by  sl.id
         )T2 on T2.id = sl.id
         where sl.customer_id = #{customerId}
+        order by sl.execution_date
     </select>
 </mapper>

--
Gitblit v1.9.3