From 7a2433d29f4fcf9b1fc94e143d7597fa3a0e5080 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Thu, 03 Nov 2022 17:34:41 +0800
Subject: [PATCH] 20221021
---
src/main/resources/mapper/dapp/IgtOnHookPlanOrderItemDao.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/dapp/IgtOnHookPlanOrderItemDao.xml b/src/main/resources/mapper/dapp/IgtOnHookPlanOrderItemDao.xml
index 6d95d97..145c095 100644
--- a/src/main/resources/mapper/dapp/IgtOnHookPlanOrderItemDao.xml
+++ b/src/main/resources/mapper/dapp/IgtOnHookPlanOrderItemDao.xml
@@ -89,7 +89,7 @@
FROM igt_on_hook_plan_order_item a
where a.order_id = #{orderId}
and a.is_goal = #{isGoal}
- and a.create_time < #{endTime}
+ and a.id < #{id}
order by a.id desc
limit 1
</select>
--
Gitblit v1.9.1