gongchunyi
4 天以前 b7080587bc00e5451aa8435f093f0d8cc6f80320
src/main/java/com/ruoyi/inspectiontask/pojo/TimingTask.java
@@ -11,6 +11,7 @@
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;
/**
 * @author :yys
@@ -33,12 +34,17 @@
    @Excel(name = "巡检任务名称")
    private String taskName;
    @Schema(description = "巡检项目")
    @Excel(name = "巡检项目")
    private String inspectionProject;
    @Schema(description = "设备id")
    private Integer taskId;
    @TableField(exist = false)
    private List<Long> inspectionItemIds;
    @TableField(exist = false)
    private List<TimingTaskItem> inspectionItems;
    @TableField(exist = false)
    private List<TimingTaskItem> customItems;
    @Schema(description = "巡检人")
    @Excel(name = "执行巡检人")
@@ -93,17 +99,17 @@
    private String dateStr;
    @Schema(description = "创建该记录的用户")
    @TableField(fill = com.baomidou.mybatisplus.annotation.FieldFill.INSERT)
    @TableField(fill = FieldFill.INSERT)
    private Integer createUser;
    @Schema(description = "记录创建时间")
    @TableField(fill = com.baomidou.mybatisplus.annotation.FieldFill.INSERT)
    @TableField(fill = FieldFill.INSERT)
//    @JsonFormat(pattern = "yyyy-MM-dd")
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime createTime;
    @Schema(description = "最后修改该记录的用户")
    @TableField(fill = com.baomidou.mybatisplus.annotation.FieldFill.INSERT_UPDATE)
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateUser;
    @Schema(description = "记录最后更新时间")
@@ -111,7 +117,7 @@
    private LocalDateTime updateTime;
    @Schema(description = "租户ID")
    @TableField(fill = com.baomidou.mybatisplus.annotation.FieldFill.INSERT)
    @TableField(fill = FieldFill.INSERT)
    private Long tenantId;