定时任务修改
parent
6ef7931692
commit
ea621d14f8
@ -0,0 +1,46 @@
|
||||
package cn.estsh.i3plus.pojo.platform.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description : 任务
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2018-12-26 20:00
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="SYS_TASK")
|
||||
@Api(value="任务",description = "任务")
|
||||
public class SysTask extends BaseBean {
|
||||
|
||||
@Column(name="NAME")
|
||||
@ApiParam(value ="名称")
|
||||
private String name;
|
||||
|
||||
@Column(name="TASK_PACKAGE")
|
||||
@ApiParam(value ="任务包名")
|
||||
private String taskPackage;
|
||||
|
||||
@Column(name="TASK_CLASS")
|
||||
@ApiParam(value ="任务类名")
|
||||
private String taskClass;
|
||||
|
||||
@Column(name="TASK_DESCRIPTION")
|
||||
@ApiParam(value ="任务描述" , access ="任务描述")
|
||||
private String taskDescription;
|
||||
}
|
@ -1,14 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.platform.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.platform.bean.SysTaskTimeExpression;
|
||||
import cn.estsh.i3plus.pojo.platform.bean.SysTaskCycle;
|
||||
|
||||
/**
|
||||
* @Description : 定时任务时间表达式
|
||||
* @Description : 任务周期
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @Date : 2018-10-22 12:03:01.252
|
||||
* @Modify :
|
||||
**/
|
||||
public interface SysTaskTimeExpressionRepository extends BaseRepository<SysTaskTimeExpression, Long> {
|
||||
public interface SysTaskCycleRepository extends BaseRepository<SysTaskCycle, Long> {
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.platform.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.platform.bean.SysTaskPlan;
|
||||
|
||||
/**
|
||||
* @Description : 任务计划
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2018-12-26 21:13
|
||||
* @Modify:
|
||||
**/
|
||||
public interface SysTaskPlanRepository extends BaseRepository<SysTaskPlan, Long> {
|
||||
}
|
@ -1,14 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.platform.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.platform.bean.SysTaskTime;
|
||||
import cn.estsh.i3plus.pojo.platform.bean.SysTask;
|
||||
|
||||
/**
|
||||
* @Description : 定时任务
|
||||
* @Description : 任务
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @Date : 2018-10-22 12:03:01.372
|
||||
* @Modify :
|
||||
**/
|
||||
public interface SysTaskTimeRepository extends BaseRepository<SysTaskTime, Long> {
|
||||
public interface SysTaskRepository extends BaseRepository<SysTask, Long> {
|
||||
}
|
Loading…
Reference in New Issue