DEV 切换数据库

This commit is contained in:
2025-12-02 10:21:07 +08:00
parent e085275aee
commit fe3fbbe135
3 changed files with 5 additions and 5 deletions

View File

@@ -202,7 +202,7 @@ public class MyTaskScheduler {
}
}
@Scheduled(cron = "0 0 9 * * ?")
// @Scheduled(cron = "0 0 9 * * ?")
public void sendTrialOrderExcelToManagements() {
// 获取前一天日期
LocalDate yesterday = LocalDate.now().minusDays(1);

View File

@@ -45,7 +45,7 @@ public class PaymentTask {
@Resource
private PayPalCheckoutService payPalCheckoutService;
@Scheduled(cron = "0/30 * * * * ?")
// @Scheduled(cron = "0/30 * * * * ?")
public void orderConfirmForPaypal() throws SerializeException {
// log.info("PayPal orderConfirm 被执行......");
@@ -122,7 +122,7 @@ public class PaymentTask {
@Scheduled(cron = "0 */5 * * * *") // Run every 5 minutes
public void calcCouponsCommission(){
log.info("优惠券佣金计算定时器");
// log.info("优惠券佣金计算定时器");
affiliateService.calcCouponsCommission();
}