From 2e2be7f7475b5e583b0cffd89c6d18db52c247a6 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期一, 04 十二月 2023 14:59:05 +0800
Subject: [PATCH] 同步代码

---
 cloud-server-other/src/main/java/com/dsh/other/util/TaskUtil.java |    3 ++-
 1 files changed, 2 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 c406008..4b95453 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
@@ -36,7 +36,8 @@
                 long l = time + 1800 * 1000;
                 if (System.currentTimeMillis() > l) {
                     siteBooking.setStatus(5);
-                    siteBookingMapper.deleteById(siteBooking.getId());
+                    siteBookingMapper.updateById(siteBooking);
+//                    siteBookingMapper.deleteById(siteBooking.getId());
                 }
             }
             //定时修改赛事状态

--
Gitblit v1.7.1