Commit b982d875732fdb3740984f969ec9eac2df4f0343
1 parent
eb48817f
支付通知未添加@TenantJob注解,导致定时任务报错
Showing
1 changed file
with
2 additions
and
0 deletions
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/job/notify/PayNotifyJob.java
| 1 | 1 | package cn.iocoder.yudao.module.pay.job.notify; |
| 2 | 2 | |
| 3 | 3 | import cn.iocoder.yudao.framework.quartz.core.handler.JobHandler; |
| 4 | +import cn.iocoder.yudao.framework.tenant.core.job.TenantJob; | |
| 4 | 5 | import cn.iocoder.yudao.module.pay.service.notify.PayNotifyService; |
| 5 | 6 | import lombok.extern.slf4j.Slf4j; |
| 6 | 7 | import org.springframework.stereotype.Component; |
| ... | ... | @@ -15,6 +16,7 @@ import javax.annotation.Resource; |
| 15 | 16 | */ |
| 16 | 17 | @Component |
| 17 | 18 | @Slf4j |
| 19 | +@TenantJob | |
| 18 | 20 | public class PayNotifyJob implements JobHandler { |
| 19 | 21 | |
| 20 | 22 | @Resource | ... | ... |