From b70ac86f95acd31985d6c335b5ecb3b9578876d5 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Sun, 20 Nov 2022 00:31:56 +0800
Subject: [PATCH] 20221117
---
src/main/resources/mapper/dapp/DappOnHookAwardDao.xml | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/dapp/DappOnHookAwardDao.xml b/src/main/resources/mapper/dapp/DappOnHookAwardDao.xml
index 3c3f798..ab68d27 100644
--- a/src/main/resources/mapper/dapp/DappOnHookAwardDao.xml
+++ b/src/main/resources/mapper/dapp/DappOnHookAwardDao.xml
@@ -31,5 +31,15 @@
limit 20
</select>
+ <select id="selectByIdLimitTT" resultType="cc.mrbird.febs.dapp.entity.DappOnHookAward">
+ select
+ a.*
+ from dapp_on_hook_award a
+ where
+ a.id <= #{id}
+ order by a.id desc
+ limit 20
+ </select>
+
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1