9 天以前 06ed168bbe9bd100c460ae21a499dbaee04e5abb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package com.ruoyi.lims.dto;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.time.LocalDateTime;
 
@Data
@ApiModel(description = "LIMS数据分析查询参数")
public class LimsDataAnalysisQueryDto {
 
    @ApiModelProperty(value = "开始时间,格式:yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;
 
    @ApiModelProperty(value = "结束时间,格式:yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
 
    @ApiModelProperty(value = "数据类型:temperature/humidity/pressure/flow/concentration")
    private String dataType;
 
    @ApiModelProperty(value = "设备编号")
    private String deviceCode;
 
    @ApiModelProperty(value = "趋势粒度:day/hour,默认day")
    private String granularity;
 
    @ApiModelProperty(value = "比较维度:dataType/deviceName/deviceCode,默认dataType")
    private String dimension;
 
    @ApiModelProperty(value = "比较分析返回条数,默认10,最大50")
    private Integer topN;
}