From 18b58aaf9bd99cadd0e7f80fe5d80586f2f4831a Mon Sep 17 00:00:00 2001
From: nickchange <126672920+nickchange@users.noreply.github.com>
Date: 星期五, 24 十一月 2023 18:32:43 +0800
Subject: [PATCH] 11.24

---
 cloud-server-other/src/main/java/com/dsh/other/util/TaskUtil.java |    8 +++++---
 1 files changed, 5 insertions(+), 3 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..e18d118 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
@@ -44,8 +45,6 @@
         }
     }
 
-
-
     //预约场地后,时间超过endTime,状态变为已过期
     @Scheduled(fixedRate = 60000)
     public void taskMinute1(){
@@ -67,7 +66,7 @@
 
     // 预约场地后,待支付的订单 时间超过30分钟,不保留
     @Scheduled(fixedRate = 60000)
-    public void taskMinute2(){
+    public void taskMinute3(){
         try {
             // 获取待核销状态的记录
             List<SiteBooking> siteBookings = siteBookingMapper.selectList(new LambdaQueryWrapper<SiteBooking>()
@@ -85,4 +84,7 @@
         }
     }
 
+
+
+
 }

--
Gitblit v1.7.1