添加导出实体

This commit is contained in:
duwenyuan 2026-07-21 13:32:25 +08:00
parent 295a3d4603
commit dfdccd6a4e
6 changed files with 183 additions and 0 deletions

View File

@ -0,0 +1,15 @@
package org.jeecg.vo;
import lombok.Data;
import java.math.BigDecimal;
@Data
public class NuclideActConcRawVO {
/** 站点 */
private String stationId;
/** 核素名称 */
private String nuclideName;
/** 活度浓度 */
private BigDecimal conc;
}

View File

@ -0,0 +1,44 @@
package org.jeecg.vo;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelTarget;
import java.math.BigDecimal;
import java.util.Date;
@Data
@ExcelTarget("nuclideCompareExcel")
public class NuclideCompareExcelVO {
@Excel(name = "核素名称", width = 15, orderNum = "1")
private String nuclideName;
@Excel(name = "单位", width = 15, orderNum = "2")
private String unit;
@Excel(name = "台站A ID", width = 15, orderNum = "3")
private Integer stationAId;
@Excel(name = "台站A 活度浓度", width = 20, orderNum = "4")
private Double valueA;
@Excel(name = "台站A 收集时间", width = 20, format = "yyyy-MM-dd HH:mm:ss", orderNum = "5")
private Date collectStopA;
@Excel(name = "台站B ID", width = 15, orderNum = "6")
private Integer stationBId;
@Excel(name = "台站B 活度浓度", width = 20, orderNum = "7")
private Double valueB;
@Excel(name = "台站B 收集时间", width = 20, format = "yyyy-MM-dd HH:mm:ss", orderNum = "8")
private Date collectStopB;
@Excel(name = "浓度差值(A-B)", width = 20, orderNum = "9")
private Double diffValue;
@Excel(name = "变化率(%)", width = 15, orderNum = "10")
private Double changeRate;
}

View File

@ -0,0 +1,41 @@
package org.jeecg.vo;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelTarget;
import java.math.BigDecimal;
import java.util.Date;
@Data
@ExcelTarget("nuclideTimeExcel")
public class NuclideTimeExcelVO {
@Excel(name = "站点", orderNum = "0", width = 15)
private Integer stationId;
@Excel(name = "核素名称", orderNum = "1", width = 12)
private String nuclideName;
@Excel(name = "采样时间", orderNum = "2", width = 20,
format = "yyyy-MM-dd HH:mm:ss")
private Date collectStop;
@Excel(name = "活度浓度", orderNum = "3", width = 16, numFormat = "#,##0.000E00")
private Double conc;
@Excel(name = "不确定度", orderNum = "4", width = 16, numFormat = "#,##0.000E00")
private Double concErr;
@Excel(name = "MDC", orderNum = "5", width = 16, numFormat = "#,##0.000E00")
private Double mdc;
@Excel(name = "阈值", orderNum = "6", width = 16, numFormat = "#,##0.000E00")
private Double thresholdValue;
@Excel(name = "等级", orderNum = "7", width = 10)
private Integer category;
@Excel(name = "浓度单位", orderNum = "8", width = 12)
private String unit;
}

View File

@ -0,0 +1,31 @@
package org.jeecg.vo;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
@Data
public class SampleAnalysisExcelVO {
/**
* 样品ID
*/
@Excel(name = "样品ID",orderNum = "0", width = 15)
private Integer sampleId;
@Excel(name = "台站",orderNum = "1", width = 15)
private String stationId;
/**
* 收集停止时间
*/
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Excel(name = "采集停止时间",orderNum = "2", width = 20, format = "yyyy-MM-dd HH:mm:ss")
private Date collectStop;
/**
* 级别
*/
@Excel(name = "级别",orderNum = "3", width = 10)
private Integer category;
}

View File

@ -0,0 +1,36 @@
package org.jeecg.vo;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelTarget;
import java.math.BigDecimal;
@Data
@ExcelTarget("sampleRangeFreqExcel")
public class SampleRangeFreqExcelVO {
@Excel(name = "站点", orderNum = "0", width = 15)
private String stationId;
@Excel(name = "核素名称", orderNum = "1", width = 12)
private String nuclideName;
@Excel(name = "浓度区间", orderNum = "2", width = 22)
private String rangeLabel;
@Excel(name = "频数", orderNum = "3", width = 10)
private Integer frequency;
@Excel(name = "频率(%)", orderNum = "4", width = 12, numFormat = "#,##0.00")
private BigDecimal frequencyRate;
@Excel(name = "累计频率(%)", orderNum = "5", width = 14, numFormat = "#,##0.00")
private BigDecimal cumulativeRate;
@Excel(name = "样本总数", orderNum = "6", width = 10)
private Integer totalCount;
@Excel(name = "浓度单位", orderNum = "7", width = 12)
private String unit;
}

View File

@ -0,0 +1,16 @@
package org.jeecg.vo;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelTarget;
@Data
@ExcelTarget("sampleStatExcel")
public class SampleStatExcelVO {
@Excel(name = "核素名称", orderNum = "0", width = 15)
private String nuclideName;
@Excel(name = "样品数量", orderNum = "1", width = 12)
private Integer count;
}