puzhibing
2022-08-22 1421f8e9c308c4741cb396309035009393b5b036
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package com.stylefeng.guns.modular.system.job;
 
import com.stylefeng.guns.core.log.LogManager;
import com.stylefeng.guns.core.log.factory.LogTaskFactory;
import com.stylefeng.guns.modular.system.service.IDriverActivityEachReturnService;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;
 
/**
 * 司机单单返结算job
 * @author yxh
 * @date 2021年04月29日 16:14
 */
public class TdriverActivityEachReturnJob implements Job {
    @Autowired
    private IDriverActivityEachReturnService driverActivityEachReturnService;
 
    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        System.out.println("结算单单返活动开始");
        driverActivityEachReturnService.settlement();
        System.out.println("结算单单返活动结束");
        LogManager.me().executeLog(LogTaskFactory.bussinessLog(null,"单单返日志","TdriverActivityEachReturnJob","execute","结算单单返活动日志"));
    }
}