Commit a57335ff authored by lisong's avatar lisong

修改计划执行记录导出bug

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