From f34da12c558d57d156529e23c04e2388e60b94e5 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期三, 14 六月 2023 10:27:17 +0800
Subject: [PATCH] #组托逻辑

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

diff --git a/src/main/resources/mapper/RowLastnoMapper.xml b/src/main/resources/mapper/RowLastnoMapper.xml
index 45639f6..fd58a60 100644
--- a/src/main/resources/mapper/RowLastnoMapper.xml
+++ b/src/main/resources/mapper/RowLastnoMapper.xml
@@ -19,4 +19,12 @@
 
     </resultMap>
 
+    <select id="findBySection" resultMap="BaseResultMap">
+        select * from asr_row_lastno
+        where 1=1
+        and s_row &lt;= #{row}
+        and e_row >= #{row}
+        order by (e_row - s_row)
+    </select>
+
 </mapper>

--
Gitblit v1.9.1