添加文件服务
This commit is contained in:
@@ -2,7 +2,6 @@ package com.tashow.cloud.pay.job.notify;
|
||||
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import com.tashow.cloud.pay.service.notify.PayNotifyService;
|
||||
import com.tashow.cloud.tenant.core.job.TenantJob;
|
||||
import jakarta.annotation.Resource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Component;
|
||||
@@ -21,7 +20,6 @@ public class PayNotifyJob {
|
||||
private PayNotifyService payNotifyService;
|
||||
|
||||
// @XxlJob("payNotifyJob")
|
||||
@TenantJob // 多租户
|
||||
public String execute() throws Exception {
|
||||
int notifyCount = payNotifyService.executeNotify();
|
||||
log.info("[execute][执行支付通知 ({}) 个]", notifyCount);
|
||||
|
||||
@@ -2,7 +2,6 @@ package com.tashow.cloud.pay.job.order;
|
||||
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import com.tashow.cloud.pay.service.order.PayOrderService;
|
||||
import com.tashow.cloud.tenant.core.job.TenantJob;
|
||||
import jakarta.annotation.Resource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Component;
|
||||
@@ -22,7 +21,6 @@ public class PayOrderExpireJob {
|
||||
private PayOrderService orderService;
|
||||
|
||||
// @XxlJob("payOrderExpireJob")
|
||||
@TenantJob // 多租户
|
||||
public String execute(String param) {
|
||||
int count = orderService.expireOrder();
|
||||
log.info("[execute][支付过期 ({}) 个]", count);
|
||||
|
||||
@@ -2,7 +2,6 @@ package com.tashow.cloud.pay.job.order;
|
||||
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import com.tashow.cloud.pay.service.order.PayOrderService;
|
||||
import com.tashow.cloud.tenant.core.job.TenantJob;
|
||||
import jakarta.annotation.Resource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Component;
|
||||
@@ -34,7 +33,6 @@ public class PayOrderSyncJob {
|
||||
private PayOrderService orderService;
|
||||
|
||||
// @XxlJob("payOrderSyncJob")
|
||||
@TenantJob // 多租户
|
||||
public String execute() {
|
||||
LocalDateTime minCreateTime = LocalDateTime.now().minus(CREATE_TIME_DURATION_BEFORE);
|
||||
int count = orderService.syncOrder(minCreateTime);
|
||||
|
||||
@@ -2,7 +2,6 @@ package com.tashow.cloud.pay.job.refund;
|
||||
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import com.tashow.cloud.pay.service.refund.PayRefundService;
|
||||
import com.tashow.cloud.tenant.core.job.TenantJob;
|
||||
import jakarta.annotation.Resource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Component;
|
||||
@@ -22,7 +21,6 @@ public class PayRefundSyncJob {
|
||||
private PayRefundService refundService;
|
||||
|
||||
// @XxlJob("payRefundSyncJob")
|
||||
@TenantJob // 多租户
|
||||
public String execute() {
|
||||
int count = refundService.syncRefund();
|
||||
log.info("[execute][同步退款订单 ({}) 个]", count);
|
||||
|
||||
@@ -2,7 +2,6 @@ package com.tashow.cloud.pay.job.transfer;
|
||||
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import com.tashow.cloud.pay.service.transfer.PayTransferService;
|
||||
import com.tashow.cloud.tenant.core.job.TenantJob;
|
||||
import jakarta.annotation.Resource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Component;
|
||||
@@ -22,7 +21,6 @@ public class PayTransferSyncJob {
|
||||
private PayTransferService transferService;
|
||||
|
||||
// @XxlJob("payTransferSyncJob")
|
||||
@TenantJob // 多租户
|
||||
public String execute(String param) {
|
||||
int count = transferService.syncTransfer();
|
||||
log.info("[execute][同步转账订单 ({}) 个]", count);
|
||||
|
||||
Reference in New Issue
Block a user