@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.
Files changed (26) hide show
  1. package/apis/energy-cost-analysis-controller-api.ts +444 -0
  2. package/apis/energy-cost-controller-api.ts +19 -14
  3. package/apis/energy-cost-record-controller-api.ts +174 -0
  4. package/dist/apis/energy-cost-analysis-controller-api.d.ts +252 -0
  5. package/dist/apis/energy-cost-analysis-controller-api.js +246 -0
  6. package/dist/apis/energy-cost-controller-api.d.ts +6 -7
  7. package/dist/apis/energy-cost-controller-api.js +15 -9
  8. package/dist/apis/energy-cost-record-controller-api.d.ts +102 -0
  9. package/dist/apis/energy-cost-record-controller-api.js +107 -1
  10. package/dist/esm/apis/energy-cost-analysis-controller-api.d.ts +252 -0
  11. package/dist/esm/apis/energy-cost-analysis-controller-api.js +246 -0
  12. package/dist/esm/apis/energy-cost-controller-api.d.ts +6 -7
  13. package/dist/esm/apis/energy-cost-controller-api.js +15 -9
  14. package/dist/esm/apis/energy-cost-record-controller-api.d.ts +102 -0
  15. package/dist/esm/apis/energy-cost-record-controller-api.js +106 -0
  16. package/dist/esm/models/energy-cost-add-record-dto.d.ts +3 -3
  17. package/dist/esm/models/ipage-energy-cost-record-info-vo.d.ts +4 -4
  18. package/dist/esm/models/sys-user.d.ts +4 -4
  19. package/dist/models/energy-cost-add-record-dto.d.ts +3 -3
  20. package/dist/models/ipage-energy-cost-record-info-vo.d.ts +4 -4
  21. package/dist/models/sys-user.d.ts +4 -4
  22. package/models/energy-cost-add-record-dto.ts +3 -3
  23. package/models/ipage-energy-cost-record-info-vo.ts +4 -4
  24. package/models/sys-user.ts +4 -4
  25. package/ossutil.log +1122 -1116
  26. package/package.json +1 -1
@@ -83,6 +83,99 @@ export const EnergyCostAnalysisControllerApiAxiosParamCreator = function (config
83
83
  options: localVarRequestOptions,
84
84
  };
85
85
  },
