【新增功能】 设备历史数据展示

This commit is contained in:
安浩浩
2024-11-05 23:26:34 +08:00
parent 624f5283b3
commit d7b8cf547f
8 changed files with 112 additions and 26 deletions

View File

@@ -4,24 +4,24 @@ import lombok.Data;
import java.util.Map;
/**
* @ClassDescription: 查询可视化所需入参对象
* @ClassName: SelectDto
* @Author: andyz
* @Date: 2022-07-29 14:12:26
* @Version 1.0
*/
@Data
public class SelectVisualDto {
// @NotBlank(message = "invalid operation: tableName can not be empty")
/**
* 数据库名称
*/
private String dataBaseName;
// @NotBlank(message = "invalid operation: tableName can not be empty")
/**
* 表名
*/
private String tableName;
// @NotBlank(message = "invalid operation: fieldName can not be empty") //属性
/**
* 属性
*/
private String fieldName;
/**
* 查询类型0历史数据1实时数据2聚合数据
*/
@@ -39,10 +39,15 @@ public class SelectVisualDto {
* 比如1s,1m,1h,1d代表1秒1分钟1小时1天
*/
private String interval;
// @NotNull(message = "invalid operation: startTime can not be null")
/**
* 开始时间
*/
private Long startTime;
// @NotNull(message = "invalid operation: endTime can not be null")
/**
* 结束时间
*/
private Long endTime;
/**