forked from rongchao/epmet-cloud-rizhao
8 changed files with 193 additions and 7 deletions
@ -0,0 +1,42 @@ |
|||
package com.epmet.excel; |
|||
|
|||
import com.alibaba.excel.annotation.ExcelProperty; |
|||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2022/10/11 16:30 |
|||
* @DESC |
|||
*/ |
|||
@Data |
|||
public class AllIssueListExportExcel { |
|||
|
|||
@ExcelProperty(value = "所属网格") |
|||
@ColumnWidth(20) |
|||
private String gridName; |
|||
|
|||
@ExcelProperty(value = "议题标题") |
|||
@ColumnWidth(20) |
|||
private String issueTitle; |
|||
|
|||
@ExcelProperty(value = "议题建议") |
|||
@ColumnWidth(20) |
|||
private String suggestion; |
|||
|
|||
@ExcelProperty(value = "议题创建时间") |
|||
@ColumnWidth(20) |
|||
private String createdTime; |
|||
|
|||
@ExcelProperty(value = "支持数") |
|||
@ColumnWidth(20) |
|||
private Integer supportCount; |
|||
|
|||
@ExcelProperty(value = "反对数") |
|||
@ColumnWidth(20) |
|||
private Integer oppositionCount; |
|||
|
|||
@ExcelProperty(value = "议题状态") |
|||
@ColumnWidth(20) |
|||
private String issueStatusName; |
|||
} |
@ -0,0 +1,34 @@ |
|||
package com.epmet.excel; |
|||
|
|||
import com.alibaba.excel.annotation.ExcelProperty; |
|||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2022/10/11 16:45 |
|||
* @DESC |
|||
*/ |
|||
@Data |
|||
public class AuditListExportExcel { |
|||
|
|||
@ExcelProperty(value = "所属网格") |
|||
@ColumnWidth(20) |
|||
private String gridName; |
|||
|
|||
@ExcelProperty(value = "议题标题") |
|||
@ColumnWidth(20) |
|||
private String issueTitle; |
|||
|
|||
@ExcelProperty(value = "议题建议") |
|||
@ColumnWidth(20) |
|||
private String suggestion; |
|||
|
|||
@ExcelProperty(value = "状态") |
|||
@ColumnWidth(20) |
|||
private String applyStatusName; |
|||
|
|||
@ExcelProperty(value = "提交审核时间") |
|||
@ColumnWidth(20) |
|||
private String applyTime; |
|||
} |
Loading…
Reference in new issue