暂降监测点报告抽取公共方法
This commit is contained in:
@@ -1,75 +1,75 @@
|
||||
package com.njcn.csharmonic.pojo.param.eventReport;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author xxy
|
||||
* @version 1.0.0
|
||||
* @date 2022年08月16日 19:37
|
||||
*/
|
||||
@Data
|
||||
public class ExportParam implements Serializable {
|
||||
|
||||
@ApiModelProperty(name = "lineId",value = "监测点ID")
|
||||
private String lineId;
|
||||
|
||||
@ApiModelProperty(name = "searchBeginTime",value = "开始时间")
|
||||
private String searchBeginTime;
|
||||
|
||||
@ApiModelProperty(name = "searchEndTime",value = "结束时间")
|
||||
private String searchEndTime;
|
||||
|
||||
@ApiModelProperty(name = "lineName",value = "监测点名称")
|
||||
private String lineName;
|
||||
|
||||
@ApiModelProperty(name = "xq",value = "监测点详情",example = "true")
|
||||
private boolean xq;
|
||||
|
||||
@ApiModelProperty(name = "lb",value = "暂降事件列表",example = "true")
|
||||
private boolean lb;
|
||||
|
||||
@ApiModelProperty(name = "mdbg",value = "暂降密度表格",example = "false")
|
||||
private boolean mdbg;
|
||||
|
||||
@ApiModelProperty(name = "mdtx",value = "暂降密度图形",example = "false")
|
||||
private boolean mdtx;
|
||||
|
||||
@ApiModelProperty(name = "sjdITIC",value = "暂降时间点ITIC",example = "false")
|
||||
private boolean sjdITIC;
|
||||
|
||||
@ApiModelProperty(name = "sjdF47",value = "暂降时间点F47",example = "false")
|
||||
private boolean sjdF47;
|
||||
|
||||
@ApiModelProperty(name = "glfbfz",value = "概率分布暂降赋值",example = "false")
|
||||
private boolean glfbfz;
|
||||
|
||||
@ApiModelProperty(name = "glfbsj",value = "概率分布持续时间",example = "false")
|
||||
private boolean glfbsj;
|
||||
|
||||
@ApiModelProperty(name = "tjbg",value = "月份统计表格",example = "false")
|
||||
private boolean tjbg;
|
||||
|
||||
@ApiModelProperty(name = "tjtx",value = "月份统计图形",example = "false")
|
||||
private boolean tjtx;
|
||||
|
||||
@ApiModelProperty(name = "yybg",value = "暂降原因表格",example = "false")
|
||||
private boolean yybg;
|
||||
|
||||
@ApiModelProperty(name = "yytx",value = "暂降原因图形",example = "false")
|
||||
private boolean yytx;
|
||||
|
||||
@ApiModelProperty(name = "lxbg",value = "暂降类型表格",example = "false")
|
||||
private boolean lxbg;
|
||||
|
||||
@ApiModelProperty(name = "lxtx",value = "暂降类型图形",example = "false")
|
||||
private boolean lxtx;
|
||||
|
||||
@ApiModelProperty(name = "flag",value = "标识")
|
||||
private Integer flag;
|
||||
|
||||
@ApiModelProperty(name = "type",value = "系统区分(0:pq 1:pms)")
|
||||
private Integer type;
|
||||
}
|
||||
//package com.njcn.csharmonic.pojo.param.eventReport;
|
||||
//
|
||||
//import io.swagger.annotations.ApiModelProperty;
|
||||
//import lombok.Data;
|
||||
//
|
||||
//import java.io.Serializable;
|
||||
//
|
||||
///**
|
||||
// * @author xxy
|
||||
// * @version 1.0.0
|
||||
// * @date 2022年08月16日 19:37
|
||||
// */
|
||||
//@Data
|
||||
//public class ExportParam implements Serializable {
|
||||
//
|
||||
// @ApiModelProperty(name = "lineId",value = "监测点ID")
|
||||
// private String lineId;
|
||||
//
|
||||
// @ApiModelProperty(name = "searchBeginTime",value = "开始时间")
|
||||
// private String searchBeginTime;
|
||||
//
|
||||
// @ApiModelProperty(name = "searchEndTime",value = "结束时间")
|
||||
// private String searchEndTime;
|
||||
//
|
||||
// @ApiModelProperty(name = "lineName",value = "监测点名称")
|
||||
// private String lineName;
|
||||
//
|
||||
// @ApiModelProperty(name = "xq",value = "监测点详情",example = "true")
|
||||
// private boolean xq;
|
||||
//
|
||||
// @ApiModelProperty(name = "lb",value = "暂降事件列表",example = "true")
|
||||
// private boolean lb;
|
||||
//
|
||||
// @ApiModelProperty(name = "mdbg",value = "暂降密度表格",example = "false")
|
||||
// private boolean mdbg;
|
||||
//
|
||||
// @ApiModelProperty(name = "mdtx",value = "暂降密度图形",example = "false")
|
||||
// private boolean mdtx;
|
||||
//
|
||||
// @ApiModelProperty(name = "sjdITIC",value = "暂降时间点ITIC",example = "false")
|
||||
// private boolean sjdITIC;
|
||||
//
|
||||
// @ApiModelProperty(name = "sjdF47",value = "暂降时间点F47",example = "false")
|
||||
// private boolean sjdF47;
|
||||
//
|
||||
// @ApiModelProperty(name = "glfbfz",value = "概率分布暂降赋值",example = "false")
|
||||
// private boolean glfbfz;
|
||||
//
|
||||
// @ApiModelProperty(name = "glfbsj",value = "概率分布持续时间",example = "false")
|
||||
// private boolean glfbsj;
|
||||
//
|
||||
// @ApiModelProperty(name = "tjbg",value = "月份统计表格",example = "false")
|
||||
// private boolean tjbg;
|
||||
//
|
||||
// @ApiModelProperty(name = "tjtx",value = "月份统计图形",example = "false")
|
||||
// private boolean tjtx;
|
||||
//
|
||||
// @ApiModelProperty(name = "yybg",value = "暂降原因表格",example = "false")
|
||||
// private boolean yybg;
|
||||
//
|
||||
// @ApiModelProperty(name = "yytx",value = "暂降原因图形",example = "false")
|
||||
// private boolean yytx;
|
||||
//
|
||||
// @ApiModelProperty(name = "lxbg",value = "暂降类型表格",example = "false")
|
||||
// private boolean lxbg;
|
||||
//
|
||||
// @ApiModelProperty(name = "lxtx",value = "暂降类型图形",example = "false")
|
||||
// private boolean lxtx;
|
||||
//
|
||||
// @ApiModelProperty(name = "flag",value = "标识")
|
||||
// private Integer flag;
|
||||
//
|
||||
// @ApiModelProperty(name = "type",value = "系统区分(0:pq 1:pms)")
|
||||
// private Integer type;
|
||||
//}
|
||||
|
||||
@@ -1,127 +1,127 @@
|
||||
package com.njcn.csharmonic.pojo.po;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 暂降明细实体类
|
||||
*
|
||||
* @author yzh
|
||||
* @since 2022-10-12 18:34:55
|
||||
*/
|
||||
@Data
|
||||
@TableName("r_mp_event_detail")
|
||||
@ApiModel(value="RmpEventDetail对象")
|
||||
public class RmpEventDetailPO implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "暂时事件ID")
|
||||
@TableId(value = "event_id", type = IdType.ASSIGN_ID)
|
||||
private String eventId;
|
||||
|
||||
@ApiModelProperty(value = "监测点ID")
|
||||
private String measurementPointId;
|
||||
|
||||
@ApiModelProperty(value = "监测点ID(复制)")
|
||||
@TableField("measurement_point_id")
|
||||
private String lineId;
|
||||
|
||||
@ApiModelProperty(value = "统计类型")
|
||||
private String eventType;
|
||||
|
||||
@ApiModelProperty(value = "暂降原因(Event_Reason)")
|
||||
@TableField("advance_reason")
|
||||
private String advanceReason;
|
||||
|
||||
@ApiModelProperty(value = "暂降类型(Event_Type)")
|
||||
@TableField("advance_type")
|
||||
private String advanceType;
|
||||
|
||||
@ApiModelProperty(value = "事件关联分析表Guid")
|
||||
private String eventassIndex;
|
||||
|
||||
@ApiModelProperty(value = "dq计算持续时间 ")
|
||||
private Double dqTime;
|
||||
|
||||
@ApiModelProperty(value = "特征值计算更新时间(外键PQS_Relevance的Time字段)")
|
||||
private LocalDateTime dealTime;
|
||||
|
||||
@ApiModelProperty(value = "默认事件个数为0")
|
||||
private Integer num;
|
||||
|
||||
@ApiModelProperty(value = "波形文件是否从装置招到本地(0:未招,1:已招)默认值为0")
|
||||
private Integer fileFlag;
|
||||
|
||||
@ApiModelProperty(value = "特征值计算标志(0,未处理;1,已处理; 2,已处理,无结果;3,计算失败)默认值为0")
|
||||
private Integer dealFlag;
|
||||
|
||||
@ApiModelProperty(value = "处理结果第一条事件发生时间(读comtra文件获取)")
|
||||
private LocalDateTime firstTime;
|
||||
|
||||
@ApiModelProperty(value = "处理结果第一条事件暂降类型(字典表PQS_Dicdata)")
|
||||
private String firstType;
|
||||
|
||||
@ApiModelProperty(value = "处理结果第一条事件发生时间毫秒(读comtra文件获取)")
|
||||
private Double firstMs;
|
||||
|
||||
@ApiModelProperty(value = "暂降能量")
|
||||
private Double energy;
|
||||
|
||||
@ApiModelProperty(value = "暂降严重度")
|
||||
private Double severity;
|
||||
|
||||
@ApiModelProperty(value = "暂降源与监测位置关系 Upper:上游;Lower :下游;Unknown :未知;为空则是未计算")
|
||||
private String sagsource;
|
||||
|
||||
@ApiModelProperty(value = "开始时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss.SSS")
|
||||
private LocalDateTime startTime;
|
||||
|
||||
@ApiModelProperty(value = "格式化开始时间")
|
||||
@TableField(exist = false)
|
||||
private String formatTime;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "持续时间,单位秒")
|
||||
private Double duration;
|
||||
|
||||
@ApiModelProperty(value = "特征幅值")
|
||||
private Double featureAmplitude;
|
||||
|
||||
@ApiModelProperty(value = "相别")
|
||||
private String phase;
|
||||
|
||||
@ApiModelProperty(value = "事件描述")
|
||||
private String eventDescribe;
|
||||
|
||||
@ApiModelProperty(value = "波形路径")
|
||||
private String wavePath;
|
||||
|
||||
@ApiModelProperty(value = "暂降核实原因")
|
||||
@TableField("verify_reason")
|
||||
private String verifyReason;
|
||||
|
||||
@ApiModelProperty(value = "暂降核实原因详情")
|
||||
@TableField("verify_reason_detail")
|
||||
private String verifyReasonDetail;
|
||||
|
||||
private Double transientValue;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
@ApiModelProperty(value = "用于计算数量")
|
||||
@TableField(exist = false)
|
||||
private Integer count;
|
||||
|
||||
}
|
||||
|
||||
//package com.njcn.csharmonic.pojo.po;
|
||||
//
|
||||
//import com.baomidou.mybatisplus.annotation.IdType;
|
||||
//import com.baomidou.mybatisplus.annotation.TableField;
|
||||
//import com.baomidou.mybatisplus.annotation.TableId;
|
||||
//import com.baomidou.mybatisplus.annotation.TableName;
|
||||
//import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
//import io.swagger.annotations.ApiModel;
|
||||
//import io.swagger.annotations.ApiModelProperty;
|
||||
//import lombok.Data;
|
||||
//
|
||||
//import java.io.Serializable;
|
||||
//import java.time.LocalDateTime;
|
||||
//
|
||||
///**
|
||||
// * 暂降明细实体类
|
||||
// *
|
||||
// * @author yzh
|
||||
// * @since 2022-10-12 18:34:55
|
||||
// */
|
||||
//@Data
|
||||
//@TableName("r_mp_event_detail")
|
||||
//@ApiModel(value="RmpEventDetail对象")
|
||||
//public class RmpEventDetailPO implements Serializable {
|
||||
// private static final long serialVersionUID = 1L;
|
||||
//
|
||||
// @ApiModelProperty(value = "暂时事件ID")
|
||||
// @TableId(value = "event_id", type = IdType.ASSIGN_ID)
|
||||
// private String eventId;
|
||||
//
|
||||
// @ApiModelProperty(value = "监测点ID")
|
||||
// private String measurementPointId;
|
||||
//
|
||||
// @ApiModelProperty(value = "监测点ID(复制)")
|
||||
// @TableField("measurement_point_id")
|
||||
// private String lineId;
|
||||
//
|
||||
// @ApiModelProperty(value = "统计类型")
|
||||
// private String eventType;
|
||||
//
|
||||
// @ApiModelProperty(value = "暂降原因(Event_Reason)")
|
||||
// @TableField("advance_reason")
|
||||
// private String advanceReason;
|
||||
//
|
||||
// @ApiModelProperty(value = "暂降类型(Event_Type)")
|
||||
// @TableField("advance_type")
|
||||
// private String advanceType;
|
||||
//
|
||||
// @ApiModelProperty(value = "事件关联分析表Guid")
|
||||
// private String eventassIndex;
|
||||
//
|
||||
// @ApiModelProperty(value = "dq计算持续时间 ")
|
||||
// private Double dqTime;
|
||||
//
|
||||
// @ApiModelProperty(value = "特征值计算更新时间(外键PQS_Relevance的Time字段)")
|
||||
// private LocalDateTime dealTime;
|
||||
//
|
||||
// @ApiModelProperty(value = "默认事件个数为0")
|
||||
// private Integer num;
|
||||
//
|
||||
// @ApiModelProperty(value = "波形文件是否从装置招到本地(0:未招,1:已招)默认值为0")
|
||||
// private Integer fileFlag;
|
||||
//
|
||||
// @ApiModelProperty(value = "特征值计算标志(0,未处理;1,已处理; 2,已处理,无结果;3,计算失败)默认值为0")
|
||||
// private Integer dealFlag;
|
||||
//
|
||||
// @ApiModelProperty(value = "处理结果第一条事件发生时间(读comtra文件获取)")
|
||||
// private LocalDateTime firstTime;
|
||||
//
|
||||
// @ApiModelProperty(value = "处理结果第一条事件暂降类型(字典表PQS_Dicdata)")
|
||||
// private String firstType;
|
||||
//
|
||||
// @ApiModelProperty(value = "处理结果第一条事件发生时间毫秒(读comtra文件获取)")
|
||||
// private Double firstMs;
|
||||
//
|
||||
// @ApiModelProperty(value = "暂降能量")
|
||||
// private Double energy;
|
||||
//
|
||||
// @ApiModelProperty(value = "暂降严重度")
|
||||
// private Double severity;
|
||||
//
|
||||
// @ApiModelProperty(value = "暂降源与监测位置关系 Upper:上游;Lower :下游;Unknown :未知;为空则是未计算")
|
||||
// private String sagsource;
|
||||
//
|
||||
// @ApiModelProperty(value = "开始时间")
|
||||
// @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss.SSS")
|
||||
// private LocalDateTime startTime;
|
||||
//
|
||||
// @ApiModelProperty(value = "格式化开始时间")
|
||||
// @TableField(exist = false)
|
||||
// private String formatTime;
|
||||
//
|
||||
//
|
||||
// @ApiModelProperty(value = "持续时间,单位秒")
|
||||
// private Double duration;
|
||||
//
|
||||
// @ApiModelProperty(value = "特征幅值")
|
||||
// private Double featureAmplitude;
|
||||
//
|
||||
// @ApiModelProperty(value = "相别")
|
||||
// private String phase;
|
||||
//
|
||||
// @ApiModelProperty(value = "事件描述")
|
||||
// private String eventDescribe;
|
||||
//
|
||||
// @ApiModelProperty(value = "波形路径")
|
||||
// private String wavePath;
|
||||
//
|
||||
// @ApiModelProperty(value = "暂降核实原因")
|
||||
// @TableField("verify_reason")
|
||||
// private String verifyReason;
|
||||
//
|
||||
// @ApiModelProperty(value = "暂降核实原因详情")
|
||||
// @TableField("verify_reason_detail")
|
||||
// private String verifyReasonDetail;
|
||||
//
|
||||
// private Double transientValue;
|
||||
//
|
||||
// @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
// private LocalDateTime createTime;
|
||||
//
|
||||
// @ApiModelProperty(value = "用于计算数量")
|
||||
// @TableField(exist = false)
|
||||
// private Integer count;
|
||||
//
|
||||
//}
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user