From ca42a5047cb15ae63035f15a971a8e1ec858851f Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期三, 20 十二月 2023 16:24:04 +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 <= #{row}
+ and e_row >= #{row}
+ order by (e_row - s_row)
+ </select>
+
</mapper>
--
Gitblit v1.9.1