Commit 7aad2216 by 杨林龙

工单列表增加车牌号导出

1 parent af326d38
......@@ -20,6 +20,11 @@ public class WorkOrderDTO {
private String bizOrderNo;
private String ownerName;
private String vin;
/**
* 车牌号
*/
private String plateNo;
private String serviceTime;
private String deviceCompose;
private Integer deviceCnt;
......
......@@ -37,27 +37,33 @@ public class WorkOrderExport {
@ExcelProperty(value = "车架号", index = 5)
private String vin;
@ExcelProperty(value = "设备数量", index = 6)
/**
* 车牌号
*/
@ExcelProperty(value = "车牌号", index = 6)
private String plateNo;
@ExcelProperty(value = "设备数量", index = 7)
private Integer deviceCnt;
@ExcelProperty(value = "创建时间", index = 7)
@ExcelProperty(value = "创建时间", index = 8)
@DateTimeFormat(value = "yyyy-MM-dd HH:mm:ss")
private String createdDate;
@ExcelProperty(value = "所属组织", index = 8)
@ExcelProperty(value = "所属组织", index = 9)
private String tenantName;
@ExcelProperty(value = "期望服务日期", index = 9)
@ExcelProperty(value = "期望服务日期", index = 10)
@DateTimeFormat(value = "yyyy/MM/dd")
private Date serviceTime;
@ExcelProperty(value = "期望服务时间", index = 10)
@ExcelProperty(value = "期望服务时间", index = 11)
private String serviceApm;
/**
* 设备组合
*/
@ExcelProperty(value = "设备组合", index = 11)
@ExcelProperty(value = "设备组合", index = 12)
private String deviceCompose;
// @ExcelProperty(value = "安装服务商", index = 0)
......@@ -66,13 +72,13 @@ public class WorkOrderExport {
// @ExcelProperty(value = "安装人", index = 0)
// private String mechanicName;
@ExcelProperty(value = "工单归属", index = 12)
@ExcelProperty(value = "工单归属", index = 13)
private String createdBy;
@ExcelIgnore
private Integer status;
@ExcelProperty(value = "系统工单状态", index = 13)
@ExcelProperty(value = "系统工单状态", index = 14)
private String statusDesc;
}
......@@ -89,6 +89,7 @@
concat(DATE_FORMAT(tw.service_time, '%Y-%m-%d'), ' ', ifnull(tw.service_apm, '')) serviceTime,
twv.lessee_name ownerName,
twv.vin,
twv.plate_no plateNo,
twv.device_compose deviceCompose,
tt.tenant_name tenantName,
tw.status,
......@@ -152,6 +153,7 @@
tw.service_apm serviceApm,
twv.lessee_name ownerName,
twv.vin,
twv.plate_no plateNo,
twv.device_compose deviceCompose,
tt.tenant_name tenantName,
tw.status,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!