@gizone/rrs-client 4.2.9-alpha.590 → 4.2.9-alpha.594
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apis/energy-cost-analysis-controller-api.ts +444 -0
- package/apis/energy-cost-controller-api.ts +19 -14
- package/apis/energy-cost-record-controller-api.ts +174 -0
- package/dist/apis/energy-cost-analysis-controller-api.d.ts +252 -0
- package/dist/apis/energy-cost-analysis-controller-api.js +246 -0
- package/dist/apis/energy-cost-controller-api.d.ts +6 -7
- package/dist/apis/energy-cost-controller-api.js +15 -9
- package/dist/apis/energy-cost-record-controller-api.d.ts +102 -0
- package/dist/apis/energy-cost-record-controller-api.js +107 -1
- package/dist/esm/apis/energy-cost-analysis-controller-api.d.ts +252 -0
- package/dist/esm/apis/energy-cost-analysis-controller-api.js +246 -0
- package/dist/esm/apis/energy-cost-controller-api.d.ts +6 -7
- package/dist/esm/apis/energy-cost-controller-api.js +15 -9
- package/dist/esm/apis/energy-cost-record-controller-api.d.ts +102 -0
- package/dist/esm/apis/energy-cost-record-controller-api.js +106 -0
- package/dist/esm/models/energy-cost-add-record-dto.d.ts +3 -3
- package/dist/esm/models/ipage-energy-cost-record-info-vo.d.ts +4 -4
- package/dist/esm/models/sys-user.d.ts +4 -4
- package/dist/models/energy-cost-add-record-dto.d.ts +3 -3
- package/dist/models/ipage-energy-cost-record-info-vo.d.ts +4 -4
- package/dist/models/sys-user.d.ts +4 -4
- package/models/energy-cost-add-record-dto.ts +3 -3
- package/models/ipage-energy-cost-record-info-vo.ts +4 -4
- package/models/sys-user.ts +4 -4
- package/ossutil.log +1122 -1116
- package/package.json +1 -1
|
@@ -65,6 +65,82 @@ export const EnergyCostAnalysisControllerApiAxiosParamCreator = function (config
|
|
|
65
65
|
options: localVarRequestOptions,
|
|
66
66
|
};
|
|
67
67
|
}),
|
|
68
|
+
/**
|
|
69
|
+
* 获取账单分析列表数据
|
|
70
|
+
* @summary 分析列表数据-导出
|
|
71
|
+
* @param {string} billMonth 账单月,格式:yyyy-MM
|
|
72
|
+
* @param {string} energyTypes 能源类型列表
|
|
73
|
+
* @param {string} [parkIds] 园区ID列表
|
|
74
|
+
* @param {string} [billSource] 场景来源
|
|
75
|
+
* @param {string} [startTime] 开始时间
|
|
76
|
+
* @param {string} [endTime] 结束时间
|
|
77
|
+
* @param {string} [srmAreaCodes] SRM区域编码
|
|
78
|
+
* @param {string} [srmXwCodes] SRM小微编码
|
|
79
|
+
* @param {string} [srmCenterCodes] SRM中心编码
|
|
80
|
+
* @param {string} [plannedStartTime] 应执行开始时间
|
|
81
|
+
* @param {string} [plannedEndTime] 应执行结束时间
|
|
82
|
+
* @param {*} [options] Override http request option.
|
|
83
|
+
* @throws {RequiredError}
|
|
84
|
+
*/
|
|
85
|
+
getAnalysisListExport: (billMonth_1, energyTypes_1, parkIds_1, billSource_1, startTime_1, endTime_1, srmAreaCodes_1, srmXwCodes_1, srmCenterCodes_1, plannedStartTime_1, plannedEndTime_1, ...args_1) => __awaiter(this, [billMonth_1, energyTypes_1, parkIds_1, billSource_1, startTime_1, endTime_1, srmAreaCodes_1, srmXwCodes_1, srmCenterCodes_1, plannedStartTime_1, plannedEndTime_1, ...args_1], void 0, function* (billMonth, energyTypes, parkIds, billSource, startTime, endTime, srmAreaCodes, srmXwCodes, srmCenterCodes, plannedStartTime, plannedEndTime, options = {}) {
|
|
86
|
+
// verify required parameter 'billMonth' is not null or undefined
|
|
87
|
+
assertParamExists('getAnalysisListExport', 'billMonth', billMonth);
|
|
88
|
+
// verify required parameter 'energyTypes' is not null or undefined
|
|
89
|
+
assertParamExists('getAnalysisListExport', 'energyTypes', energyTypes);
|
|
90
|
+
const localVarPath = `/gizone/energy/cost/analysis/list/export`;
|
|
91
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
92
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
93
|
+
let baseOptions;
|
|
94
|
+
if (configuration) {
|
|
95
|
+
baseOptions = configuration.baseOptions;
|
|
96
|
+
}
|
|
97
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
98
|
+
const localVarHeaderParameter = {};
|
|
99
|
+
const localVarQueryParameter = {};
|
|
100
|
+
// authentication tokenScheme required
|
|
101
|
+
// http bearer authentication required
|
|
102
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
103
|
+
if (billMonth !== undefined) {
|
|
104
|
+
localVarQueryParameter['billMonth'] = billMonth;
|
|
105
|
+
}
|
|
106
|
+
if (energyTypes !== undefined) {
|
|
107
|
+
localVarQueryParameter['energyTypes'] = energyTypes;
|
|
108
|
+
}
|
|
109
|
+
if (parkIds !== undefined) {
|
|
110
|
+
localVarQueryParameter['parkIds'] = parkIds;
|
|
111
|
+
}
|
|
112
|
+
if (billSource !== undefined) {
|
|
113
|
+
localVarQueryParameter['billSource'] = billSource;
|
|
114
|
+
}
|
|
115
|
+
if (startTime !== undefined) {
|
|
116
|
+
localVarQueryParameter['startTime'] = startTime;
|
|
117
|
+
}
|
|
118
|
+
if (endTime !== undefined) {
|
|
119
|
+
localVarQueryParameter['endTime'] = endTime;
|
|
120
|
+
}
|
|
121
|
+
if (srmAreaCodes !== undefined) {
|
|
122
|
+
localVarQueryParameter['srmAreaCodes'] = srmAreaCodes;
|
|
123
|
+
}
|
|
124
|
+
if (srmXwCodes !== undefined) {
|
|
125
|
+
localVarQueryParameter['srmXwCodes'] = srmXwCodes;
|
|
126
|
+
}
|
|
127
|
+
if (srmCenterCodes !== undefined) {
|
|
128
|
+
localVarQueryParameter['srmCenterCodes'] = srmCenterCodes;
|
|
129
|
+
}
|
|
130
|
+
if (plannedStartTime !== undefined) {
|
|
131
|
+
localVarQueryParameter['plannedStartTime'] = plannedStartTime;
|
|
132
|
+
}
|
|
133
|
+
if (plannedEndTime !== undefined) {
|
|
134
|
+
localVarQueryParameter['plannedEndTime'] = plannedEndTime;
|
|
135
|
+
}
|
|
136
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
137
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
138
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
139
|
+
return {
|
|
140
|
+
url: toPathString(localVarUrlObj),
|
|
141
|
+
options: localVarRequestOptions,
|
|
142
|
+
};
|
|
143
|
+
}),
|
|
68
144
|
/**
|
|
69
145
|
* 获取当年各场景的用量趋势图数据
|
|
70
146
|
* @summary 用量趋势分析
|
|
@@ -230,6 +306,82 @@ export const EnergyCostAnalysisControllerApiAxiosParamCreator = function (config
|
|
|
230
306
|
options: localVarRequestOptions,
|
|
231
307
|
};
|
|
232
308
|
}),
|
|
309
|
+
/**
|
|
310
|
+
* 二级面板
|
|
311
|
+
* @summary 二级面板-列表导出
|
|
312
|
+
* @param {string} billMonth 账单月,格式:yyyy-MM
|
|
313
|
+
* @param {string} energyTypes 能源类型列表
|
|
314
|
+
* @param {string} [parkIds] 园区ID列表
|
|
315
|
+
* @param {string} [billSource] 场景来源
|
|
316
|
+
* @param {string} [startTime] 开始时间
|
|
317
|
+
* @param {string} [endTime] 结束时间
|
|
318
|
+
* @param {string} [srmAreaCodes] SRM区域编码
|
|
319
|
+
* @param {string} [srmXwCodes] SRM小微编码
|
|
320
|
+
* @param {string} [srmCenterCodes] SRM中心编码
|
|
321
|
+
* @param {string} [plannedStartTime] 应执行开始时间
|
|
322
|
+
* @param {string} [plannedEndTime] 应执行结束时间
|
|
323
|
+
* @param {*} [options] Override http request option.
|
|
324
|
+
* @throws {RequiredError}
|
|
325
|
+
*/
|
|
326
|
+
twoListExport: (billMonth_1, energyTypes_1, parkIds_1, billSource_1, startTime_1, endTime_1, srmAreaCodes_1, srmXwCodes_1, srmCenterCodes_1, plannedStartTime_1, plannedEndTime_1, ...args_1) => __awaiter(this, [billMonth_1, energyTypes_1, parkIds_1, billSource_1, startTime_1, endTime_1, srmAreaCodes_1, srmXwCodes_1, srmCenterCodes_1, plannedStartTime_1, plannedEndTime_1, ...args_1], void 0, function* (billMonth, energyTypes, parkIds, billSource, startTime, endTime, srmAreaCodes, srmXwCodes, srmCenterCodes, plannedStartTime, plannedEndTime, options = {}) {
|
|
327
|
+
// verify required parameter 'billMonth' is not null or undefined
|
|
328
|
+
assertParamExists('twoListExport', 'billMonth', billMonth);
|
|
329
|
+
// verify required parameter 'energyTypes' is not null or undefined
|
|
330
|
+
assertParamExists('twoListExport', 'energyTypes', energyTypes);
|
|
331
|
+
const localVarPath = `/gizone/energy/cost/analysis/two-list/export`;
|
|
332
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
333
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
334
|
+
let baseOptions;
|
|
335
|
+
if (configuration) {
|
|
336
|
+
baseOptions = configuration.baseOptions;
|
|
337
|
+
}
|
|
338
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
339
|
+
const localVarHeaderParameter = {};
|
|
340
|
+
const localVarQueryParameter = {};
|
|
341
|
+
// authentication tokenScheme required
|
|
342
|
+
// http bearer authentication required
|
|
343
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
344
|
+
if (billMonth !== undefined) {
|
|
345
|
+
localVarQueryParameter['billMonth'] = billMonth;
|
|
346
|
+
}
|
|
347
|
+
if (energyTypes !== undefined) {
|
|
348
|
+
localVarQueryParameter['energyTypes'] = energyTypes;
|
|
349
|
+
}
|
|
350
|
+
if (parkIds !== undefined) {
|
|
351
|
+
localVarQueryParameter['parkIds'] = parkIds;
|
|
352
|
+
}
|
|
353
|
+
if (billSource !== undefined) {
|
|
354
|
+
localVarQueryParameter['billSource'] = billSource;
|
|
355
|
+
}
|
|
356
|
+
if (startTime !== undefined) {
|
|
357
|
+
localVarQueryParameter['startTime'] = startTime;
|
|
358
|
+
}
|
|
359
|
+
if (endTime !== undefined) {
|
|
360
|
+
localVarQueryParameter['endTime'] = endTime;
|
|
361
|
+
}
|
|
362
|
+
if (srmAreaCodes !== undefined) {
|
|
363
|
+
localVarQueryParameter['srmAreaCodes'] = srmAreaCodes;
|
|
364
|
+
}
|
|
365
|
+
if (srmXwCodes !== undefined) {
|
|
366
|
+
localVarQueryParameter['srmXwCodes'] = srmXwCodes;
|
|
367
|
+
}
|
|
368
|
+
if (srmCenterCodes !== undefined) {
|
|
369
|
+
localVarQueryParameter['srmCenterCodes'] = srmCenterCodes;
|
|
370
|
+
}
|
|
371
|
+
if (plannedStartTime !== undefined) {
|
|
372
|
+
localVarQueryParameter['plannedStartTime'] = plannedStartTime;
|
|
373
|
+
}
|
|
374
|
+
if (plannedEndTime !== undefined) {
|
|
375
|
+
localVarQueryParameter['plannedEndTime'] = plannedEndTime;
|
|
376
|
+
}
|
|
377
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
378
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
379
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
380
|
+
return {
|
|
381
|
+
url: toPathString(localVarUrlObj),
|
|
382
|
+
options: localVarRequestOptions,
|
|
383
|
+
};
|
|
384
|
+
}),
|
|
233
385
|
/**
|
|
234
386
|
* 二级面板
|
|
235
387
|
* @summary 二级面板-单平单价分析
|
|
@@ -387,6 +539,32 @@ export const EnergyCostAnalysisControllerApiFp = function (configuration) {
|
|
|
387
539
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
388
540
|
});
|
|
389
541
|
},
|
|
542
|
+
/**
|
|
543
|
+
* 获取账单分析列表数据
|
|
544
|
+
* @summary 分析列表数据-导出
|
|
545
|
+
* @param {string} billMonth 账单月,格式:yyyy-MM
|
|
546
|
+
* @param {string} energyTypes 能源类型列表
|
|
547
|
+
* @param {string} [parkIds] 园区ID列表
|
|
548
|
+
* @param {string} [billSource] 场景来源
|
|
549
|
+
* @param {string} [startTime] 开始时间
|
|
550
|
+
* @param {string} [endTime] 结束时间
|
|
551
|
+
* @param {string} [srmAreaCodes] SRM区域编码
|
|
552
|
+
* @param {string} [srmXwCodes] SRM小微编码
|
|
553
|
+
* @param {string} [srmCenterCodes] SRM中心编码
|
|
554
|
+
* @param {string} [plannedStartTime] 应执行开始时间
|
|
555
|
+
* @param {string} [plannedEndTime] 应执行结束时间
|
|
556
|
+
* @param {*} [options] Override http request option.
|
|
557
|
+
* @throws {RequiredError}
|
|
558
|
+
*/
|
|
559
|
+
getAnalysisListExport(billMonth, energyTypes, parkIds, billSource, startTime, endTime, srmAreaCodes, srmXwCodes, srmCenterCodes, plannedStartTime, plannedEndTime, options) {
|
|
560
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
561
|
+
var _a, _b, _c;
|
|
562
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAnalysisListExport(billMonth, energyTypes, parkIds, billSource, startTime, endTime, srmAreaCodes, srmXwCodes, srmCenterCodes, plannedStartTime, plannedEndTime, options);
|
|
563
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
564
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostAnalysisControllerApi.getAnalysisListExport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
565
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
566
|
+
});
|
|
567
|
+
},
|
|
390
568
|
/**
|
|
391
569
|
* 获取当年各场景的用量趋势图数据
|
|
392
570
|
* @summary 用量趋势分析
|
|
@@ -467,6 +645,32 @@ export const EnergyCostAnalysisControllerApiFp = function (configuration) {
|
|
|
467
645
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
468
646
|
});
|
|
469
647
|
},
|
|
648
|
+
/**
|
|
649
|
+
* 二级面板
|
|
650
|
+
* @summary 二级面板-列表导出
|
|
651
|
+
* @param {string} billMonth 账单月,格式:yyyy-MM
|
|
652
|
+
* @param {string} energyTypes 能源类型列表
|
|
653
|
+
* @param {string} [parkIds] 园区ID列表
|
|
654
|
+
* @param {string} [billSource] 场景来源
|
|
655
|
+
* @param {string} [startTime] 开始时间
|
|
656
|
+
* @param {string} [endTime] 结束时间
|
|
657
|
+
* @param {string} [srmAreaCodes] SRM区域编码
|
|
658
|
+
* @param {string} [srmXwCodes] SRM小微编码
|
|
659
|
+
* @param {string} [srmCenterCodes] SRM中心编码
|
|
660
|
+
* @param {string} [plannedStartTime] 应执行开始时间
|
|
661
|
+
* @param {string} [plannedEndTime] 应执行结束时间
|
|
662
|
+
* @param {*} [options] Override http request option.
|
|
663
|
+
* @throws {RequiredError}
|
|
664
|
+
*/
|
|
665
|
+
twoListExport(billMonth, energyTypes, parkIds, billSource, startTime, endTime, srmAreaCodes, srmXwCodes, srmCenterCodes, plannedStartTime, plannedEndTime, options) {
|
|
666
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
667
|
+
var _a, _b, _c;
|
|
668
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.twoListExport(billMonth, energyTypes, parkIds, billSource, startTime, endTime, srmAreaCodes, srmXwCodes, srmCenterCodes, plannedStartTime, plannedEndTime, options);
|
|
669
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
670
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostAnalysisControllerApi.twoListExport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
671
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
672
|
+
});
|
|
673
|
+
},
|
|
470
674
|
/**
|
|
471
675
|
* 二级面板
|
|
472
676
|
* @summary 二级面板-单平单价分析
|
|
@@ -550,6 +754,16 @@ export const EnergyCostAnalysisControllerApiFactory = function (configuration, b
|
|
|
550
754
|
getAnalysisList(requestParameters, options) {
|
|
551
755
|
return localVarFp.getAnalysisList(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(axios, basePath));
|
|
552
756
|
},
|
|
757
|
+
/**
|
|
758
|
+
* 获取账单分析列表数据
|
|
759
|
+
* @summary 分析列表数据-导出
|
|
760
|
+
* @param {EnergyCostAnalysisControllerApiGetAnalysisListExportRequest} requestParameters Request parameters.
|
|
761
|
+
* @param {*} [options] Override http request option.
|
|
762
|
+
* @throws {RequiredError}
|
|
763
|
+
*/
|
|
764
|
+
getAnalysisListExport(requestParameters, options) {
|
|
765
|
+
return localVarFp.getAnalysisListExport(requestParameters.billMonth, requestParameters.energyTypes, requestParameters.parkIds, requestParameters.billSource, requestParameters.startTime, requestParameters.endTime, requestParameters.srmAreaCodes, requestParameters.srmXwCodes, requestParameters.srmCenterCodes, requestParameters.plannedStartTime, requestParameters.plannedEndTime, options).then((request) => request(axios, basePath));
|
|
766
|
+
},
|
|
553
767
|
/**
|
|
554
768
|
* 获取当年各场景的用量趋势图数据
|
|
555
769
|
* @summary 用量趋势分析
|
|
@@ -600,6 +814,16 @@ export const EnergyCostAnalysisControllerApiFactory = function (configuration, b
|
|
|
600
814
|
twoList(requestParameters, options) {
|
|
601
815
|
return localVarFp.twoList(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(axios, basePath));
|
|
602
816
|
},
|
|
817
|
+
/**
|
|
818
|
+
* 二级面板
|
|
819
|
+
* @summary 二级面板-列表导出
|
|
820
|
+
* @param {EnergyCostAnalysisControllerApiTwoListExportRequest} requestParameters Request parameters.
|
|
821
|
+
* @param {*} [options] Override http request option.
|
|
822
|
+
* @throws {RequiredError}
|
|
823
|
+
*/
|
|
824
|
+
twoListExport(requestParameters, options) {
|
|
825
|
+
return localVarFp.twoListExport(requestParameters.billMonth, requestParameters.energyTypes, requestParameters.parkIds, requestParameters.billSource, requestParameters.startTime, requestParameters.endTime, requestParameters.srmAreaCodes, requestParameters.srmXwCodes, requestParameters.srmCenterCodes, requestParameters.plannedStartTime, requestParameters.plannedEndTime, options).then((request) => request(axios, basePath));
|
|
826
|
+
},
|
|
603
827
|
/**
|
|
604
828
|
* 二级面板
|
|
605
829
|
* @summary 二级面板-单平单价分析
|
|
@@ -660,6 +884,17 @@ export class EnergyCostAnalysisControllerApi extends BaseAPI {
|
|
|
660
884
|
getAnalysisList(requestParameters, options) {
|
|
661
885
|
return EnergyCostAnalysisControllerApiFp(this.configuration).getAnalysisList(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(this.axios, this.basePath));
|
|
662
886
|
}
|
|
887
|
+
/**
|
|
888
|
+
* 获取账单分析列表数据
|
|
889
|
+
* @summary 分析列表数据-导出
|
|
890
|
+
* @param {EnergyCostAnalysisControllerApiGetAnalysisListExportRequest} requestParameters Request parameters.
|
|
891
|
+
* @param {*} [options] Override http request option.
|
|
892
|
+
* @throws {RequiredError}
|
|
893
|
+
* @memberof EnergyCostAnalysisControllerApi
|
|
894
|
+
*/
|
|
895
|
+
getAnalysisListExport(requestParameters, options) {
|
|
896
|
+
return EnergyCostAnalysisControllerApiFp(this.configuration).getAnalysisListExport(requestParameters.billMonth, requestParameters.energyTypes, requestParameters.parkIds, requestParameters.billSource, requestParameters.startTime, requestParameters.endTime, requestParameters.srmAreaCodes, requestParameters.srmXwCodes, requestParameters.srmCenterCodes, requestParameters.plannedStartTime, requestParameters.plannedEndTime, options).then((request) => request(this.axios, this.basePath));
|
|
897
|
+
}
|
|
663
898
|
/**
|
|
664
899
|
* 获取当年各场景的用量趋势图数据
|
|
665
900
|
* @summary 用量趋势分析
|
|
@@ -715,6 +950,17 @@ export class EnergyCostAnalysisControllerApi extends BaseAPI {
|
|
|
715
950
|
twoList(requestParameters, options) {
|
|
716
951
|
return EnergyCostAnalysisControllerApiFp(this.configuration).twoList(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(this.axios, this.basePath));
|
|
717
952
|
}
|
|
953
|
+
/**
|
|
954
|
+
* 二级面板
|
|
955
|
+
* @summary 二级面板-列表导出
|
|
956
|
+
* @param {EnergyCostAnalysisControllerApiTwoListExportRequest} requestParameters Request parameters.
|
|
957
|
+
* @param {*} [options] Override http request option.
|
|
958
|
+
* @throws {RequiredError}
|
|
959
|
+
* @memberof EnergyCostAnalysisControllerApi
|
|
960
|
+
*/
|
|
961
|
+
twoListExport(requestParameters, options) {
|
|
962
|
+
return EnergyCostAnalysisControllerApiFp(this.configuration).twoListExport(requestParameters.billMonth, requestParameters.energyTypes, requestParameters.parkIds, requestParameters.billSource, requestParameters.startTime, requestParameters.endTime, requestParameters.srmAreaCodes, requestParameters.srmXwCodes, requestParameters.srmCenterCodes, requestParameters.plannedStartTime, requestParameters.plannedEndTime, options).then((request) => request(this.axios, this.basePath));
|
|
963
|
+
}
|
|
718
964
|
/**
|
|
719
965
|
* 二级面板
|
|
720
966
|
* @summary 二级面板-单平单价分析
|
|
@@ -21,7 +21,6 @@ import type { JsonResult } from '../models';
|
|
|
21
21
|
import type { JsonResultEnergyCostImportRedisVo } from '../models';
|
|
22
22
|
import type { JsonResultListEnergyCostMonthSettingListSummaryStandardsVO } from '../models';
|
|
23
23
|
import type { JsonResultListEnergyCostMonthSettingListVO } from '../models';
|
|
24
|
-
import type { UserBatchImportUploadRequest } from '../models';
|
|
25
24
|
/**
|
|
26
25
|
* EnergyCostControllerApi - axios parameter creator
|
|
27
26
|
* @export
|
|
@@ -47,11 +46,11 @@ export declare const EnergyCostControllerApiAxiosParamCreator: (configuration?:
|
|
|
47
46
|
*
|
|
48
47
|
* @summary 能源费用管理设置-上传文件
|
|
49
48
|
* @param {EnergyCostImportUploadEnergyTypeEnum} energyType
|
|
50
|
-
* @param {
|
|
49
|
+
* @param {File} file
|
|
51
50
|
* @param {*} [options] Override http request option.
|
|
52
51
|
* @throws {RequiredError}
|
|
53
52
|
*/
|
|
54
|
-
energyCostImportUpload: (energyType: EnergyCostImportUploadEnergyTypeEnum,
|
|
53
|
+
energyCostImportUpload: (energyType: EnergyCostImportUploadEnergyTypeEnum, file: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
55
54
|
/**
|
|
56
55
|
*
|
|
57
56
|
* @summary 能源费用管理设置-新增
|
|
@@ -152,11 +151,11 @@ export declare const EnergyCostControllerApiFp: (configuration?: Configuration)
|
|
|
152
151
|
*
|
|
153
152
|
* @summary 能源费用管理设置-上传文件
|
|
154
153
|
* @param {EnergyCostImportUploadEnergyTypeEnum} energyType
|
|
155
|
-
* @param {
|
|
154
|
+
* @param {File} file
|
|
156
155
|
* @param {*} [options] Override http request option.
|
|
157
156
|
* @throws {RequiredError}
|
|
158
157
|
*/
|
|
159
|
-
energyCostImportUpload(energyType: EnergyCostImportUploadEnergyTypeEnum,
|
|
158
|
+
energyCostImportUpload(energyType: EnergyCostImportUploadEnergyTypeEnum, file: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
|
|
160
159
|
/**
|
|
161
160
|
*
|
|
162
161
|
* @summary 能源费用管理设置-新增
|
|
@@ -372,10 +371,10 @@ export interface EnergyCostControllerApiEnergyCostImportUploadRequest {
|
|
|
372
371
|
readonly energyType: EnergyCostImportUploadEnergyTypeEnum;
|
|
373
372
|
/**
|
|
374
373
|
*
|
|
375
|
-
* @type {
|
|
374
|
+
* @type {File}
|
|
376
375
|
* @memberof EnergyCostControllerApiEnergyCostImportUpload
|
|
377
376
|
*/
|
|
378
|
-
readonly
|
|
377
|
+
readonly file: File;
|
|
379
378
|
}
|
|
380
379
|
/**
|
|
381
380
|
* Request parameters for energyCostMonthSettingAdd operation in EnergyCostControllerApi.
|
|
@@ -104,13 +104,15 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration)
|
|
|
104
104
|
*
|
|
105
105
|
* @summary 能源费用管理设置-上传文件
|
|
106
106
|
* @param {EnergyCostImportUploadEnergyTypeEnum} energyType
|
|
107
|
-
* @param {
|
|
107
|
+
* @param {File} file
|
|
108
108
|
* @param {*} [options] Override http request option.
|
|
109
109
|
* @throws {RequiredError}
|
|
110
110
|
*/
|
|
111
|
-
energyCostImportUpload: (energyType_1,
|
|
111
|
+
energyCostImportUpload: (energyType_1, file_1, ...args_1) => __awaiter(this, [energyType_1, file_1, ...args_1], void 0, function* (energyType, file, options = {}) {
|
|
112
112
|
// verify required parameter 'energyType' is not null or undefined
|
|
113
113
|
assertParamExists('energyCostImportUpload', 'energyType', energyType);
|
|
114
|
+
// verify required parameter 'file' is not null or undefined
|
|
115
|
+
assertParamExists('energyCostImportUpload', 'file', file);
|
|
114
116
|
const localVarPath = `/gizone/energy/cost/month/import/upload`;
|
|
115
117
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
116
118
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -121,17 +123,21 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration)
|
|
|
121
123
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
122
124
|
const localVarHeaderParameter = {};
|
|
123
125
|
const localVarQueryParameter = {};
|
|
126
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
124
127
|
// authentication tokenScheme required
|
|
125
128
|
// http bearer authentication required
|
|
126
129
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
127
130
|
if (energyType !== undefined) {
|
|
128
131
|
localVarQueryParameter['energyType'] = energyType;
|
|
129
132
|
}
|
|
130
|
-
|
|
133
|
+
if (file !== undefined) {
|
|
134
|
+
localVarFormParams.append('file', file);
|
|
135
|
+
}
|
|
136
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
131
137
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
132
138
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
133
139
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
134
|
-
localVarRequestOptions.data =
|
|
140
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
135
141
|
return {
|
|
136
142
|
url: toPathString(localVarUrlObj),
|
|
137
143
|
options: localVarRequestOptions,
|
|
@@ -487,14 +493,14 @@ export const EnergyCostControllerApiFp = function (configuration) {
|
|
|
487
493
|
*
|
|
488
494
|
* @summary 能源费用管理设置-上传文件
|
|
489
495
|
* @param {EnergyCostImportUploadEnergyTypeEnum} energyType
|
|
490
|
-
* @param {
|
|
496
|
+
* @param {File} file
|
|
491
497
|
* @param {*} [options] Override http request option.
|
|
492
498
|
* @throws {RequiredError}
|
|
493
499
|
*/
|
|
494
|
-
energyCostImportUpload(energyType,
|
|
500
|
+
energyCostImportUpload(energyType, file, options) {
|
|
495
501
|
return __awaiter(this, void 0, void 0, function* () {
|
|
496
502
|
var _a, _b, _c;
|
|
497
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostImportUpload(energyType,
|
|
503
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostImportUpload(energyType, file, options);
|
|
498
504
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
499
505
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostImportUpload']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
500
506
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -683,7 +689,7 @@ export const EnergyCostControllerApiFactory = function (configuration, basePath,
|
|
|
683
689
|
* @throws {RequiredError}
|
|
684
690
|
*/
|
|
685
691
|
energyCostImportUpload(requestParameters, options) {
|
|
686
|
-
return localVarFp.energyCostImportUpload(requestParameters.energyType, requestParameters.
|
|
692
|
+
return localVarFp.energyCostImportUpload(requestParameters.energyType, requestParameters.file, options).then((request) => request(axios, basePath));
|
|
687
693
|
},
|
|
688
694
|
/**
|
|
689
695
|
*
|
|
@@ -813,7 +819,7 @@ export class EnergyCostControllerApi extends BaseAPI {
|
|
|
813
819
|
* @memberof EnergyCostControllerApi
|
|
814
820
|
*/
|
|
815
821
|
energyCostImportUpload(requestParameters, options) {
|
|
816
|
-
return EnergyCostControllerApiFp(this.configuration).energyCostImportUpload(requestParameters.energyType, requestParameters.
|
|
822
|
+
return EnergyCostControllerApiFp(this.configuration).energyCostImportUpload(requestParameters.energyType, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
817
823
|
}
|
|
818
824
|
/**
|
|
819
825
|
*
|
|
@@ -64,6 +64,20 @@ export declare const EnergyCostRecordControllerApiAxiosParamCreator: (configurat
|
|
|
64
64
|
* @throws {RequiredError}
|
|
65
65
|
*/
|
|
66
66
|
energyCostAddRecordList: (page?: number, size?: number, billCode?: string, startTime?: string, endTime?: string, energyTypes?: Array<EnergyCostAddRecordListEnergyTypesEnum>, status?: Array<number>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @summary 新增能源消耗-列表导出
|
|
70
|
+
* @param {number} [page]
|
|
71
|
+
* @param {number} [size]
|
|
72
|
+
* @param {string} [billCode]
|
|
73
|
+
* @param {string} [startTime]
|
|
74
|
+
* @param {string} [endTime]
|
|
75
|
+
* @param {Array<EnergyCostAddRecordListExportEnergyTypesEnum>} [energyTypes]
|
|
76
|
+
* @param {Array<number>} [status]
|
|
77
|
+
* @param {*} [options] Override http request option.
|
|
78
|
+
* @throws {RequiredError}
|
|
79
|
+
*/
|
|
80
|
+
energyCostAddRecordListExport: (page?: number, size?: number, billCode?: string, startTime?: string, endTime?: string, energyTypes?: Array<EnergyCostAddRecordListExportEnergyTypesEnum>, status?: Array<number>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
81
|
/**
|
|
68
82
|
* 用于前端实时计算,返回计算结果,但不会将数据存入数据库。
|
|
69
83
|
* @summary 计算能源消耗(不保存)
|
|
@@ -142,6 +156,20 @@ export declare const EnergyCostRecordControllerApiFp: (configuration?: Configura
|
|
|
142
156
|
* @throws {RequiredError}
|
|
143
157
|
*/
|
|
144
158
|
energyCostAddRecordList(page?: number, size?: number, billCode?: string, startTime?: string, endTime?: string, energyTypes?: Array<EnergyCostAddRecordListEnergyTypesEnum>, status?: Array<number>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultIPageEnergyCostRecordInfoVO>>;
|
|
159
|
+
/**
|
|
160
|
+
*
|
|
161
|
+
* @summary 新增能源消耗-列表导出
|
|
162
|
+
* @param {number} [page]
|
|
163
|
+
* @param {number} [size]
|
|
164
|
+
* @param {string} [billCode]
|
|
165
|
+
* @param {string} [startTime]
|
|
166
|
+
* @param {string} [endTime]
|
|
167
|
+
* @param {Array<EnergyCostAddRecordListExportEnergyTypesEnum>} [energyTypes]
|
|
168
|
+
* @param {Array<number>} [status]
|
|
169
|
+
* @param {*} [options] Override http request option.
|
|
170
|
+
* @throws {RequiredError}
|
|
171
|
+
*/
|
|
172
|
+
energyCostAddRecordListExport(page?: number, size?: number, billCode?: string, startTime?: string, endTime?: string, energyTypes?: Array<EnergyCostAddRecordListExportEnergyTypesEnum>, status?: Array<number>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
145
173
|
/**
|
|
146
174
|
* 用于前端实时计算,返回计算结果,但不会将数据存入数据库。
|
|
147
175
|
* @summary 计算能源消耗(不保存)
|
|
@@ -212,6 +240,14 @@ export declare const EnergyCostRecordControllerApiFactory: (configuration?: Conf
|
|
|
212
240
|
* @throws {RequiredError}
|
|
213
241
|
*/
|
|
214
242
|
energyCostAddRecordList(requestParameters?: EnergyCostRecordControllerApiEnergyCostAddRecordListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultIPageEnergyCostRecordInfoVO>;
|
|
243
|
+
/**
|
|
244
|
+
*
|
|
245
|
+
* @summary 新增能源消耗-列表导出
|
|
246
|
+
* @param {EnergyCostRecordControllerApiEnergyCostAddRecordListExportRequest} requestParameters Request parameters.
|
|
247
|
+
* @param {*} [options] Override http request option.
|
|
248
|
+
* @throws {RequiredError}
|
|
249
|
+
*/
|
|
250
|
+
energyCostAddRecordListExport(requestParameters?: EnergyCostRecordControllerApiEnergyCostAddRecordListExportRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
215
251
|
/**
|
|
216
252
|
* 用于前端实时计算,返回计算结果,但不会将数据存入数据库。
|
|
217
253
|
* @summary 计算能源消耗(不保存)
|
|
@@ -345,6 +381,55 @@ export interface EnergyCostRecordControllerApiEnergyCostAddRecordListRequest {
|
|
|
345
381
|
*/
|
|
346
382
|
readonly status?: Array<number>;
|
|
347
383
|
}
|
|
384
|
+
/**
|
|
385
|
+
* Request parameters for energyCostAddRecordListExport operation in EnergyCostRecordControllerApi.
|
|
386
|
+
* @export
|
|
387
|
+
* @interface EnergyCostRecordControllerApiEnergyCostAddRecordListExportRequest
|
|
388
|
+
*/
|
|
389
|
+
export interface EnergyCostRecordControllerApiEnergyCostAddRecordListExportRequest {
|
|
390
|
+
/**
|
|
391
|
+
*
|
|
392
|
+
* @type {number}
|
|
393
|
+
* @memberof EnergyCostRecordControllerApiEnergyCostAddRecordListExport
|
|
394
|
+
*/
|
|
395
|
+
readonly page?: number;
|
|
396
|
+
/**
|
|
397
|
+
*
|
|
398
|
+
* @type {number}
|
|
399
|
+
* @memberof EnergyCostRecordControllerApiEnergyCostAddRecordListExport
|
|
400
|
+
*/
|
|
401
|
+
readonly size?: number;
|
|
402
|
+
/**
|
|
403
|
+
*
|
|
404
|
+
* @type {string}
|
|
405
|
+
* @memberof EnergyCostRecordControllerApiEnergyCostAddRecordListExport
|
|
406
|
+
*/
|
|
407
|
+
readonly billCode?: string;
|
|
408
|
+
/**
|
|
409
|
+
*
|
|
410
|
+
* @type {string}
|
|
411
|
+
* @memberof EnergyCostRecordControllerApiEnergyCostAddRecordListExport
|
|
412
|
+
*/
|
|
413
|
+
readonly startTime?: string;
|
|
414
|
+
/**
|
|
415
|
+
*
|
|
416
|
+
* @type {string}
|
|
417
|
+
* @memberof EnergyCostRecordControllerApiEnergyCostAddRecordListExport
|
|
418
|
+
*/
|
|
419
|
+
readonly endTime?: string;
|
|
420
|
+
/**
|
|
421
|
+
*
|
|
422
|
+
* @type {Array<'ELECTRIC' | 'WATER'>}
|
|
423
|
+
* @memberof EnergyCostRecordControllerApiEnergyCostAddRecordListExport
|
|
424
|
+
*/
|
|
425
|
+
readonly energyTypes?: Array<EnergyCostAddRecordListExportEnergyTypesEnum>;
|
|
426
|
+
/**
|
|
427
|
+
*
|
|
428
|
+
* @type {Array<number>}
|
|
429
|
+
* @memberof EnergyCostRecordControllerApiEnergyCostAddRecordListExport
|
|
430
|
+
*/
|
|
431
|
+
readonly status?: Array<number>;
|
|
432
|
+
}
|
|
348
433
|
/**
|
|
349
434
|
* Request parameters for energyCostAddRecordNext operation in EnergyCostRecordControllerApi.
|
|
350
435
|
* @export
|
|
@@ -440,6 +525,15 @@ export declare class EnergyCostRecordControllerApi extends BaseAPI {
|
|
|
440
525
|
* @memberof EnergyCostRecordControllerApi
|
|
441
526
|
*/
|
|
442
527
|
energyCostAddRecordList(requestParameters?: EnergyCostRecordControllerApiEnergyCostAddRecordListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultIPageEnergyCostRecordInfoVO, any, {}>>;
|
|
528
|
+
/**
|
|
529
|
+
*
|
|
530
|
+
* @summary 新增能源消耗-列表导出
|
|
531
|
+
* @param {EnergyCostRecordControllerApiEnergyCostAddRecordListExportRequest} requestParameters Request parameters.
|
|
532
|
+
* @param {*} [options] Override http request option.
|
|
533
|
+
* @throws {RequiredError}
|
|
534
|
+
* @memberof EnergyCostRecordControllerApi
|
|
535
|
+
*/
|
|
536
|
+
energyCostAddRecordListExport(requestParameters?: EnergyCostRecordControllerApiEnergyCostAddRecordListExportRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
443
537
|
/**
|
|
444
538
|
* 用于前端实时计算,返回计算结果,但不会将数据存入数据库。
|
|
445
539
|
* @summary 计算能源消耗(不保存)
|
|
@@ -485,3 +579,11 @@ export declare const EnergyCostAddRecordListEnergyTypesEnum: {
|
|
|
485
579
|
readonly Water: "WATER";
|
|
486
580
|
};
|
|
487
581
|
export type EnergyCostAddRecordListEnergyTypesEnum = typeof EnergyCostAddRecordListEnergyTypesEnum[keyof typeof EnergyCostAddRecordListEnergyTypesEnum];
|
|
582
|
+
/**
|
|
583
|
+
* @export
|
|
584
|
+
*/
|
|
585
|
+
export declare const EnergyCostAddRecordListExportEnergyTypesEnum: {
|
|
586
|
+
readonly Electric: "ELECTRIC";
|
|
587
|
+
readonly Water: "WATER";
|
|
588
|
+
};
|
|
589
|
+
export type EnergyCostAddRecordListExportEnergyTypesEnum = typeof EnergyCostAddRecordListExportEnergyTypesEnum[keyof typeof EnergyCostAddRecordListExportEnergyTypesEnum];
|