|
@ -1,14 +1,17 @@
|
|
package com.yihu.wlyy.entity.job;
|
|
package com.yihu.wlyy.entity.job;
|
|
|
|
|
|
|
|
import javax.persistence.Column;
|
|
|
|
import javax.persistence.Entity;
|
|
|
|
import javax.persistence.GeneratedValue;
|
|
|
|
import javax.persistence.Id;
|
|
|
|
import javax.persistence.Table;
|
|
import org.hibernate.annotations.GenericGenerator;
|
|
import org.hibernate.annotations.GenericGenerator;
|
|
|
|
|
|
import javax.persistence.*;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
* 计划任务
|
|
* 计划任务
|
|
*/
|
|
*/
|
|
@Entity
|
|
@Entity
|
|
@Table(name = "wlyy_job_config_cwd")
|
|
|
|
|
|
@Table(name = "wlyy_job_config")
|
|
public class QuartzJobConfig implements java.io.Serializable {
|
|
public class QuartzJobConfig implements java.io.Serializable {
|
|
|
|
|
|
private String id;
|
|
private String id;
|
|
@ -20,11 +23,6 @@ public class QuartzJobConfig implements java.io.Serializable {
|
|
private String quartzCron;//quartz表达式
|
|
private String quartzCron;//quartz表达式
|
|
private String status;//1 启动 0停止
|
|
private String status;//1 启动 0停止
|
|
private String del;//是否删除 1正常 0删除
|
|
private String del;//是否删除 1正常 0删除
|
|
private String sql;
|
|
|
|
private String sqlCount;
|
|
|
|
private String sqlDay;
|
|
|
|
private String sqlYear;
|
|
|
|
private String cacheKey;//缓存的key
|
|
|
|
|
|
|
|
/** minimal constructor */
|
|
/** minimal constructor */
|
|
public QuartzJobConfig() {
|
|
public QuartzJobConfig() {
|
|
@ -33,7 +31,7 @@ public class QuartzJobConfig implements java.io.Serializable {
|
|
|
|
|
|
/** full constructor */
|
|
/** full constructor */
|
|
public QuartzJobConfig(String jobName, String jobInfo, String jobType,
|
|
public QuartzJobConfig(String jobName, String jobInfo, String jobType,
|
|
String jobClass, String quartzCron, String status) {
|
|
|
|
|
|
String jobClass, String quartzCron, String status) {
|
|
this.jobName = jobName;
|
|
this.jobName = jobName;
|
|
this.jobInfo = jobInfo;
|
|
this.jobInfo = jobInfo;
|
|
this.jobType = jobType;
|
|
this.jobType = jobType;
|
|
@ -126,45 +124,4 @@ public class QuartzJobConfig implements java.io.Serializable {
|
|
public void setDel(String del) {
|
|
public void setDel(String del) {
|
|
this.del = del;
|
|
this.del = del;
|
|
}
|
|
}
|
|
|
|
|
|
public String getSql() {
|
|
|
|
return sql;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setSql(String sql) {
|
|
|
|
this.sql = sql;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getSqlCount() {
|
|
|
|
return sqlCount;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setSqlCount(String sqlCount) {
|
|
|
|
this.sqlCount = sqlCount;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getSqlDay() {
|
|
|
|
return sqlDay;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setSqlDay(String sqlDay) {
|
|
|
|
this.sqlDay = sqlDay;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getSqlYear() {
|
|
|
|
return sqlYear;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setSqlYear(String sqlYear) {
|
|
|
|
this.sqlYear = sqlYear;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getCacheKey() {
|
|
|
|
return cacheKey;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setCacheKey(String cacheKey) {
|
|
|
|
this.cacheKey = cacheKey;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|