From c6758c32d79bb1f82cea77422953f3c0b61bc2b8 Mon Sep 17 00:00:00 2001
From: lsh <lsh@163.com>
Date: 星期三, 24 十二月 2025 08:04:36 +0800
Subject: [PATCH] #

---
 src/main/resources/mapper/WrkDetlMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mapper/WrkDetlMapper.xml b/src/main/resources/mapper/WrkDetlMapper.xml
index ac601b6..9e6fe08 100644
--- a/src/main/resources/mapper/WrkDetlMapper.xml
+++ b/src/main/resources/mapper/WrkDetlMapper.xml
@@ -141,8 +141,8 @@
         select top 1 * from asr_wrk_detl
         where batch = #{batch}
         and order_no is not null
-        and order_no != ""
-        order by io_time
+        and order_no != ''
+        order by io_time desc
     </select>
 
 </mapper>

--
Gitblit v1.9.1