From 165541429aa52cb97b2cea18f7701bff2efed1f2 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期一, 08 四月 2024 18:01:20 +0800 Subject: [PATCH] 运维单位 --- ycl-pojo/src/main/java/com/ycl/platform/domain/vo/ReportVO.java | 20 +++++++++++++++++--- 1 files changed, 17 insertions(+), 3 deletions(-) diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/vo/ReportVO.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/vo/ReportVO.java index 44004e5..b4e0715 100644 --- a/ycl-pojo/src/main/java/com/ycl/platform/domain/vo/ReportVO.java +++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/vo/ReportVO.java @@ -1,5 +1,6 @@ package com.ycl.platform.domain.vo; +import annotation.Excel; import com.ycl.platform.base.AbsVo; import com.ycl.platform.domain.entity.Report; @@ -25,30 +26,38 @@ /** 杩愮淮鍗曚綅ID */ private Integer unitId; + @Excel(name = "杩愮淮鍗曚綅") private String unitName; /** 杩愮淮浜哄憳ID */ private Integer peopleId; + @Excel(name = "鎶ュ浜哄憳") private String peopleName; /** 鐐逛綅ID */ private Integer pointId; + @Excel(name = "鐐逛綅") private String pointName; /** 鎶ュ绫诲瀷 */ + @Excel(name = "鎶ュ绫诲瀷") private String reportType; - /** 瀹℃牳鏃堕棿 */ - private LocalDateTime auditingTime; - /** 鎶ュ鍐呭 */ + @Excel(name = "鎶ュ鍐呭") private String reportContent; /** 涓婃姤鏉愭枡 */ + @Excel(name = "涓婃姤鏉愭枡") private String reportMaterials; /** 鏁呴殰绫诲瀷 */ + @Excel(name = "鏁呴殰绫诲瀷") private String errorType; + + /** 瀹℃牳鏃堕棿 */ + @Excel(name = "瀹℃牳鏃堕棿", width = 30, dateFormat = "yyyy-MM-dd") + private Date auditingTime; /** * 鐢熸晥鏃堕棿 @@ -60,6 +69,11 @@ */ private Date endCreateTime; + /** + * 瑁呭~ + */ + private Integer status; + public static ReportVO getVoByEntity(@NonNull Report entity, ReportVO vo) { if(vo == null) { vo = new ReportVO(); -- Gitblit v1.8.0