|
|
|
@ -31,7 +31,7 @@ import java.io.Serializable;
|
|
|
|
|
* @website https://el-admin.vip
|
|
|
|
|
* @description /
|
|
|
|
|
* @author x
|
|
|
|
|
* @date 2020-09-08
|
|
|
|
|
* @date 2020-09-09
|
|
|
|
|
**/
|
|
|
|
|
@Entity
|
|
|
|
|
@Data
|
|
|
|
@ -58,18 +58,15 @@ public class TaskRecord implements Serializable {
|
|
|
|
|
@ApiModelProperty(value = "任务名称")
|
|
|
|
|
private String taskName;
|
|
|
|
|
|
|
|
|
|
@Column(name = "time_period",nullable = false)
|
|
|
|
|
@NotNull
|
|
|
|
|
@Column(name = "time_period")
|
|
|
|
|
@ApiModelProperty(value = "任务保存周期")
|
|
|
|
|
private Integer timePeriod;
|
|
|
|
|
|
|
|
|
|
@Column(name = "is_build",nullable = false)
|
|
|
|
|
@NotNull
|
|
|
|
|
@Column(name = "is_build")
|
|
|
|
|
@ApiModelProperty(value = "任务是否建立成功")
|
|
|
|
|
private Integer isBuild;
|
|
|
|
|
|
|
|
|
|
@Column(name = "is_send",nullable = false)
|
|
|
|
|
@NotNull
|
|
|
|
|
@Column(name = "is_send")
|
|
|
|
|
@ApiModelProperty(value = "发送状态记录")
|
|
|
|
|
private Integer isSend;
|
|
|
|
|
|
|
|
|
@ -77,11 +74,6 @@ public class TaskRecord implements Serializable {
|
|
|
|
|
@ApiModelProperty(value = "操作人")
|
|
|
|
|
private String oprationName;
|
|
|
|
|
|
|
|
|
|
@Column(name = "desc",nullable = false)
|
|
|
|
|
@NotBlank
|
|
|
|
|
@ApiModelProperty(value = "自定义内容补充")
|
|
|
|
|
private String desc;
|
|
|
|
|
|
|
|
|
|
@Column(name = "local_file_path")
|
|
|
|
|
@ApiModelProperty(value = "本地生成待发送文件路径")
|
|
|
|
|
private String localFilePath;
|
|
|
|
@ -90,6 +82,18 @@ public class TaskRecord implements Serializable {
|
|
|
|
|
@ApiModelProperty(value = "查询参数暂存")
|
|
|
|
|
private String params;
|
|
|
|
|
|
|
|
|
|
@Column(name = "total")
|
|
|
|
|
@ApiModelProperty(value = "该任务生成总记录数")
|
|
|
|
|
private Long total;
|
|
|
|
|
|
|
|
|
|
@Column(name = "send_total")
|
|
|
|
|
@ApiModelProperty(value = "上次发送总记录数")
|
|
|
|
|
private Long sendTotal;
|
|
|
|
|
|
|
|
|
|
@Column(name = "description")
|
|
|
|
|
@ApiModelProperty(value = "自定义内容补充")
|
|
|
|
|
private String description;
|
|
|
|
|
|
|
|
|
|
public void copy(TaskRecord source){
|
|
|
|
|
BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
|
|
|
|
|
}
|
|
|
|
|