From faa2fcd7f83cf707d360056e7a0cf448c097aeac Mon Sep 17 00:00:00 2001 From: kira <164851225@qq.com> Date: Sun, 12 Aug 2018 17:45:06 +0800 Subject: [PATCH] remove client postpone transaction --- .../com/royalpay/payment/manage/task/PostponeClientTask.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/task/PostponeClientTask.java b/src/main/java/au/com/royalpay/payment/manage/task/PostponeClientTask.java index 10b8d003c..18a98a6d7 100644 --- a/src/main/java/au/com/royalpay/payment/manage/task/PostponeClientTask.java +++ b/src/main/java/au/com/royalpay/payment/manage/task/PostponeClientTask.java @@ -9,8 +9,8 @@ import au.com.royalpay.payment.manage.merchants.entity.impls.SwitchPermissionMod import au.com.royalpay.payment.tools.connections.mpsupport.MpWechatApi; import au.com.royalpay.payment.tools.connections.mpsupport.MpWechatApiProvider; import au.com.royalpay.payment.tools.connections.mpsupport.beans.TemplateMessage; - import au.com.royalpay.payment.tools.scheduler.SynchronizedScheduler; + import com.alibaba.fastjson.JSONObject; import org.apache.commons.lang3.time.DateFormatUtils; @@ -20,7 +20,6 @@ import org.slf4j.LoggerFactory; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; -import org.springframework.transaction.annotation.Transactional; import org.springframework.util.CollectionUtils; import org.springframework.util.StringUtils; @@ -55,7 +54,6 @@ public class PostponeClientTask { private ClientModifySupport clientModifySupport; @Scheduled(cron = "0 30 8 * * ?") - @Transactional public void postponeClient() { synchronizedScheduler.executeProcess("manage_task:postPoneClient", 120_000, () -> { Date now = new Date();