算法模块删除不必要的代码,有备份,如果存疑就联系我
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
package com.njcn.event.pojo.po;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDate;
|
||||
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* 接口文档访问地址:http://serverIP:port/swagger-ui.html
|
||||
* Date: 2022/12/28 14:58【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* 监测点暂态指标超标明细日表
|
||||
*/
|
||||
@Data
|
||||
@TableName(value = "r_mp_event_detail_d")
|
||||
public class RMpEventDetailD {
|
||||
/**
|
||||
* 监测点ID
|
||||
*/
|
||||
@MppMultiId(value = "measurement_point_id")
|
||||
private String measurementPointId;
|
||||
|
||||
/**
|
||||
* 时间
|
||||
*/
|
||||
@MppMultiId(value = "data_date")
|
||||
private LocalDate dataDate;
|
||||
|
||||
/**
|
||||
* 电压暂升发生次数
|
||||
*/
|
||||
@TableField(value = "swell_times")
|
||||
private Integer swellTimes;
|
||||
|
||||
/**
|
||||
* 电压暂降发生次数
|
||||
*/
|
||||
@TableField(value = "sag_times")
|
||||
private Integer sagTimes;
|
||||
|
||||
/**
|
||||
* 短时中断发生次数
|
||||
*/
|
||||
@TableField(value = "interrupt_times")
|
||||
private Integer interruptTimes;
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
package com.njcn.event.pojo.po;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDate;
|
||||
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* 接口文档访问地址:http://serverIP:port/swagger-ui.html
|
||||
* Date: 2022/12/28 14:58【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* 监测点暂态指标超标明细月表
|
||||
*/
|
||||
@Data
|
||||
@TableName(value = "r_mp_event_detail_m")
|
||||
public class RMpEventDetailM {
|
||||
/**
|
||||
* 监测点ID
|
||||
*/
|
||||
@MppMultiId(value = "measurement_point_id")
|
||||
private String measurementPointId;
|
||||
|
||||
/**
|
||||
* 时间
|
||||
*/
|
||||
@MppMultiId(value = "data_date")
|
||||
private LocalDate dataDate;
|
||||
|
||||
/**
|
||||
* 电压暂升发生次数
|
||||
*/
|
||||
@TableField(value = "swell_times")
|
||||
private Integer swellTimes;
|
||||
|
||||
/**
|
||||
* 电压暂降发生次数
|
||||
*/
|
||||
@TableField(value = "sag_times")
|
||||
private Integer sagTimes;
|
||||
|
||||
/**
|
||||
* 短时中断发生次数
|
||||
*/
|
||||
@TableField(value = "interrupt_times")
|
||||
private Integer interruptTimes;
|
||||
}
|
||||
@@ -9,6 +9,7 @@ import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.data.annotation.Transient;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
@@ -20,9 +21,8 @@ import java.time.LocalDateTime;
|
||||
* @since 2022-10-12 18:34:55
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@TableName("r_mp_event_detail")
|
||||
@ApiModel(value="RmpEventDetail对象", description="")
|
||||
@ApiModel(value="RmpEventDetail对象")
|
||||
public class RmpEventDetailPO implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -120,8 +120,11 @@ public class RmpEventDetailPO implements Serializable {
|
||||
|
||||
private LocalDateTime createTime;
|
||||
|
||||
private Double transientValue;
|
||||
|
||||
@ApiModelProperty(value = "用于计算数量")
|
||||
@TableField(exist = false)
|
||||
@Transient
|
||||
private Integer count;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user