Commit 43f64668 by 杨林龙

1.25.0 优化工单列表导出模本

1 parent 15c861ab
...@@ -24,18 +24,21 @@ public class WorkOrderExport { ...@@ -24,18 +24,21 @@ public class WorkOrderExport {
* 店面名称 * 店面名称
*/ */
@ExcelProperty(value = "店面名称", index = 1) @ExcelProperty(value = "店面名称", index = 1)
@ColumnWidth(18)
private String shopName; private String shopName;
@ExcelProperty(value = "是否需要安装", index = 2) @ExcelProperty(value = "是否需要安装", index = 2)
private String needInstall; private String needInstall;
@ExcelProperty(value = "业务工单号", index = 3) @ExcelProperty(value = "业务工单号", index = 3)
@ColumnWidth(18)
private String bizOrderNo; private String bizOrderNo;
@ExcelProperty(value = "姓名", index = 4) @ExcelProperty(value = "姓名", index = 4)
private String ownerName; private String ownerName;
@ExcelProperty(value = "车架号", index = 5) @ExcelProperty(value = "车架号", index = 5)
@ColumnWidth(18)
private String vin; private String vin;
/** /**
...@@ -55,6 +58,7 @@ public class WorkOrderExport { ...@@ -55,6 +58,7 @@ public class WorkOrderExport {
@ExcelProperty(value = "创建时间", index = 9) @ExcelProperty(value = "创建时间", index = 9)
@DateTimeFormat(value = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(value = "yyyy-MM-dd HH:mm:ss")
@ColumnWidth(18)
private String createdDate; private String createdDate;
@ExcelProperty(value = "所属组织", index = 10) @ExcelProperty(value = "所属组织", index = 10)
...@@ -62,7 +66,7 @@ public class WorkOrderExport { ...@@ -62,7 +66,7 @@ public class WorkOrderExport {
@ExcelProperty(value = "期望服务日期", index = 11) @ExcelProperty(value = "期望服务日期", index = 11)
@DateTimeFormat(value = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(value = "yyyy-MM-dd HH:mm:ss")
@ColumnWidth(20) @ColumnWidth(18)
private Date serviceTime; private Date serviceTime;
@ExcelProperty(value = "期望服务时间", index = 12) @ExcelProperty(value = "期望服务时间", index = 12)
...@@ -86,5 +90,6 @@ public class WorkOrderExport { ...@@ -86,5 +90,6 @@ public class WorkOrderExport {
/** /**
* 车辆创建人 * 车辆创建人
*/ */
@ExcelIgnore
private Long createUser; private Long createUser;
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!