修改id自增问题 显示问题 分页问题
This commit is contained in:
@@ -3,6 +3,9 @@ package com.ruoyi.quartz.domain;
|
||||
import java.util.Date;
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.Size;
|
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
@@ -15,7 +18,7 @@ import com.ruoyi.quartz.util.CronUtils;
|
||||
|
||||
/**
|
||||
* 定时任务调度表 sys_job
|
||||
*
|
||||
*
|
||||
* @author ruoyi
|
||||
*/
|
||||
public class SysJob extends BaseEntity
|
||||
@@ -24,6 +27,7 @@ public class SysJob extends BaseEntity
|
||||
|
||||
/** 任务ID */
|
||||
@Excel(name = "任务序号", cellType = ColumnType.NUMERIC)
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long jobId;
|
||||
|
||||
/** 任务名称 */
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
package com.ruoyi.quartz.domain;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
@@ -8,7 +11,7 @@ import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 定时任务调度日志表 sys_job_log
|
||||
*
|
||||
*
|
||||
* @author ruoyi
|
||||
*/
|
||||
public class SysJobLog extends BaseEntity
|
||||
@@ -17,6 +20,7 @@ public class SysJobLog extends BaseEntity
|
||||
|
||||
/** ID */
|
||||
@Excel(name = "日志序号")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long jobLogId;
|
||||
|
||||
/** 任务名称 */
|
||||
@@ -128,7 +132,7 @@ public class SysJobLog extends BaseEntity
|
||||
{
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
|
||||
public Date getStopTime()
|
||||
{
|
||||
return stopTime;
|
||||
|
||||
Reference in New Issue
Block a user