From 69abc2fe603e5e6282e6ff6d70463f93fdadce52 Mon Sep 17 00:00:00 2001
From: lsh <lsh@163.com>
Date: 星期二, 18 十一月 2025 15:33:18 +0800
Subject: [PATCH] *
---
src/main/resources/mapper/WrkDetlLogMapper.xml | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/resources/mapper/WrkDetlLogMapper.xml b/src/main/resources/mapper/WrkDetlLogMapper.xml
index 0169081..4ba2dbd 100644
--- a/src/main/resources/mapper/WrkDetlLogMapper.xml
+++ b/src/main/resources/mapper/WrkDetlLogMapper.xml
@@ -106,12 +106,12 @@
<include refid="batchSeq"></include>
</select>
- <select id="selectWrkDetlByOrderNoNotNull" resultMap="BaseResultMap">
+ <select id="selectWrkDetlLogByOrderNoNotNull" resultMap="BaseResultMap">
select top 1 * from asr_wrk_detl_log
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