From 125a058d43da07917caaa14bdc237bc2bf5ab37a Mon Sep 17 00:00:00 2001 From: "java_cuibaocheng@163.com" Date: Fri, 24 May 2024 09:07:20 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9B=86=E6=88=90AI=E8=BD=AF=E8=91=97=E5=95=86?= =?UTF-8?q?=E5=9F=8E=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/tenlion/operator/util/task/WxPayResultCheckTask.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/cn/com/tenlion/operator/util/task/WxPayResultCheckTask.java b/src/main/java/cn/com/tenlion/operator/util/task/WxPayResultCheckTask.java index c428887..41df359 100644 --- a/src/main/java/cn/com/tenlion/operator/util/task/WxPayResultCheckTask.java +++ b/src/main/java/cn/com/tenlion/operator/util/task/WxPayResultCheckTask.java @@ -27,7 +27,7 @@ public class WxPayResultCheckTask { iAccountRechargeStaticService = this.iAccountRechargeService; } - @Scheduled(fixedRate = 60*1000*2) + @Scheduled(fixedDelay = 60*1000*2) public void close() { // 关闭10分钟之前(未到账)的订单 List list = iAccountRechargeStaticService.getNotCloseRechargeList("微信"); @@ -68,7 +68,7 @@ public class WxPayResultCheckTask { /** * 2分钟执行一次 */ - @Scheduled(fixedRate = 60*1000*2) + @Scheduled(fixedDelay = 60*1000*2) public void getStatus() { // 查出来近10分钟(未到账)的订单 List list = iAccountRechargeStaticService.getNotCheckRechargeList("微信");