From b5046e94a226a080d3fa7619195e2c14b9043a5e Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 19 Dec 2022 16:09:00 +0800
Subject: [PATCH] 20221219
---
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