支付通知未添加@TenantJob注解,导致定时任务报错
parent
eb48817f7b
commit
b982d87573
|
@ -1,6 +1,7 @@
|
|||
package cn.iocoder.yudao.module.pay.job.notify;
|
||||
|
||||
import cn.iocoder.yudao.framework.quartz.core.handler.JobHandler;
|
||||
import cn.iocoder.yudao.framework.tenant.core.job.TenantJob;
|
||||
import cn.iocoder.yudao.module.pay.service.notify.PayNotifyService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
@ -15,6 +16,7 @@ import javax.annotation.Resource;
|
|||
*/
|
||||
@Component
|
||||
@Slf4j
|
||||
@TenantJob
|
||||
public class PayNotifyJob implements JobHandler {
|
||||
|
||||
@Resource
|
||||
|
|
Loading…
Reference in New Issue