|
|
@@ -17,23 +17,23 @@ import java.time.LocalDateTime;
|
|
|
* @date 2024/2/26 14:37
|
|
|
*/
|
|
|
@Data
|
|
|
-@ColumnWidth(15) //列宽,最大值为255
|
|
|
-@HeadRowHeight(16) //表头行高
|
|
|
-@ContentRowHeight(16) //数据行高
|
|
|
+@ColumnWidth(30) //列宽,最大值为255
|
|
|
+@HeadRowHeight(20) //表头行高
|
|
|
+@ContentRowHeight(20) //数据行高
|
|
|
public class SensorExportVo {
|
|
|
|
|
|
- @ColumnWidth(10)
|
|
|
- @ExcelProperty(value = "序号", index = 0)
|
|
|
+ @ColumnWidth(30)
|
|
|
+ @ExcelProperty(value = "设备名称", index = 0)
|
|
|
@ApiModelProperty("设备名称")
|
|
|
private String deviceName;
|
|
|
|
|
|
- @ColumnWidth(10)
|
|
|
- @ExcelProperty(value = "序号", index = 1)
|
|
|
+ @ColumnWidth(30)
|
|
|
+ @ExcelProperty(value = "设备类型", index = 1)
|
|
|
@ApiModelProperty("设备类型")
|
|
|
private String deviceType;
|
|
|
|
|
|
- @ColumnWidth(10)
|
|
|
- @ExcelProperty(value = "序号", index = 2)
|
|
|
+ @ColumnWidth(30)
|
|
|
+ @ExcelProperty(value = "所属机构", index = 2)
|
|
|
@ApiModelProperty("所属机构")
|
|
|
private String orgName;
|
|
|
|
|
|
@@ -41,19 +41,19 @@ public class SensorExportVo {
|
|
|
@ApiModelProperty(value = "告警状态,0:正常,1:告警")
|
|
|
private Integer state;
|
|
|
|
|
|
- @ColumnWidth(10)
|
|
|
- @ExcelProperty(value = "序号", index = 3)
|
|
|
+ @ColumnWidth(30)
|
|
|
+ @ExcelProperty(value = "告警状态", index = 3)
|
|
|
@ApiModelProperty(value = "告警状态")
|
|
|
private String stateText;
|
|
|
|
|
|
- @ColumnWidth(10)
|
|
|
- @ExcelProperty(value = "序号", index = 4)
|
|
|
+ @ColumnWidth(30)
|
|
|
+ @ExcelProperty(value = "上报时间", index = 4)
|
|
|
@JsonFormat(pattern = Constants.HMS_FORMAT)
|
|
|
@ApiModelProperty("上报时间")
|
|
|
private String updateTime;
|
|
|
|
|
|
- @ColumnWidth(10)
|
|
|
- @ExcelProperty(value = "序号", index = 5)
|
|
|
+ @ColumnWidth(30)
|
|
|
+ @ExcelProperty(value = "上报内容", index = 5)
|
|
|
@ApiModelProperty("上报内容")
|
|
|
private String info;
|
|
|
|