Commit a57335ff authored by lisong's avatar lisong

修改计划执行记录导出bug

parent aae53d68
......@@ -39,6 +39,12 @@
<artifactId>jsoup</artifactId>
<version>1.11.2</version>
</dependency>
<dependency>
<groupId>cn.afterturn</groupId>
<artifactId>easypoi-annotation</artifactId>
<version>4.0.0</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>
......@@ -162,6 +162,12 @@
<artifactId>vastbase-jdbc</artifactId>
<version>2.7v</version>
</dependency>
<dependency>
<groupId>cn.afterturn</groupId>
<artifactId>easypoi-base</artifactId>
<version>4.0.0</version>
<scope>compile</scope>
</dependency>
</dependencies>
<build>
<plugins>
......
package com.yeejoin.amos.patrol.business.vo;
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;
@Data
public class PlanTaskVo {
private long id;
@Excel(name = "计划批号", orderNum = "0")
@Excel(name = "计划批号", orderNum = "0", width = 30)
private String batchNo;
@Excel(name = "计划名称", orderNum = "1")
@Excel(name = "计划名称", orderNum = "1", width = 30)
private String planName;
private long planId;
@Excel(name = "巡检路线", orderNum = "2")
@Excel(name = "巡检路线", orderNum = "2", width = 20)
private String routeName;
@Excel(name = "点编号", orderNum = "3")
private String pointNo;
@Excel(name = "点名称", orderNum = "4")
@Excel(name = "点名称", orderNum = "4", width = 30)
private String pointName;
@Excel(name = "开始时间", orderNum = "5")
@Excel(name = "开始时间", orderNum = "5", width = 20)
private String beginTime;
@Excel(name = "结束时间", orderNum = "6")
@Excel(name = "结束时间", orderNum = "6", width = 20)
private String endTime;
@Excel(name = "执行情况", replace = {"尚未巡检_0", "按时完成_1", "超时漏检_2"}, orderNum = "7")
private String status;
@Excel(name = "巡检人员", orderNum = "8")
@Excel(name = "巡检人员", orderNum = "8", width = 20)
private String userName;
private long deptId;
@Excel(name = "巡检部门", orderNum = "9")
@Excel(name = "巡检部门", orderNum = "9", width = 30)
private String deptName;
@Excel(name = "备注说明", orderNum = "10")
private String remark;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment