From 24f4438faf3a689d2ec67d56457c0ff5a3d1fb46 Mon Sep 17 00:00:00 2001
From: IZCD4L12RTSW0VZ\Administrator <skyouc>
Date: 星期三, 07 一月 2026 13:04:52 +0800
Subject: [PATCH] 派工单变更优化

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

diff --git a/src/main/resources/mapper/RowLastnoMapper.xml b/src/main/resources/mapper/RowLastnoMapper.xml
index 5080b08..386c595 100644
--- a/src/main/resources/mapper/RowLastnoMapper.xml
+++ b/src/main/resources/mapper/RowLastnoMapper.xml
@@ -30,7 +30,7 @@
     </resultMap>
 
     <select id="findBySection" resultMap="BaseResultMap">
-        select * from asr_row_lastno
+        select top 1 * from asr_row_lastno
         where 1=1
         and s_row &lt;= #{row}
         and e_row >= #{row}

--
Gitblit v1.9.1