1.冀北分布式光伏代码提交
2.审计日志管理代码提交修改 3.暂降推送日志,筛选添加
This commit is contained in:
@@ -1,13 +1,10 @@
|
||||
package com.njcn.device.pq.pojo.param;
|
||||
|
||||
import com.njcn.common.pojo.constant.PatternRegex;
|
||||
import com.njcn.web.pojo.param.BaseParam;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Pattern;
|
||||
|
||||
/**
|
||||
* @version 1.0.0
|
||||
@@ -16,34 +13,12 @@ import javax.validation.constraints.Pattern;
|
||||
*/
|
||||
@Data
|
||||
@ApiModel
|
||||
public class EventLogParam {
|
||||
public class EventLogParam extends BaseParam {
|
||||
|
||||
/**
|
||||
* 推送状态
|
||||
*/
|
||||
@ApiModelProperty("推送状态(0.全部1.成功2.失败)")
|
||||
private Integer result;
|
||||
/**
|
||||
* 开始时间
|
||||
*/
|
||||
@ApiModelProperty("开始时间")
|
||||
@Pattern(regexp = PatternRegex.TIME_FORMAT, message = "时间格式错误")
|
||||
private String searchBeginTime;
|
||||
/**
|
||||
* 结束时间
|
||||
*/
|
||||
@ApiModelProperty("结束时间")
|
||||
@Pattern(regexp = PatternRegex.TIME_FORMAT, message = "时间格式错误")
|
||||
private String searchEndTime;
|
||||
|
||||
@ApiModelProperty("页码")
|
||||
@NotNull(message = "页码不可为空")
|
||||
@Range(min = 1,message = "页码必须大于0")
|
||||
private Integer pageNum;
|
||||
|
||||
@ApiModelProperty("条数")
|
||||
@NotNull(message = "条数不可为空")
|
||||
@Range(min = 1,message = "条数必须大于0")
|
||||
private Integer pageSize;
|
||||
|
||||
}
|
||||
|
||||
@@ -16,11 +16,14 @@ import java.time.LocalDateTime;
|
||||
@TableName("cld_event_push_log")
|
||||
public class EventPushLogs {
|
||||
|
||||
@TableId("Time_Id")
|
||||
private LocalDateTime timeId;
|
||||
@TableId("Event_Id")
|
||||
private String eventId;
|
||||
|
||||
@TableField("Line_Id")
|
||||
private String lineId;
|
||||
@TableField("start_time")
|
||||
private LocalDateTime startTime;
|
||||
|
||||
@TableField("measurement_point_id")
|
||||
private String measurementPointId;
|
||||
|
||||
@TableField("Create_Time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
Reference in New Issue
Block a user