|
|
@@ -1,5 +1,6 @@
|
|
|
package com.xunmei.core.safetyCheck.vo;
|
|
|
|
|
|
+import com.alibaba.excel.annotation.ExcelIgnore;
|
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
import com.alibaba.excel.annotation.write.style.ColumnWidth;
|
|
|
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
|
|
|
@@ -20,37 +21,54 @@ public class CoreSafetyTaskExport {
|
|
|
@TableField(exist = false)
|
|
|
@ExcelProperty(value = "序号", index = 0)
|
|
|
private Integer index;
|
|
|
+
|
|
|
@ApiModelProperty(value = "任务名称")
|
|
|
@ExcelProperty(value = "任务名称", index = 1)
|
|
|
+ @ColumnWidth(30)
|
|
|
private String title;
|
|
|
+
|
|
|
@ApiModelProperty(value = "检查主体")
|
|
|
@ExcelProperty(value = "检查主体", index = 2)
|
|
|
+ @ColumnWidth(25)
|
|
|
private String checkOrgName;
|
|
|
- @ApiModelProperty(value = "受检机构")
|
|
|
- @ExcelProperty(value = "受检机构", index = 3)
|
|
|
- private String orgName;
|
|
|
+
|
|
|
@ApiModelProperty(value = "检查人员")
|
|
|
- @ExcelProperty(value = "检查人员", index = 4)
|
|
|
+ @ExcelProperty(value = "检查人员", index = 3)
|
|
|
private String submitName;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "0待检查,1检查完成")
|
|
|
+ @ExcelProperty(value = "任务进度", index = 4,converter = SafeStatusConverter.class)
|
|
|
+ private String status;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "受检机构")
|
|
|
+ @ExcelProperty(value = "受检机构", index = 5)
|
|
|
+ @ColumnWidth(25)
|
|
|
+ private String orgName;
|
|
|
+
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
@ApiModelProperty(value = "开始日期")
|
|
|
- @ExcelProperty(value = "开始日期", index = 5)
|
|
|
+ @ExcelProperty(value = "开始日期", index = 6)
|
|
|
+ @ColumnWidth(20)
|
|
|
private Date planStartTime;
|
|
|
+
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
@ApiModelProperty(value = "截止日期")
|
|
|
- @ExcelProperty(value = "截止日期", index = 6)
|
|
|
+ @ExcelProperty(value = "截止日期", index = 7)
|
|
|
+ @ColumnWidth(20)
|
|
|
private Date planEndTime;
|
|
|
+
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
@ApiModelProperty(value = "创建时间")
|
|
|
- @ExcelProperty(value = "创建时间", index = 7)
|
|
|
+// @ExcelProperty(value = "创建时间", index = 7)
|
|
|
+ @ExcelIgnore
|
|
|
private Date createTime;
|
|
|
+
|
|
|
@ApiModelProperty(value = "检查组成员")
|
|
|
- @ExcelProperty(value = "检查组成员", index = 8)
|
|
|
+// @ExcelProperty(value = "检查组成员", index = 8)
|
|
|
+ @ExcelIgnore
|
|
|
private String checkTeam;
|
|
|
- @ApiModelProperty(value = "0待检查,1检查完成")
|
|
|
- @ExcelProperty(value = "检查状态", index = 9,converter = SafeStatusConverter.class)
|
|
|
- private String status;
|
|
|
+
|
|
|
@ApiModelProperty(value = "异常数目")
|
|
|
- @ExcelProperty(value = "异常数目", index = 10)
|
|
|
+ @ExcelProperty(value = "隐患问题数", index = 8)
|
|
|
private String exceptionCount;
|
|
|
}
|