add CommitteeInfoSyncJob.java
This commit is contained in:
+25
@@ -0,0 +1,25 @@
|
|||||||
|
package com.jero.committee.job;
|
||||||
|
|
||||||
|
import com.jero.committee.service.PayCommitteeInfoService;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.quartz.Job;
|
||||||
|
import org.quartz.JobExecutionContext;
|
||||||
|
import org.quartz.JobExecutionException;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author liJiaRao
|
||||||
|
* @date 2024-06-07 14:26
|
||||||
|
*/
|
||||||
|
@Slf4j
|
||||||
|
public class CommitteeInfoSyncJob implements Job {
|
||||||
|
@Resource
|
||||||
|
private PayCommitteeInfoService payCommitteeInfoService;
|
||||||
|
@Override
|
||||||
|
public void execute(JobExecutionContext context) throws JobExecutionException {
|
||||||
|
log.info("------------同步委员会信息开始------------");
|
||||||
|
payCommitteeInfoService.sync();
|
||||||
|
log.info("------------同步委员会信息接受------------");
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user