feat(report): 新增敏感用户报表生成功能
This commit is contained in:
@@ -9,14 +9,13 @@ import javax.validation.constraints.NotBlank;
|
||||
|
||||
@Data
|
||||
public class SensitiveUserReportQueryParam {
|
||||
|
||||
@NotBlank(message = "监测对象id不可为空")
|
||||
@ApiModelProperty(name = "lineId",value = "监测对象id")
|
||||
private String sensitiveUserId;
|
||||
|
||||
@NotBlank(message = "模板ID不可为空")
|
||||
@ApiModelProperty(name = "tempId",value = "模板ID")
|
||||
private String tempId;
|
||||
|
||||
|
||||
@ApiModelProperty(name = "searchBeginTime", value = "开始时间")
|
||||
@NotBlank(message = "起始时间不可为空")
|
||||
@DateTimeStrValid(message = "起始时间格式出错")
|
||||
@@ -26,10 +25,4 @@ public class SensitiveUserReportQueryParam {
|
||||
@NotBlank(message = "结束时间不可为空")
|
||||
private String searchEndTime;
|
||||
|
||||
//目前用于区分不同系统资源,null默认 1.无线系统,配合cs-device
|
||||
private Integer resourceType;
|
||||
|
||||
//浙江无线报表特殊标识 null为通用报表 1.浙江无线报表
|
||||
private Integer customType;
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
package com.njcn.csharmonic.pojo.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
@Data
|
||||
public class ReportTemplateDataVO {
|
||||
/**
|
||||
* $HA[_25]#B#max#classId#resourceId$
|
||||
*/
|
||||
private String itemName;
|
||||
|
||||
private String lineId;
|
||||
|
||||
/**
|
||||
* 对应influxdb数据库中字段
|
||||
*/
|
||||
private String templateName;
|
||||
|
||||
/**
|
||||
* 相别
|
||||
*/
|
||||
private String phase;
|
||||
|
||||
/**
|
||||
* max min avg cp95
|
||||
*/
|
||||
private String statMethod;
|
||||
|
||||
/**
|
||||
* 对应influxdb数据库的表名
|
||||
*/
|
||||
private String classId;
|
||||
|
||||
/**
|
||||
* 对应mysql数据库的表名
|
||||
*/
|
||||
private String resourceId;
|
||||
|
||||
/**
|
||||
* 填入的value值
|
||||
*/
|
||||
private String value;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user