86
+ /**
87
+ * 获取账单分析列表数据
88
+ * @summary 分析列表数据-导出
89
+ * @param {string} billMonth 账单月,格式:yyyy-MM
90
+ * @param {string} energyTypes 能源类型列表
91
+ * @param {string} [parkIds] 园区ID列表
92
+ * @param {string} [billSource] 场景来源
93
+ * @param {string} [startTime] 开始时间
94
+ * @param {string} [endTime] 结束时间
95
+ * @param {string} [srmAreaCodes] SRM区域编码
96
+ * @param {string} [srmXwCodes] SRM小微编码
97
+ * @param {string} [srmCenterCodes] SRM中心编码
98
+ * @param {string} [plannedStartTime] 应执行开始时间
99
+ * @param {string} [plannedEndTime] 应执行结束时间
100
+ * @param {*} [options] Override http request option.
101
+ * @throws {RequiredError}
102
+ */
103
+ getAnalysisListExport: async (billMonth: string, energyTypes: string, parkIds?: string, billSource?: string, startTime?: string, endTime?: string, srmAreaCodes?: string, srmXwCodes?: string, srmCenterCodes?: string, plannedStartTime?: string, plannedEndTime?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
104
+ // verify required parameter 'billMonth' is not null or undefined
105
+ assertParamExists('getAnalysisListExport', 'billMonth', billMonth)
106
+ // verify required parameter 'energyTypes' is not null or undefined
107
+ assertParamExists('getAnalysisListExport', 'energyTypes', energyTypes)
108
+ const localVarPath = `/gizone/energy/cost/analysis/list/export`;
109
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
110
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
111
+ let baseOptions;
112
+ if (configuration) {
113
+ baseOptions = configuration.baseOptions;
114
+ }
115
+
116
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
117
+ const localVarHeaderParameter = {} as any;
118
+ const localVarQueryParameter = {} as any;
119
+
120
+ // authentication tokenScheme required
121
+ // http bearer authentication required
122
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
123
+
124
+ if (billMonth !== undefined) {
125
+ localVarQueryParameter['billMonth'] = billMonth;
126
+ }
127
+
128
+ if (energyTypes !== undefined) {
129
+ localVarQueryParameter['energyTypes'] = energyTypes;
130
+ }
131
+
132
+ if (parkIds !== undefined) {
133
+ localVarQueryParameter['parkIds'] = parkIds;
134
+ }
135
+
136
+ if (billSource !== undefined) {
137
+ localVarQueryParameter['billSource'] = billSource;
138
+ }
139
+
140
+ if (startTime !== undefined) {
141
+ localVarQueryParameter['startTime'] = startTime;
142
+ }
143
+
144
+ if (endTime !== undefined) {
145
+ localVarQueryParameter['endTime'] = endTime;
146
+ }
147
+
148
+ if (srmAreaCodes !== undefined) {
149
+ localVarQueryParameter['srmAreaCodes'] = srmAreaCodes;
150
+ }
151
+
152
+ if (srmXwCodes !== undefined) {
153
+ localVarQueryParameter['srmXwCodes'] = srmXwCodes;
154
+ }
155
+
156
+ if (srmCenterCodes !== undefined) {
157
+ localVarQueryParameter['srmCenterCodes'] = srmCenterCodes;
158
+ }
159
+
160
+ if (plannedStartTime !== undefined) {
161
+ localVarQueryParameter['plannedStartTime'] = plannedStartTime;
162
+ }
163
+
164
+ if (plannedEndTime !== undefined) {
165
+ localVarQueryParameter['plannedEndTime'] = plannedEndTime;
166
+ }
167
+
168
+
169
+
170
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
171
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
172
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
173
+
174
+ return {
175
+ url: toPathString(localVarUrlObj),
176
+ options: localVarRequestOptions,
177
+ };
178
+ },
86
179
  /**
87
180
  * 获取当年各场景的用量趋势图数据
88
181
  * @summary 用量趋势分析
@@ -283,6 +376,99 @@ export const EnergyCostAnalysisControllerApiAxiosParamCreator = function (config
283
376
  options: localVarRequestOptions,
284
377
  };
285
378
  },
379
+ /**
380
+ * 二级面板
381
+ * @summary 二级面板-列表导出
382
+ * @param {string} billMonth 账单月,格式:yyyy-MM
383
+ * @param {string} energyTypes 能源类型列表
384
+ * @param {string} [parkIds] 园区ID列表
385
+ * @param {string} [billSource] 场景来源
386
+ * @param {string} [startTime] 开始时间
387
+ * @param {string} [endTime] 结束时间
388
+ * @param {string} [srmAreaCodes] SRM区域编码
389
+ * @param {string} [srmXwCodes] SRM小微编码
390
+ * @param {string} [srmCenterCodes] SRM中心编码
391
+ * @param {string} [plannedStartTime] 应执行开始时间
392
+ * @param {string} [plannedEndTime] 应执行结束时间
393
+ * @param {*} [options] Override http request option.
394
+ * @throws {RequiredError}
395
+ */
396
+ twoListExport: async (billMonth: string, energyTypes: string, parkIds?: string, billSource?: string, startTime?: string, endTime?: string, srmAreaCodes?: string, srmXwCodes?: string, srmCenterCodes?: string, plannedStartTime?: string, plannedEndTime?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
397
+ // verify required parameter 'billMonth' is not null or undefined
398
+ assertParamExists('twoListExport', 'billMonth', billMonth)
399
+ // verify required parameter 'energyTypes' is not null or undefined
400
+ assertParamExists('twoListExport', 'energyTypes', energyTypes)
401
+ const localVarPath = `/gizone/energy/cost/analysis/two-list/export`;
402
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
403
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
404
+ let baseOptions;
405
+ if (configuration) {
406
+ baseOptions = configuration.baseOptions;
407
+ }
408
+
409
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
410
+ const localVarHeaderParameter = {} as any;
411
+ const localVarQueryParameter = {} as any;
412
+
413
+ // authentication tokenScheme required
414
+ // http bearer authentication required
415
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
416
+
417
+ if (billMonth !== undefined) {
418
+ localVarQueryParameter['billMonth'] = billMonth;
419
+ }
420
+
421
+ if (energyTypes !== undefined) {
422
+ localVarQueryParameter['energyTypes'] = energyTypes;
423
+ }
424
+
425
+ if (parkIds !== undefined) {
426
+ localVarQueryParameter['parkIds'] = parkIds;
427
+ }
428
+
429
+ if (billSource !== undefined) {
430
+ localVarQueryParameter['billSource'] = billSource;
431
+ }
432
+
433
+ if (startTime !== undefined) {
434
+ localVarQueryParameter['startTime'] = startTime;
435
+ }
436
+
437
+ if (endTime !== undefined) {
438
+ localVarQueryParameter['endTime'] = endTime;
439
+ }
440
+
441
+ if (srmAreaCodes !== undefined) {
442
+ localVarQueryParameter['srmAreaCodes'] = srmAreaCodes;
443
+ }
444
+
445
+ if (srmXwCodes !== undefined) {
446
+ localVarQueryParameter['srmXwCodes'] = srmXwCodes;
447
+ }
448
+
449
+ if (srmCenterCodes !== undefined) {
450
+ localVarQueryParameter['srmCenterCodes'] = srmCenterCodes;
451
+ }
452
+
453
+ if (plannedStartTime !== undefined) {
454
+ localVarQueryParameter['plannedStartTime'] = plannedStartTime;
455
+ }
456
+
457
+ if (plannedEndTime !== undefined) {
458
+ localVarQueryParameter['plannedEndTime'] = plannedEndTime;
459
+ }
460
+
461
+
462
+
463
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
464
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
465
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
466
+
467
+ return {
468
+ url: toPathString(localVarUrlObj),
469
+ options: localVarRequestOptions,
470
+ };
471
+ },
286
472
  /**
287
473
  * 二级面板
288
474
  * @summary 二级面板-单平单价分析
@@ -466,6 +652,29 @@ export const EnergyCostAnalysisControllerApiFp = function(configuration?: Config
466
652
  const localVarOperationServerBasePath = operationServerMap['EnergyCostAnalysisControllerApi.getAnalysisList']?.[localVarOperationServerIndex]?.url;
467
653
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
468
654
  },
655
+ /**
656
+ * 获取账单分析列表数据
657
+ * @summary 分析列表数据-导出
658
+ * @param {string} billMonth 账单月,格式:yyyy-MM
659
+ * @param {string} energyTypes 能源类型列表
660
+ * @param {string} [parkIds] 园区ID列表
661
+ * @param {string} [billSource] 场景来源
662
+ * @param {string} [startTime] 开始时间
663
+ * @param {string} [endTime] 结束时间
664
+ * @param {string} [srmAreaCodes] SRM区域编码
665
+ * @param {string} [srmXwCodes] SRM小微编码
666
+ * @param {string} [srmCenterCodes] SRM中心编码
667
+ * @param {string} [plannedStartTime] 应执行开始时间
668
+ * @param {string} [plannedEndTime] 应执行结束时间
669
+ * @param {*} [options] Override http request option.
670
+ * @throws {RequiredError}
671
+ */
672
+ async getAnalysisListExport(billMonth: string, energyTypes: string, parkIds?: string, billSource?: string, startTime?: string, endTime?: string, srmAreaCodes?: string, srmXwCodes?: string, srmCenterCodes?: string, plannedStartTime?: string, plannedEndTime?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
673
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAnalysisListExport(billMonth, energyTypes, parkIds, billSource, startTime, endTime, srmAreaCodes, srmXwCodes, srmCenterCodes, plannedStartTime, plannedEndTime, options);
674
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
675
+ const localVarOperationServerBasePath = operationServerMap['EnergyCostAnalysisControllerApi.getAnalysisListExport']?.[localVarOperationServerIndex]?.url;
676
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
677
+ },
469
678
  /**
470
679
  * 获取当年各场景的用量趋势图数据
471
680
  * @summary 用量趋势分析
@@ -531,6 +740,29 @@ export const EnergyCostAnalysisControllerApiFp = function(configuration?: Config
531
740
  const localVarOperationServerBasePath = operationServerMap['EnergyCostAnalysisControllerApi.twoList']?.[localVarOperationServerIndex]?.url;
532
741
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
533
742
  },
743
+ /**
744
+ * 二级面板
745
+ * @summary 二级面板-列表导出
746
+ * @param {string} billMonth 账单月,格式:yyyy-MM
747
+ * @param {string} energyTypes 能源类型列表
748
+ * @param {string} [parkIds] 园区ID列表
749
+ * @param {string} [billSource] 场景来源
750
+ * @param {string} [startTime] 开始时间
751
+ * @param {string} [endTime] 结束时间
752
+ * @param {string} [srmAreaCodes] SRM区域编码
753
+ * @param {string} [srmXwCodes] SRM小微编码
754
+ * @param {string} [srmCenterCodes] SRM中心编码
755
+ * @param {string} [plannedStartTime] 应执行开始时间
756
+ * @param {string} [plannedEndTime] 应执行结束时间
757
+ * @param {*} [options] Override http request option.
758
+ * @throws {RequiredError}
759
+ */
760
+ async twoListExport(billMonth: string, energyTypes: string, parkIds?: string, billSource?: string, startTime?: string, endTime?: string, srmAreaCodes?: string, srmXwCodes?: string, srmCenterCodes?: string, plannedStartTime?: string, plannedEndTime?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
761
+ const localVarAxiosArgs = await localVarAxiosParamCreator.twoListExport(billMonth, energyTypes, parkIds, billSource, startTime, endTime, srmAreaCodes, srmXwCodes, srmCenterCodes, plannedStartTime, plannedEndTime, options);
762
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
763
+ const localVarOperationServerBasePath = operationServerMap['EnergyCostAnalysisControllerApi.twoListExport']?.[localVarOperationServerIndex]?.url;
764
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
765
+ },
534
766
  /**
535
767
  * 二级面板
536
768
  * @summary 二级面板-单平单价分析
@@ -603,6 +835,16 @@ export const EnergyCostAnalysisControllerApiFactory = function (configuration?:
603
835
  getAnalysisList(requestParameters: EnergyCostAnalysisControllerApiGetAnalysisListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListEnergyCostAnalysisListVO> {
604
836
  return localVarFp.getAnalysisList(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(axios, basePath));
605
837
  },
838
+ /**
839
+ * 获取账单分析列表数据
840
+ * @summary 分析列表数据-导出
841
+ * @param {EnergyCostAnalysisControllerApiGetAnalysisListExportRequest} requestParameters Request parameters.
842
+ * @param {*} [options] Override http request option.
843
+ * @throws {RequiredError}
844
+ */
845
+ getAnalysisListExport(requestParameters: EnergyCostAnalysisControllerApiGetAnalysisListExportRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
846
+ 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));
847
+ },
606
848
  /**
607
849
  * 获取当年各场景的用量趋势图数据
608
850
  * @summary 用量趋势分析
@@ -653,6 +895,16 @@ export const EnergyCostAnalysisControllerApiFactory = function (configuration?:
653
895
  twoList(requestParameters: EnergyCostAnalysisControllerApiTwoListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListEnergyCostTwoListVO> {
654
896
  return localVarFp.twoList(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(axios, basePath));
655
897
  },
898
+ /**
899
+ * 二级面板
900
+ * @summary 二级面板-列表导出
901
+ * @param {EnergyCostAnalysisControllerApiTwoListExportRequest} requestParameters Request parameters.
902
+ * @param {*} [options] Override http request option.
903
+ * @throws {RequiredError}
904
+ */
905
+ twoListExport(requestParameters: EnergyCostAnalysisControllerApiTwoListExportRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
906
+ 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));
907
+ },
656
908
  /**
657
909
  * 二级面板
658
910
  * @summary 二级面板-单平单价分析
@@ -710,6 +962,90 @@ export interface EnergyCostAnalysisControllerApiGetAnalysisListRequest {
710
962
  readonly energyCostAnalysisQueryDTO: EnergyCostAnalysisQueryDTO
711
963
  }
712
964
 
965
+ /**
966
+ * Request parameters for getAnalysisListExport operation in EnergyCostAnalysisControllerApi.
967
+ * @export
968
+ * @interface EnergyCostAnalysisControllerApiGetAnalysisListExportRequest
969
+ */
970
+ export interface EnergyCostAnalysisControllerApiGetAnalysisListExportRequest {
971
+ /**
972
+ * 账单月,格式:yyyy-MM
973
+ * @type {string}
974
+ * @memberof EnergyCostAnalysisControllerApiGetAnalysisListExport
975
+ */
976
+ readonly billMonth: string
977
+
978
+ /**
979
+ * 能源类型列表
980
+ * @type {string}
981
+ * @memberof EnergyCostAnalysisControllerApiGetAnalysisListExport
982
+ */
983
+ readonly energyTypes: string
984
+
985
+ /**
986
+ * 园区ID列表
987
+ * @type {string}
988
+ * @memberof EnergyCostAnalysisControllerApiGetAnalysisListExport
989
+ */
990
+ readonly parkIds?: string
991
+
992
+ /**
993
+ * 场景来源
994
+ * @type {string}
995
+ * @memberof EnergyCostAnalysisControllerApiGetAnalysisListExport
996
+ */
997
+ readonly billSource?: string
998
+
999
+ /**
1000
+ * 开始时间
1001
+ * @type {string}
1002
+ * @memberof EnergyCostAnalysisControllerApiGetAnalysisListExport
1003
+ */
1004
+ readonly startTime?: string
1005
+
1006
+ /**
1007
+ * 结束时间
1008
+ * @type {string}
1009
+ * @memberof EnergyCostAnalysisControllerApiGetAnalysisListExport
1010
+ */
1011
+ readonly endTime?: string
1012
+
1013
+ /**
1014
+ * SRM区域编码
1015
+ * @type {string}
1016
+ * @memberof EnergyCostAnalysisControllerApiGetAnalysisListExport
1017
+ */
1018
+ readonly srmAreaCodes?: string
1019
+
1020
+ /**
1021
+ * SRM小微编码
1022
+ * @type {string}
1023
+ * @memberof EnergyCostAnalysisControllerApiGetAnalysisListExport
1024
+ */
1025
+ readonly srmXwCodes?: string
1026
+
1027
+ /**
1028
+ * SRM中心编码
1029
+ * @type {string}
1030
+ * @memberof EnergyCostAnalysisControllerApiGetAnalysisListExport
1031
+ */
1032
+ readonly srmCenterCodes?: string
1033
+
1034
+ /**
1035
+ * 应执行开始时间
1036
+ * @type {string}
1037
+ * @memberof EnergyCostAnalysisControllerApiGetAnalysisListExport
1038
+ */
1039
+ readonly plannedStartTime?: string
1040
+
1041
+ /**
1042
+ * 应执行结束时间
1043
+ * @type {string}
1044
+ * @memberof EnergyCostAnalysisControllerApiGetAnalysisListExport
1045
+ */
1046
+ readonly plannedEndTime?: string
1047
+ }
1048
+
713
1049
  /**
714
1050
  * Request parameters for getUsageTrend operation in EnergyCostAnalysisControllerApi.
715
1051
  * @export
@@ -780,6 +1116,90 @@ export interface EnergyCostAnalysisControllerApiTwoListRequest {
780
1116
  readonly energyCostAnalysisQueryDTO: EnergyCostAnalysisQueryDTO
781
1117
  }
782
1118
 
1119
+ /**
1120
+ * Request parameters for twoListExport operation in EnergyCostAnalysisControllerApi.
1121
+ * @export
1122
+ * @interface EnergyCostAnalysisControllerApiTwoListExportRequest
1123
+ */
1124
+ export interface EnergyCostAnalysisControllerApiTwoListExportRequest {
1125
+ /**
1126
+ * 账单月,格式:yyyy-MM
1127
+ * @type {string}
1128
+ * @memberof EnergyCostAnalysisControllerApiTwoListExport
1129
+ */
1130
+ readonly billMonth: string
1131
+
1132
+ /**
1133
+ * 能源类型列表
1134
+ * @type {string}
1135
+ * @memberof EnergyCostAnalysisControllerApiTwoListExport
1136
+ */
1137
+ readonly energyTypes: string
1138
+
1139
+ /**
1140
+ * 园区ID列表
1141
+ * @type {string}
1142
+ * @memberof EnergyCostAnalysisControllerApiTwoListExport
1143
+ */
1144
+ readonly parkIds?: string
1145
+
1146
+ /**
1147
+ * 场景来源
1148
+ * @type {string}
1149
+ * @memberof EnergyCostAnalysisControllerApiTwoListExport
1150
+ */
1151
+ readonly billSource?: string
1152
+
1153
+ /**
1154
+ * 开始时间
1155
+ * @type {string}
1156
+ * @memberof EnergyCostAnalysisControllerApiTwoListExport
1157
+ */
1158
+ readonly startTime?: string
1159
+
1160
+ /**
1161
+ * 结束时间
1162
+ * @type {string}
1163
+ * @memberof EnergyCostAnalysisControllerApiTwoListExport
1164
+ */
1165
+ readonly endTime?: string
1166
+
1167
+ /**
1168
+ * SRM区域编码
1169
+ * @type {string}
1170
+ * @memberof EnergyCostAnalysisControllerApiTwoListExport
1171
+ */
1172
+ readonly srmAreaCodes?: string
1173
+
1174
+ /**
1175
+ * SRM小微编码
1176
+ * @type {string}
1177
+ * @memberof EnergyCostAnalysisControllerApiTwoListExport
1178
+ */
1179
+ readonly srmXwCodes?: string
1180
+
1181
+ /**
1182
+ * SRM中心编码
1183
+ * @type {string}
1184
+ * @memberof EnergyCostAnalysisControllerApiTwoListExport
1185
+ */
1186
+ readonly srmCenterCodes?: string
1187
+
1188
+ /**
1189
+ * 应执行开始时间
1190
+ * @type {string}
1191
+ * @memberof EnergyCostAnalysisControllerApiTwoListExport
1192
+ */
1193
+ readonly plannedStartTime?: string
1194
+
1195
+ /**
1196
+ * 应执行结束时间
1197
+ * @type {string}
1198
+ * @memberof EnergyCostAnalysisControllerApiTwoListExport
1199
+ */
1200
+ readonly plannedEndTime?: string
1201
+ }
1202
+
783
1203
  /**
784
1204
  * Request parameters for twoPerAreaAnalysis operation in EnergyCostAnalysisControllerApi.
785
1205
  * @export
@@ -855,6 +1275,18 @@ export class EnergyCostAnalysisControllerApi extends BaseAPI {
855
1275
  return EnergyCostAnalysisControllerApiFp(this.configuration).getAnalysisList(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(this.axios, this.basePath));
856
1276
  }
857
1277
 
1278
+ /**
1279
+ * 获取账单分析列表数据
1280
+ * @summary 分析列表数据-导出
1281
+ * @param {EnergyCostAnalysisControllerApiGetAnalysisListExportRequest} requestParameters Request parameters.
1282
+ * @param {*} [options] Override http request option.
1283
+ * @throws {RequiredError}
1284
+ * @memberof EnergyCostAnalysisControllerApi
1285
+ */
1286
+ public getAnalysisListExport(requestParameters: EnergyCostAnalysisControllerApiGetAnalysisListExportRequest, options?: RawAxiosRequestConfig) {
1287
+ 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));
1288
+ }
1289
+
858
1290
  /**
859
1291
  * 获取当年各场景的用量趋势图数据
860
1292
  * @summary 用量趋势分析
@@ -915,6 +1347,18 @@ export class EnergyCostAnalysisControllerApi extends BaseAPI {
915
1347
  return EnergyCostAnalysisControllerApiFp(this.configuration).twoList(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(this.axios, this.basePath));
916
1348
  }
917
1349
 
1350
+ /**
1351
+ * 二级面板
1352
+ * @summary 二级面板-列表导出
1353
+ * @param {EnergyCostAnalysisControllerApiTwoListExportRequest} requestParameters Request parameters.
1354
+ * @param {*} [options] Override http request option.
1355
+ * @throws {RequiredError}
1356
+ * @memberof EnergyCostAnalysisControllerApi
1357
+ */
1358
+ public twoListExport(requestParameters: EnergyCostAnalysisControllerApiTwoListExportRequest, options?: RawAxiosRequestConfig) {
1359
+ 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));
1360
+ }
1361
+
918
1362
  /**
919
1363
  * 二级面板
920
1364
  * @summary 二级面板-单平单价分析
@@ -39,8 +39,6 @@ import type { JsonResultEnergyCostImportRedisVo } from '../models';
39
39
  import type { JsonResultListEnergyCostMonthSettingListSummaryStandardsVO } from '../models';
40
40
  // @ts-ignore
41
41
  import type { JsonResultListEnergyCostMonthSettingListVO } from '../models';
42
- // @ts-ignore
43
- import type { UserBatchImportUploadRequest } from '../models';
44
42
  /**
45
43
  * EnergyCostControllerApi - axios parameter creator
46
44
  * @export
@@ -133,13 +131,15 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration?
133
131
  *
134
132
  * @summary 能源费用管理设置-上传文件
135
133
  * @param {EnergyCostImportUploadEnergyTypeEnum} energyType
136
- * @param {UserBatchImportUploadRequest} [userBatchImportUploadRequest]
134
+ * @param {File} file
137
135
  * @param {*} [options] Override http request option.
138
136
  * @throws {RequiredError}
139
137
  */
