|
|
|
@ -2,6 +2,7 @@ package com.hnac.hzims.vo;
|
|
|
|
|
|
|
|
|
|
import com.alibaba.excel.annotation.ExcelIgnore; |
|
|
|
|
import com.alibaba.excel.annotation.ExcelProperty; |
|
|
|
|
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
|
|
|
|
import io.swagger.annotations.ApiModel; |
|
|
|
|
import io.swagger.annotations.ApiModelProperty; |
|
|
|
|
import lombok.Data; |
|
|
|
@ -15,28 +16,39 @@ import java.util.List;
|
|
|
|
|
@ApiModel("各个票种统计表") |
|
|
|
|
public class VoteChartVo { |
|
|
|
|
@ApiModelProperty(value = "站点名称") |
|
|
|
|
@ColumnWidth(value = 20) |
|
|
|
|
@ExcelProperty(value = "站点名称", index = 0) |
|
|
|
|
private String name; |
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "总数量") |
|
|
|
|
@ExcelProperty(value = "总数量", index = 1) |
|
|
|
|
@ColumnWidth(value = 20) |
|
|
|
|
private int sumNum; |
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "总数量id") |
|
|
|
|
@ExcelIgnore |
|
|
|
|
private List<Long> sumIds; |
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "未完成数量") |
|
|
|
|
@ExcelProperty(value = "未完成数量", index = 2) |
|
|
|
|
@ColumnWidth(value = 20) |
|
|
|
|
private int undoneNum; |
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "未完成id") |
|
|
|
|
@ExcelIgnore |
|
|
|
|
private List<Long> undoneIds; |
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "完成数量") |
|
|
|
|
@ColumnWidth(value = 20) |
|
|
|
|
@ExcelProperty(value = "完成数量", index = 3) |
|
|
|
|
private int finishNum; |
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "完成id") |
|
|
|
|
@ExcelIgnore |
|
|
|
|
private List<Long> finishIds; |
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "完成率") |
|
|
|
|
@ExcelProperty(value = "完成率", index = 4) |
|
|
|
|
@ColumnWidth(value = 20) |
|
|
|
|
private Double finishRate; |
|
|
|
|
} |
|
|
|
|