|
@@ -2,6 +2,7 @@ package com.zcxk.rmcp.api.vo;
|
|
|
|
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
+import com.zcxk.rmcp.api.pojo.LocalDateTimeConverter;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.Data;
|
|
|
|
|
@@ -20,11 +21,11 @@ public class MeterReplaceVo {
|
|
|
@ApiModelProperty(value="Id")
|
|
|
private Long id;
|
|
|
|
|
|
- @ApiModelProperty(value = "新设备编号", position = 106)
|
|
|
+ @ApiModelProperty(value = "新设备编号")
|
|
|
@ExcelProperty(value = {"新设备编号"}, index = 1)
|
|
|
private String newDeviceNo;
|
|
|
|
|
|
- @ApiModelProperty(value = "旧设备编号", position = 109)
|
|
|
+ @ApiModelProperty(value = "旧设备编号")
|
|
|
@ExcelProperty(value = {"旧设备编号"}, index = 2)
|
|
|
private String oldDeviceNo;
|
|
|
|
|
@@ -37,13 +38,23 @@ public class MeterReplaceVo {
|
|
|
private String oldMeterNo;
|
|
|
|
|
|
@ApiModelProperty(value="新产品类型/新设备型号")
|
|
|
- @ExcelProperty(value = {"新产品类型/新设备型号"}, index = 5)
|
|
|
private String newProductId;
|
|
|
|
|
|
@ApiModelProperty(value="旧产品类型/旧设备型号")
|
|
|
- @ExcelProperty(value = {"旧产品类型/旧设备型号"}, index = 6)
|
|
|
private String oldProductId;
|
|
|
|
|
|
+ @ApiModelProperty(value="新产品类型/新设备型号")
|
|
|
+ @ExcelProperty(value = {"新设备型号"}, index = 5)
|
|
|
+ private String newDeviceModel;
|
|
|
+
|
|
|
+ @ApiModelProperty(value="旧产品类型/旧设备型号")
|
|
|
+ @ExcelProperty(value = {"旧设备型号"}, index = 6)
|
|
|
+ private String oldDeviceModel;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "水表档案号")
|
|
|
+ @ExcelProperty(value = {"水表档案号"}, index = 7)
|
|
|
+ private String fileNo;
|
|
|
+
|
|
|
@ApiModelProperty(value="新表起度")
|
|
|
@ExcelProperty(value = {"新表起度"}, index = 9)
|
|
|
private String newBeginDegree;
|
|
@@ -52,10 +63,6 @@ public class MeterReplaceVo {
|
|
|
@ExcelProperty(value = {"旧表止度"}, index = 8)
|
|
|
private String oldEndDegree;
|
|
|
|
|
|
- @ApiModelProperty(value = "水表档案号", position = 101)
|
|
|
- @ExcelProperty(value = {"水表档案号"}, index = 7)
|
|
|
- private String fileNo;
|
|
|
-
|
|
|
@ApiModelProperty(value="更换方案,1 更换模块,2:更换整表")
|
|
|
@ExcelProperty(value = {"更换方案"}, index = 10)
|
|
|
private String replaceMethod;
|
|
@@ -70,7 +77,7 @@ public class MeterReplaceVo {
|
|
|
|
|
|
@ApiModelProperty(value="创建时间")
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
|
|
- @ExcelProperty(value = {"更换时间"}, index = 0)
|
|
|
+ @ExcelProperty(value = {"上报时间"}, index = 13, converter = LocalDateTimeConverter.class)
|
|
|
private LocalDateTime dateCreate;
|
|
|
|
|
|
}
|