xiangpei
2024-04-23 254f62e83f0a906b2d5724ae71bc97fe93ee812c
ycl-pojo/src/main/java/com/ycl/platform/domain/vo/ReportVO.java
@@ -1,5 +1,6 @@
package com.ycl.platform.domain.vo;
import annotation.Excel;
import com.ycl.platform.base.AbsVo;
import com.ycl.platform.domain.entity.Report;
@@ -25,30 +26,38 @@
    /** 运维单位ID */
    private Integer unitId;
    @Excel(name = "运维单位")
    private String unitName;
    /** 运维人员ID */
    private Integer peopleId;
    @Excel(name = "报备人员")
    private String peopleName;
    /** 点位ID */
    private Integer pointId;
    @Excel(name = "点位")
    private String pointName;
    /** 报备类型 */
    @Excel(name = "报备类型")
    private String reportType;
    /** 审核时间 */
    private LocalDateTime auditingTime;
    /** 报备内容 */
    @Excel(name = "报备内容")
    private String reportContent;
    /** 上报材料 */
    @Excel(name = "上报材料")
    private String reportMaterials;
    /** 故障类型 */
    @Excel(name = "故障类型")
    private String errorType;
    /** 审核时间 */
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date auditingTime;
    /**
     * 生效时间
@@ -60,6 +69,11 @@
     */
    private Date endCreateTime;
    /**
     * 装填
     */
    private Integer status;
    public static ReportVO getVoByEntity(@NonNull Report entity, ReportVO vo) {
        if(vo == null) {
            vo = new ReportVO();