|
|
@@ -3,6 +3,7 @@ package cn.start.tz.module.pressure2.controller.admin.planscheduling.vo;
|
|
|
import cn.start.tz.framework.excel.core.annotations.DictFormat;
|
|
|
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
+import com.alibaba.excel.annotation.write.style.ColumnWidth;
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
import lombok.Data;
|
|
|
@@ -84,18 +85,22 @@ public class EquipPipePageRespVO {
|
|
|
|
|
|
@Schema(description = "使用单位", requiredMode = Schema.RequiredMode.REQUIRED, example = "广丰陶瓷厂")
|
|
|
@ExcelProperty("使用单位")
|
|
|
+ @ColumnWidth(20)
|
|
|
private String unitName;
|
|
|
|
|
|
@Schema(description = "区域", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
@ExcelProperty("区域")
|
|
|
+ @ColumnWidth(10)
|
|
|
private String equipDistrictName;
|
|
|
|
|
|
@Schema(description = "联系人")
|
|
|
@ExcelProperty("联系人")
|
|
|
+ @ColumnWidth(15)
|
|
|
private String contact;
|
|
|
|
|
|
@Schema(description = "联系人电话")
|
|
|
@ExcelProperty("联系人电话")
|
|
|
+ @ColumnWidth(15)
|
|
|
private String contactPhone;
|
|
|
|
|
|
@Schema(description = "检验性质(100=定检,200=年检,300=超年限)", example = "2")
|
|
|
@@ -103,6 +108,7 @@ public class EquipPipePageRespVO {
|
|
|
|
|
|
@Schema(description = "检验性质中文")
|
|
|
@ExcelProperty("检验性质")
|
|
|
+ @ColumnWidth(15)
|
|
|
private String checkTypeStr;
|
|
|
|
|
|
@Schema(description = "是否存在待处理的约检确认单")
|
|
|
@@ -114,15 +120,18 @@ public class EquipPipePageRespVO {
|
|
|
|
|
|
@Schema(description = "检验日期")
|
|
|
@ExcelProperty("检验日期")
|
|
|
+ @ColumnWidth(15)
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
private LocalDate nextCheckDate;
|
|
|
|
|
|
@Schema(description = "部门名称")
|
|
|
@ExcelProperty("部门名称")
|
|
|
+ @ColumnWidth(15)
|
|
|
private String deptName;
|
|
|
|
|
|
@Schema(description = "工程号", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
@ExcelProperty("工程号")
|
|
|
+ @ColumnWidth(15)
|
|
|
private String equipCode;
|
|
|
|
|
|
@Schema(description = "产品编号")
|
|
|
@@ -130,10 +139,12 @@ public class EquipPipePageRespVO {
|
|
|
|
|
|
@Schema(description = "使用证编号")
|
|
|
@ExcelProperty("使用证编号")
|
|
|
+ @ColumnWidth(15)
|
|
|
private String useRegisterNo;
|
|
|
|
|
|
@Schema(description = "工程名称")
|
|
|
@ExcelProperty("工程名称")
|
|
|
+ @ColumnWidth(15)
|
|
|
private String equipName;
|
|
|
|
|
|
@Schema(description = "容积")
|