jinpengyong
2023-12-12 0e65824734f68f4c18370204a8c574b4514939b6
screen-api/src/main/java/com/moral/api/pojo/vo/allocation/AllocationVo.java
@@ -11,6 +11,7 @@
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.util.ObjectUtils;
import java.io.Serializable;
import java.util.Date;
@@ -136,8 +137,18 @@
    @ApiModelProperty(value = "流程状态")
    private List<ApproveTableListVo> approveList;
    @ApiModelProperty(value = "重点任务类型")
    private Integer keyPoint;
    @TableField(exist = false)
    private String time;
    @TableField(exist = false)
    private String unitName;
    @TableField(exist = false)
    private String escalationUnitName;
    @TableField(exist = false)
    private String polluteTypeName;
    public static AllocationVo convert(AllocationExt allocationExt) {
@@ -145,4 +156,8 @@
        return allocationVo;
    }
    public Integer getkeyPoint() {
        return ObjectUtils.isEmpty(keyPoint)?0:keyPoint;
    }
}