tyty
1 year ago
22 changed files with 916 additions and 32 deletions
@ -0,0 +1,98 @@
|
||||
package com.hnac.hzims.operational.defect.vo; |
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty; |
||||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* 模型VO |
||||
* |
||||
* @author Chill |
||||
*/ |
||||
@Data |
||||
public class OperDefectStatisticsExportVO { |
||||
|
||||
private static final long serialVersionUID = 8239436726489738763L; |
||||
@ExcelProperty(value = "序号", index = 0) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "序号") |
||||
private Integer number; |
||||
|
||||
@ExcelProperty(value = "单位", index = 1) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "机构名称") |
||||
private String deptName; |
||||
|
||||
@ExcelProperty(value = "缺陷编码", index = 2) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "缺陷编码") |
||||
private String defectCode; |
||||
|
||||
|
||||
@ExcelProperty(value = "记录人", index = 3) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "缺陷发现人") |
||||
private String finderName; |
||||
|
||||
|
||||
@ApiModelProperty("记录时间") |
||||
@ExcelProperty(value = "记录时间", index = 4) |
||||
@ColumnWidth(value = 20) |
||||
@DateTimeFormat( |
||||
pattern = "yyyy-MM-dd HH:mm:ss" |
||||
) |
||||
@JsonFormat( |
||||
pattern = "yyyy-MM-dd HH:mm:ss" |
||||
) |
||||
private Date findTime; |
||||
|
||||
|
||||
@ExcelProperty(value = "缺陷描述", index = 5) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "现象描述") |
||||
private String descripiton; |
||||
|
||||
|
||||
@ExcelProperty(value = "缺陷等级", index = 6) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "缺陷等级, 字段key: defectLevel") |
||||
private String defectLevel; |
||||
|
||||
@ExcelProperty(value = "处理时间", index = 7) |
||||
@ColumnWidth(value = 20) |
||||
@DateTimeFormat( |
||||
pattern = "yyyy-MM-dd HH:mm:ss" |
||||
) |
||||
@JsonFormat( |
||||
pattern = "yyyy-MM-dd HH:mm:ss" |
||||
) |
||||
@ApiModelProperty(value = "处理时间") |
||||
private Date actStartTime; |
||||
|
||||
@ExcelProperty(value = "处理人", index = 8) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "消缺处理人") |
||||
private String planHandler; |
||||
|
||||
|
||||
// @ExcelIgnore
|
||||
// @ApiModelProperty(value = "消缺处理人")
|
||||
// private String planHandlerId;
|
||||
|
||||
@ExcelProperty(value = "处理结果", index = 9) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "处理描述") |
||||
private String disposeDesc; |
||||
|
||||
|
||||
@ExcelProperty(value = "关联工作票编码", index = 10) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "操作票") |
||||
private String ticketId; |
||||
|
||||
} |
@ -0,0 +1,68 @@
|
||||
package com.hnac.hzims.operational.maintenance.vo; |
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty; |
||||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
||||
/** |
||||
* @author hx |
||||
*/ |
||||
@Data |
||||
public class MaintenanceExportVO { |
||||
|
||||
@ExcelProperty(value = "序号", index = 0) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "序号") |
||||
private Integer number; |
||||
|
||||
@ExcelProperty(value = "单位", index = 1) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "单位") |
||||
private String company; |
||||
|
||||
|
||||
@ExcelProperty(value = "维护类型", index = 2) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "维护类型") |
||||
private String typeCode; |
||||
|
||||
|
||||
@ExcelProperty(value = "维护设备", index = 3) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "维护设备") |
||||
private String refLibraryId; |
||||
|
||||
@ApiModelProperty("维护内容") |
||||
@ExcelProperty(value = "维护内容", index = 4) |
||||
@ColumnWidth(value = 20) |
||||
private String title; |
||||
|
||||
@ExcelProperty(value = "计划执行时间", index = 5) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty("计划执行时间") |
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
private String planEndTime; |
||||
|
||||
@ExcelProperty(value = "实际执行时间", index = 6) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty("实际执行时间") |
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
private String executeTime; |
||||
|
||||
|
||||
@ExcelProperty(value = "执行人", index = 7) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "执行人") |
||||
private String disposer; |
||||
|
||||
|
||||
@ExcelProperty(value = "执行情况", index = 8) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "执行情况") |
||||
private String principal; |
||||
} |
@ -0,0 +1,79 @@
|
||||
package com.hnac.hzinfo.inspect.task.vo; |
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty; |
||||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
||||
/** |
||||
* @author hx |
||||
*/ |
||||
@Data |
||||
public class InspectTaskExportVO { |
||||
|
||||
@ExcelProperty(value = "序号", index = 0) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "序号") |
||||
private Integer number; |
||||
|
||||
@ExcelProperty(value = "单位", index = 1) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "单位") |
||||
private String company; |
||||
|
||||
|
||||
@ExcelProperty(value = "巡检名称", index = 2) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "巡检名称") |
||||
private String planName; |
||||
|
||||
|
||||
@ExcelProperty(value = "计划开始时间", index = 3) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty("计划开始时间") |
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
private String planStartTime; |
||||
|
||||
@ExcelProperty(value = "计划结束时间", index = 4) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty("计划结束时间") |
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
private String planEndTime; |
||||
@ExcelProperty(value = "实际开始时间", index = 5) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty("实际开始时间") |
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
private String startTime; |
||||
|
||||
@ExcelProperty(value = "实际结束时间", index = 6) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty("实际结束时间") |
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
private String endTime; |
||||
|
||||
@ApiModelProperty("巡检时长(分钟)") |
||||
@ExcelProperty(value = "巡检时长(分钟)", index = 7) |
||||
@ColumnWidth(value = 20) |
||||
private Long inspectTime; |
||||
|
||||
@ApiModelProperty("巡检人") |
||||
@ExcelProperty(value = "巡检人", index = 8) |
||||
@ColumnWidth(value = 20) |
||||
private String userName; |
||||
|
||||
@ApiModelProperty("巡检情况") |
||||
@ExcelProperty(value = "巡检情况", index = 9) |
||||
@ColumnWidth(value = 20) |
||||
private String content; |
||||
@ApiModelProperty("巡检状态") |
||||
@ExcelProperty(value = "巡检状态", index = 10) |
||||
@ColumnWidth(value = 20) |
||||
private String status; |
||||
|
||||
} |
@ -0,0 +1,86 @@
|
||||
package com.hnac.hzims.ticket.standardTicket.vo; |
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty; |
||||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
||||
/** |
||||
* @author hx |
||||
*/ |
||||
@Data |
||||
public class StandardTicketExportVO { |
||||
private static final long serialVersionUID = 8239436726489738763L; |
||||
@ExcelProperty(value = "序号", index = 0) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "序号") |
||||
private Integer number; |
||||
|
||||
@ExcelProperty(value = "单位", index = 1) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "单位") |
||||
private String company; |
||||
|
||||
|
||||
@ExcelProperty(value = "票类", index = 2) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "票据类型") |
||||
private String ticketType; |
||||
|
||||
|
||||
@ExcelProperty(value = "操作票编号", index = 3) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "操作票编号") |
||||
private String code; |
||||
|
||||
@ApiModelProperty("操作票任务") |
||||
@ExcelProperty(value = "操作票任务", index = 4) |
||||
@ColumnWidth(value = 20) |
||||
private String title; |
||||
|
||||
|
||||
@ExcelProperty(value = "发令人", index = 5) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "发令人") |
||||
private String issueOrderPerson; |
||||
|
||||
|
||||
@ExcelProperty(value = "受令人", index = 6) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "受令人") |
||||
private String accessOrderPerson; |
||||
|
||||
@ExcelProperty(value = "监护人", index = 7) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "监护人") |
||||
private String guardian; |
||||
|
||||
@ExcelProperty(value = "值班负责人", index = 8) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "值班负责人") |
||||
private String principal; |
||||
|
||||
|
||||
|
||||
@ExcelProperty(value = "操作开始时间", index = 9) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty("操作开始时间") |
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
private String startTime; |
||||
|
||||
@ExcelProperty(value = "操作结束时间", index = 10) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty("操作结束时间") |
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
private String endTime; |
||||
|
||||
|
||||
@ExcelProperty(value = "评价", index = 11) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty("是否评价") |
||||
private String isEvaluate; |
||||
} |
@ -0,0 +1,86 @@
|
||||
package com.hnac.hzims.ticket.workTicket.vo; |
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty; |
||||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
||||
/** |
||||
* @author hx |
||||
*/ |
||||
@Data |
||||
public class WorkTicketExportVO { |
||||
|
||||
@ExcelProperty(value = "序号", index = 0) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "序号") |
||||
private Integer number; |
||||
|
||||
@ExcelProperty(value = "单位", index = 1) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "单位") |
||||
private String company; |
||||
|
||||
|
||||
@ExcelProperty(value = "票类", index = 2) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "票据类型") |
||||
private String type; |
||||
|
||||
|
||||
@ExcelProperty(value = "工作票编号", index = 3) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "工作票编号") |
||||
private String code; |
||||
|
||||
@ApiModelProperty("工作票任务") |
||||
@ExcelProperty(value = "工作票任务", index = 4) |
||||
@ColumnWidth(value = 20) |
||||
private String workContent; |
||||
|
||||
|
||||
@ExcelProperty(value = "签发人", index = 5) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "签发人") |
||||
private String signer; |
||||
|
||||
|
||||
@ExcelProperty(value = "工作负责人", index = 6) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "工作负责人") |
||||
private String principal; |
||||
|
||||
@ExcelProperty(value = "工作许可人", index = 7) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "工作许可人") |
||||
private String licensor; |
||||
|
||||
@ExcelProperty(value = "工作班成员", index = 8) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty(value = "工作班成员") |
||||
private String classGroupMembers; |
||||
|
||||
|
||||
|
||||
@ExcelProperty(value = "工作票开始时间", index = 9) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty("工作票开始时间") |
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
private String createTime; |
||||
|
||||
@ExcelProperty(value = "工作票结束时间", index = 10) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty("工作票结束时间") |
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
private String confirmWorkTime; |
||||
|
||||
|
||||
@ExcelProperty(value = "评价", index = 11) |
||||
@ColumnWidth(value = 20) |
||||
@ApiModelProperty("是否评价") |
||||
private String isEvaluate; |
||||
} |
Loading…
Reference in new issue