140
- energyCostImportUpload: async (energyType: EnergyCostImportUploadEnergyTypeEnum, userBatchImportUploadRequest?: UserBatchImportUploadRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
138
+ energyCostImportUpload: async (energyType: EnergyCostImportUploadEnergyTypeEnum, file: File, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
141
139
  // verify required parameter 'energyType' is not null or undefined
142
140
  assertParamExists('energyCostImportUpload', 'energyType', energyType)
141
+ // verify required parameter 'file' is not null or undefined
142
+ assertParamExists('energyCostImportUpload', 'file', file)
143
143
  const localVarPath = `/gizone/energy/cost/month/import/upload`;
144
144
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
145
145
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -151,6 +151,7 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration?
151
151
  const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
152
152
  const localVarHeaderParameter = {} as any;
153
153
  const localVarQueryParameter = {} as any;
154
+ const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
154
155
 
155
156
  // authentication tokenScheme required
156
157
  // http bearer authentication required
@@ -161,13 +162,17 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration?
161
162
  }
162
163
 
163
164
 
165
+ if (file !== undefined) {
166
+ localVarFormParams.append('file', file as any);
167
+ }
168
+
169
+
170
+ localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
164
171
 
165
- localVarHeaderParameter['Content-Type'] = 'application/json';
166
-
167
172
  setSearchParams(localVarUrlObj, localVarQueryParameter);
168
173
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
169
174
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
170
- localVarRequestOptions.data = serializeDataIfNeeded(userBatchImportUploadRequest, localVarRequestOptions, configuration)
175
+ localVarRequestOptions.data = localVarFormParams;
171
176
 
172
177
  return {
173
178
  url: toPathString(localVarUrlObj),
@@ -584,12 +589,12 @@ export const EnergyCostControllerApiFp = function(configuration?: Configuration)
584
589
  *
585
590
  * @summary 能源费用管理设置-上传文件
586
591
  * @param {EnergyCostImportUploadEnergyTypeEnum} energyType
587
- * @param {UserBatchImportUploadRequest} [userBatchImportUploadRequest]
592
+ * @param {File} file
588
593
  * @param {*} [options] Override http request option.
589
594
  * @throws {RequiredError}
590
595
  */
591
- async energyCostImportUpload(energyType: EnergyCostImportUploadEnergyTypeEnum, userBatchImportUploadRequest?: UserBatchImportUploadRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
592
- const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostImportUpload(energyType, userBatchImportUploadRequest, options);
596
+ async energyCostImportUpload(energyType: EnergyCostImportUploadEnergyTypeEnum, file: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
597
+ const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostImportUpload(energyType, file, options);
593
598
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
594
599
  const localVarOperationServerBasePath = operationServerMap['EnergyCostControllerApi.energyCostImportUpload']?.[localVarOperationServerIndex]?.url;
595
600
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -751,7 +756,7 @@ export const EnergyCostControllerApiFactory = function (configuration?: Configur
751
756
  * @throws {RequiredError}
752
757
  */
753
758
  energyCostImportUpload(requestParameters: EnergyCostControllerApiEnergyCostImportUploadRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
754
- return localVarFp.energyCostImportUpload(requestParameters.energyType, requestParameters.userBatchImportUploadRequest, options).then((request) => request(axios, basePath));
759
+ return localVarFp.energyCostImportUpload(requestParameters.energyType, requestParameters.file, options).then((request) => request(axios, basePath));
755
760
  },
756
761
  /**
757
762
  *
@@ -887,10 +892,10 @@ export interface EnergyCostControllerApiEnergyCostImportUploadRequest {
887
892
 
888
893
  /**
889
894
  *
890
- * @type {UserBatchImportUploadRequest}
895
+ * @type {File}
891
896
  * @memberof EnergyCostControllerApiEnergyCostImportUpload
892
897
  */
893
- readonly userBatchImportUploadRequest?: UserBatchImportUploadRequest
898
+ readonly file: File
894
899
  }
895
900
 
896
901
  /**
@@ -1059,7 +1064,7 @@ export class EnergyCostControllerApi extends BaseAPI {
1059
1064
  * @memberof EnergyCostControllerApi
1060
1065
  */
1061
1066
  public energyCostImportUpload(requestParameters: EnergyCostControllerApiEnergyCostImportUploadRequest, options?: RawAxiosRequestConfig) {
1062
- return EnergyCostControllerApiFp(this.configuration).energyCostImportUpload(requestParameters.energyType, requestParameters.userBatchImportUploadRequest, options).then((request) => request(this.axios, this.basePath));
1067
+ return EnergyCostControllerApiFp(this.configuration).energyCostImportUpload(requestParameters.energyType, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
1063
1068
  }
1064
1069
 
1065
1070
  /**