|
@ -0,0 +1,28 @@
|
|
|
package com.yihu.wlyy.job;
|
|
|
|
|
|
import org.quartz.Job;
|
|
|
import org.quartz.JobExecutionContext;
|
|
|
import org.quartz.JobExecutionException;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.jdbc.core.JdbcTemplate;
|
|
|
|
|
|
/**
|
|
|
* Created by lyr-pc on 2017/3/9.
|
|
|
*/
|
|
|
public class RenewToSignJob implements Job {
|
|
|
@Autowired
|
|
|
JdbcTemplate jdbcTemplate;
|
|
|
|
|
|
@Override
|
|
|
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
|
|
|
try {
|
|
|
System.out.println("RenewToSign start");
|
|
|
|
|
|
System.out.println("RenewToSign end");
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
System.out.println("RenewToSign failed");
|
|
|
}
|
|
|
}
|
|
|
|
|
|
}
|