exportModel.ts
1.04 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
import { BasicPageParams } from '/@/api/model/baseModel';
export type ExportQueryParam = BasicPageParams & ExportParam;
export type ExportParam = {
reportConfigName: string;
status: number;
orderFiled: string;
orderType: string;
};
export interface ExecuteCondition2 {
interval: number;
limit: number;
agg: string;
orderBy: string;
useStrictDataTypes: boolean;
startTs: number;
endTs: number;
queryMode: number;
}
export interface ExecuteAttribute {
device: string;
name: string;
attributes: string[];
}
export interface ExecuteCondition {
executeCondition: ExecuteCondition2;
executeAttributes: ExecuteAttribute[];
}
export interface ExecuteReportRecord {
id: string;
creator: string;
createTime: string;
updateTime: string;
enabled: boolean;
tenantId: string;
reportConfigName: string;
organizationName: string;
organizationId: string;
dataCompare: number;
executeWay: number;
executeStatus: number;
executeTime: string;
reportPath: string;
executeCondition: ExecuteCondition;
jobId: string;
}