feat: 最新时间的一条数据对象增加,需要通过redis获取
This commit is contained in:
parent
ee340ce3eb
commit
1abc8aa43a
@ -134,4 +134,10 @@ public class EngEqHourIntervalVo {
|
||||
|
||||
@Schema(description = "站点排序")
|
||||
private Integer siteStepSort;
|
||||
|
||||
/**
|
||||
* 最新时间的一条数据
|
||||
*/
|
||||
@Schema(description = "最新时间的一条数据")
|
||||
private LastTmEngEqDataVo lastTmEngEqDataVo;
|
||||
}
|
||||
|
||||
@ -0,0 +1,95 @@
|
||||
package com.yfd.platform.qgc_eng.eq.entity.vo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author phq
|
||||
* @date 2023/5/13 14:25
|
||||
* 描述:
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "最新电站工程数据")
|
||||
public class LastTmEngEqDataVo implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "电站编码")
|
||||
private String stcd;
|
||||
|
||||
@Schema(description = "电站名称")
|
||||
private String stnm;
|
||||
|
||||
@Schema(description = "数据时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date tm;
|
||||
|
||||
@Schema(description = "装机容量")
|
||||
private BigDecimal ttpwr;
|
||||
|
||||
@Schema(description = "生态流量限值")
|
||||
private BigDecimal qecLimit;
|
||||
|
||||
@Schema(description = "生态流量限值(水利部)")
|
||||
private BigDecimal mwrLimit;
|
||||
|
||||
@Schema(description = "生态流量限值(多年平均)")
|
||||
private BigDecimal avqLimit;
|
||||
|
||||
@Schema(description = "生态流量系数(环保部)")
|
||||
private BigDecimal qecC;
|
||||
|
||||
@Schema(description = "生态流量系数(水利部)")
|
||||
private BigDecimal mwrC;
|
||||
|
||||
@Schema(description = "生态流量系数(多年平均)")
|
||||
private BigDecimal avqC;
|
||||
|
||||
/* 以下字段暂未使用
|
||||
@Schema(description = "生态流量是否达标(环保部)")
|
||||
private Integer qecSfdb;
|
||||
|
||||
@Schema(description = "生态流量是否达标(水利部)")
|
||||
private Integer mwrSfdb;
|
||||
|
||||
@Schema(description = "生态流量是否达标(电站多年平均)")
|
||||
private Integer avqSfdb;
|
||||
*/
|
||||
|
||||
@Schema(description = "正常蓄水位")
|
||||
private BigDecimal normz;
|
||||
|
||||
@Schema(description = "死水位")
|
||||
private BigDecimal ddz;
|
||||
|
||||
@Schema(description = "入库流量")
|
||||
private BigDecimal qi;
|
||||
|
||||
@Schema(description = "出库流量")
|
||||
private BigDecimal qo;
|
||||
|
||||
@Schema(description = "坝上水位")
|
||||
private BigDecimal rz;
|
||||
|
||||
@Schema(description = "坝下水位")
|
||||
private BigDecimal dz;
|
||||
|
||||
@Schema(description = "规则来源")
|
||||
private String vlsr;
|
||||
|
||||
@Schema(description = "规则来源时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
private Date vlsrTm;
|
||||
|
||||
@Schema(description = "规则来源(水利部)")
|
||||
private String mwrVlsr;
|
||||
|
||||
@Schema(description = "规则来源时间(水利部)")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
private Date mwrVlsrTm;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user