From 3ba2d33c27aea91c14bbf34e04e72f3d758a5105 Mon Sep 17 00:00:00 2001 From: nickchange <126672920+nickchange@users.noreply.github.com> Date: 星期三, 22 十一月 2023 19:36:01 +0800 Subject: [PATCH] 11.21.2 --- cloud-server-other/src/main/java/com/dsh/other/util/TaskUtil.java | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/cloud-server-other/src/main/java/com/dsh/other/util/TaskUtil.java b/cloud-server-other/src/main/java/com/dsh/other/util/TaskUtil.java index 932f07d..f3154c3 100644 --- a/cloud-server-other/src/main/java/com/dsh/other/util/TaskUtil.java +++ b/cloud-server-other/src/main/java/com/dsh/other/util/TaskUtil.java @@ -10,6 +10,7 @@ import javax.annotation.Resource; import java.util.Date; import java.util.List; +import java.util.concurrent.TimeUnit; /** * @author zhibing.pu @@ -67,7 +68,7 @@ // 预约场地后,待支付的订单 时间超过30分钟,不保留 @Scheduled(fixedRate = 60000) - public void taskMinute2(){ + public void taskMinute3(){ try { // 获取待核销状态的记录 List<SiteBooking> siteBookings = siteBookingMapper.selectList(new LambdaQueryWrapper<SiteBooking>() @@ -85,4 +86,7 @@ } } + + + } -- Gitblit v1.7.1