@gizone/rrs-client 4.2.9-alpha.574 → 4.2.9-alpha.576
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-record-controller-api.ts +48 -48
- package/dist/apis/energy-cost-record-controller-api.d.ts +36 -36
- package/dist/apis/energy-cost-record-controller-api.js +40 -40
- package/dist/esm/apis/energy-cost-record-controller-api.d.ts +36 -36
- package/dist/esm/apis/energy-cost-record-controller-api.js +40 -40
- package/dist/esm/models/ipage-energy-cost-record-info-vo.d.ts +5 -5
- package/dist/esm/models/sys-user.d.ts +4 -4
- package/dist/models/ipage-energy-cost-record-info-vo.d.ts +5 -5
- package/dist/models/sys-user.d.ts +4 -4
- package/models/ipage-energy-cost-record-info-vo.ts +5 -5
- package/models/sys-user.ts +4 -4
- package/ossutil.log +1107 -1104
- package/package.json +1 -1
|
@@ -241,16 +241,16 @@ export const EnergyCostRecordControllerApiAxiosParamCreator = function (configur
|
|
|
241
241
|
};
|
|
242
242
|
},
|
|
243
243
|
/**
|
|
244
|
-
*
|
|
245
|
-
* @summary
|
|
244
|
+
* 用于前端实时计算,返回计算结果,但不会将数据存入数据库。
|
|
245
|
+
* @summary 计算能源消耗(不保存)
|
|
246
246
|
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
247
247
|
* @param {*} [options] Override http request option.
|
|
248
248
|
* @throws {RequiredError}
|
|
249
249
|
*/
|
|
250
|
-
|
|
250
|
+
energyCostAddRecordNext: async (energyCostAddRecordDTO: EnergyCostAddRecordDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
251
251
|
// verify required parameter 'energyCostAddRecordDTO' is not null or undefined
|
|
252
|
-
assertParamExists('
|
|
253
|
-
const localVarPath = `/gizone/energy/cost/record/
|
|
252
|
+
assertParamExists('energyCostAddRecordNext', 'energyCostAddRecordDTO', energyCostAddRecordDTO)
|
|
253
|
+
const localVarPath = `/gizone/energy/cost/record/next`;
|
|
254
254
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
255
255
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
256
256
|
let baseOptions;
|
|
@@ -281,16 +281,16 @@ export const EnergyCostRecordControllerApiAxiosParamCreator = function (configur
|
|
|
281
281
|
};
|
|
282
282
|
},
|
|
283
283
|
/**
|
|
284
|
-
*
|
|
285
|
-
* @summary
|
|
284
|
+
* 将能源消耗数据最终提交并保存到数据库。
|
|
285
|
+
* @summary 提交能源消耗记录
|
|
286
286
|
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
287
287
|
* @param {*} [options] Override http request option.
|
|
288
288
|
* @throws {RequiredError}
|
|
289
289
|
*/
|
|
290
|
-
|
|
290
|
+
energyCostAddRecordSubmit: async (energyCostAddRecordDTO: EnergyCostAddRecordDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
291
291
|
// verify required parameter 'energyCostAddRecordDTO' is not null or undefined
|
|
292
|
-
assertParamExists('
|
|
293
|
-
const localVarPath = `/gizone/energy/cost/record/
|
|
292
|
+
assertParamExists('energyCostAddRecordSubmit', 'energyCostAddRecordDTO', energyCostAddRecordDTO)
|
|
293
|
+
const localVarPath = `/gizone/energy/cost/record/submit`;
|
|
294
294
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
295
295
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
296
296
|
let baseOptions;
|
|
@@ -470,29 +470,29 @@ export const EnergyCostRecordControllerApiFp = function(configuration?: Configur
|
|
|
470
470
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
471
471
|
},
|
|
472
472
|
/**
|
|
473
|
-
*
|
|
474
|
-
* @summary
|
|
473
|
+
* 用于前端实时计算,返回计算结果,但不会将数据存入数据库。
|
|
474
|
+
* @summary 计算能源消耗(不保存)
|
|
475
475
|
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
476
476
|
* @param {*} [options] Override http request option.
|
|
477
477
|
* @throws {RequiredError}
|
|
478
478
|
*/
|
|
479
|
-
async
|
|
480
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
479
|
+
async energyCostAddRecordNext(energyCostAddRecordDTO: EnergyCostAddRecordDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultEnergyCostRecordInfoVO>> {
|
|
480
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostAddRecordNext(energyCostAddRecordDTO, options);
|
|
481
481
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
482
|
-
const localVarOperationServerBasePath = operationServerMap['EnergyCostRecordControllerApi.
|
|
482
|
+
const localVarOperationServerBasePath = operationServerMap['EnergyCostRecordControllerApi.energyCostAddRecordNext']?.[localVarOperationServerIndex]?.url;
|
|
483
483
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
484
484
|
},
|
|
485
485
|
/**
|
|
486
|
-
*
|
|
487
|
-
* @summary
|
|
486
|
+
* 将能源消耗数据最终提交并保存到数据库。
|
|
487
|
+
* @summary 提交能源消耗记录
|
|
488
488
|
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
489
489
|
* @param {*} [options] Override http request option.
|
|
490
490
|
* @throws {RequiredError}
|
|
491
491
|
*/
|
|
492
|
-
async
|
|
493
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
492
|
+
async energyCostAddRecordSubmit(energyCostAddRecordDTO: EnergyCostAddRecordDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultEnergyCostRecordInfoVO>> {
|
|
493
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostAddRecordSubmit(energyCostAddRecordDTO, options);
|
|
494
494
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
495
|
-
const localVarOperationServerBasePath = operationServerMap['EnergyCostRecordControllerApi.
|
|
495
|
+
const localVarOperationServerBasePath = operationServerMap['EnergyCostRecordControllerApi.energyCostAddRecordSubmit']?.[localVarOperationServerIndex]?.url;
|
|
496
496
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
497
497
|
},
|
|
498
498
|
/**
|
|
@@ -572,24 +572,24 @@ export const EnergyCostRecordControllerApiFactory = function (configuration?: Co
|
|
|
572
572
|
return localVarFp.energyCostAddRecordList(requestParameters.page, requestParameters.size, requestParameters.billCode, requestParameters.startTime, requestParameters.endTime, requestParameters.energyTypes, requestParameters.status, options).then((request) => request(axios, basePath));
|
|
573
573
|
},
|
|
574
574
|
/**
|
|
575
|
-
*
|
|
576
|
-
* @summary
|
|
577
|
-
* @param {
|
|
575
|
+
* 用于前端实时计算,返回计算结果,但不会将数据存入数据库。
|
|
576
|
+
* @summary 计算能源消耗(不保存)
|
|
577
|
+
* @param {EnergyCostRecordControllerApiEnergyCostAddRecordNextRequest} requestParameters Request parameters.
|
|
578
578
|
* @param {*} [options] Override http request option.
|
|
579
579
|
* @throws {RequiredError}
|
|
580
580
|
*/
|
|
581
|
-
|
|
582
|
-
return localVarFp.
|
|
581
|
+
energyCostAddRecordNext(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordNextRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultEnergyCostRecordInfoVO> {
|
|
582
|
+
return localVarFp.energyCostAddRecordNext(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
|
|
583
583
|
},
|
|
584
584
|
/**
|
|
585
|
-
*
|
|
586
|
-
* @summary
|
|
587
|
-
* @param {
|
|
585
|
+
* 将能源消耗数据最终提交并保存到数据库。
|
|
586
|
+
* @summary 提交能源消耗记录
|
|
587
|
+
* @param {EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest} requestParameters Request parameters.
|
|
588
588
|
* @param {*} [options] Override http request option.
|
|
589
589
|
* @throws {RequiredError}
|
|
590
590
|
*/
|
|
591
|
-
|
|
592
|
-
return localVarFp.
|
|
591
|
+
energyCostAddRecordSubmit(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultEnergyCostRecordInfoVO> {
|
|
592
|
+
return localVarFp.energyCostAddRecordSubmit(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
|
|
593
593
|
},
|
|
594
594
|
/**
|
|
595
595
|
*
|
|
@@ -727,29 +727,29 @@ export interface EnergyCostRecordControllerApiEnergyCostAddRecordListRequest {
|
|
|
727
727
|
}
|
|
728
728
|
|
|
729
729
|
/**
|
|
730
|
-
* Request parameters for
|
|
730
|
+
* Request parameters for energyCostAddRecordNext operation in EnergyCostRecordControllerApi.
|
|
731
731
|
* @export
|
|
732
|
-
* @interface
|
|
732
|
+
* @interface EnergyCostRecordControllerApiEnergyCostAddRecordNextRequest
|
|
733
733
|
*/
|
|
734
|
-
export interface
|
|
734
|
+
export interface EnergyCostRecordControllerApiEnergyCostAddRecordNextRequest {
|
|
735
735
|
/**
|
|
736
736
|
*
|
|
737
737
|
* @type {EnergyCostAddRecordDTO}
|
|
738
|
-
* @memberof
|
|
738
|
+
* @memberof EnergyCostRecordControllerApiEnergyCostAddRecordNext
|
|
739
739
|
*/
|
|
740
740
|
readonly energyCostAddRecordDTO: EnergyCostAddRecordDTO
|
|
741
741
|
}
|
|
742
742
|
|
|
743
743
|
/**
|
|
744
|
-
* Request parameters for
|
|
744
|
+
* Request parameters for energyCostAddRecordSubmit operation in EnergyCostRecordControllerApi.
|
|
745
745
|
* @export
|
|
746
|
-
* @interface
|
|
746
|
+
* @interface EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest
|
|
747
747
|
*/
|
|
748
|
-
export interface
|
|
748
|
+
export interface EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest {
|
|
749
749
|
/**
|
|
750
750
|
*
|
|
751
751
|
* @type {EnergyCostAddRecordDTO}
|
|
752
|
-
* @memberof
|
|
752
|
+
* @memberof EnergyCostRecordControllerApiEnergyCostAddRecordSubmit
|
|
753
753
|
*/
|
|
754
754
|
readonly energyCostAddRecordDTO: EnergyCostAddRecordDTO
|
|
755
755
|
}
|
|
@@ -838,27 +838,27 @@ export class EnergyCostRecordControllerApi extends BaseAPI {
|
|
|
838
838
|
}
|
|
839
839
|
|
|
840
840
|
/**
|
|
841
|
-
*
|
|
842
|
-
* @summary
|
|
843
|
-
* @param {
|
|
841
|
+
* 用于前端实时计算,返回计算结果,但不会将数据存入数据库。
|
|
842
|
+
* @summary 计算能源消耗(不保存)
|
|
843
|
+
* @param {EnergyCostRecordControllerApiEnergyCostAddRecordNextRequest} requestParameters Request parameters.
|
|
844
844
|
* @param {*} [options] Override http request option.
|
|
845
845
|
* @throws {RequiredError}
|
|
846
846
|
* @memberof EnergyCostRecordControllerApi
|
|
847
847
|
*/
|
|
848
|
-
public
|
|
849
|
-
return EnergyCostRecordControllerApiFp(this.configuration).
|
|
848
|
+
public energyCostAddRecordNext(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordNextRequest, options?: RawAxiosRequestConfig) {
|
|
849
|
+
return EnergyCostRecordControllerApiFp(this.configuration).energyCostAddRecordNext(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
|
|
850
850
|
}
|
|
851
851
|
|
|
852
852
|
/**
|
|
853
|
-
*
|
|
854
|
-
* @summary
|
|
855
|
-
* @param {
|
|
853
|
+
* 将能源消耗数据最终提交并保存到数据库。
|
|
854
|
+
* @summary 提交能源消耗记录
|
|
855
|
+
* @param {EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest} requestParameters Request parameters.
|
|
856
856
|
* @param {*} [options] Override http request option.
|
|
857
857
|
* @throws {RequiredError}
|
|
858
858
|
* @memberof EnergyCostRecordControllerApi
|
|
859
859
|
*/
|
|
860
|
-
public
|
|
861
|
-
return EnergyCostRecordControllerApiFp(this.configuration).
|
|
860
|
+
public energyCostAddRecordSubmit(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest, options?: RawAxiosRequestConfig) {
|
|
861
|
+
return EnergyCostRecordControllerApiFp(this.configuration).energyCostAddRecordSubmit(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
|
|
862
862
|
}
|
|
863
863
|
|
|
864
864
|
/**
|
|
@@ -65,21 +65,21 @@ export declare const EnergyCostRecordControllerApiAxiosParamCreator: (configurat
|
|
|
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
67
|
/**
|
|
68
|
-
*
|
|
69
|
-
* @summary
|
|
68
|
+
* 用于前端实时计算,返回计算结果,但不会将数据存入数据库。
|
|
69
|
+
* @summary 计算能源消耗(不保存)
|
|
70
70
|
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
71
71
|
* @param {*} [options] Override http request option.
|
|
72
72
|
* @throws {RequiredError}
|
|
73
73
|
*/
|
|
74
|
-
|
|
74
|
+
energyCostAddRecordNext: (energyCostAddRecordDTO: EnergyCostAddRecordDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
75
75
|
/**
|
|
76
|
-
*
|
|
77
|
-
* @summary
|
|
76
|
+
* 将能源消耗数据最终提交并保存到数据库。
|
|
77
|
+
* @summary 提交能源消耗记录
|
|
78
78
|
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
79
79
|
* @param {*} [options] Override http request option.
|
|
80
80
|
* @throws {RequiredError}
|
|
81
81
|
*/
|
|
82
|
-
|
|
82
|
+
energyCostAddRecordSubmit: (energyCostAddRecordDTO: EnergyCostAddRecordDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
83
83
|
/**
|
|
84
84
|
*
|
|
85
85
|
* @summary 编辑能源消耗
|
|
@@ -143,21 +143,21 @@ export declare const EnergyCostRecordControllerApiFp: (configuration?: Configura
|
|
|
143
143
|
*/
|
|
144
144
|
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>>;
|
|
145
145
|
/**
|
|
146
|
-
*
|
|
147
|
-
* @summary
|
|
146
|
+
* 用于前端实时计算,返回计算结果,但不会将数据存入数据库。
|
|
147
|
+
* @summary 计算能源消耗(不保存)
|
|
148
148
|
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
149
149
|
* @param {*} [options] Override http request option.
|
|
150
150
|
* @throws {RequiredError}
|
|
151
151
|
*/
|
|
152
|
-
|
|
152
|
+
energyCostAddRecordNext(energyCostAddRecordDTO: EnergyCostAddRecordDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultEnergyCostRecordInfoVO>>;
|
|
153
153
|
/**
|
|
154
|
-
*
|
|
155
|
-
* @summary
|
|
154
|
+
* 将能源消耗数据最终提交并保存到数据库。
|
|
155
|
+
* @summary 提交能源消耗记录
|
|
156
156
|
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
157
157
|
* @param {*} [options] Override http request option.
|
|
158
158
|
* @throws {RequiredError}
|
|
159
159
|
*/
|
|
160
|
-
|
|
160
|
+
energyCostAddRecordSubmit(energyCostAddRecordDTO: EnergyCostAddRecordDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultEnergyCostRecordInfoVO>>;
|
|
161
161
|
/**
|
|
162
162
|
*
|
|
163
163
|
* @summary 编辑能源消耗
|
|
@@ -213,21 +213,21 @@ export declare const EnergyCostRecordControllerApiFactory: (configuration?: Conf
|
|
|
213
213
|
*/
|
|
214
214
|
energyCostAddRecordList(requestParameters?: EnergyCostRecordControllerApiEnergyCostAddRecordListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultIPageEnergyCostRecordInfoVO>;
|
|
215
215
|
/**
|
|
216
|
-
*
|
|
217
|
-
* @summary
|
|
218
|
-
* @param {
|
|
216
|
+
* 用于前端实时计算,返回计算结果,但不会将数据存入数据库。
|
|
217
|
+
* @summary 计算能源消耗(不保存)
|
|
218
|
+
* @param {EnergyCostRecordControllerApiEnergyCostAddRecordNextRequest} requestParameters Request parameters.
|
|
219
219
|
* @param {*} [options] Override http request option.
|
|
220
220
|
* @throws {RequiredError}
|
|
221
221
|
*/
|
|
222
|
-
|
|
222
|
+
energyCostAddRecordNext(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordNextRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultEnergyCostRecordInfoVO>;
|
|
223
223
|
/**
|
|
224
|
-
*
|
|
225
|
-
* @summary
|
|
226
|
-
* @param {
|
|
224
|
+
* 将能源消耗数据最终提交并保存到数据库。
|
|
225
|
+
* @summary 提交能源消耗记录
|
|
226
|
+
* @param {EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest} requestParameters Request parameters.
|
|
227
227
|
* @param {*} [options] Override http request option.
|
|
228
228
|
* @throws {RequiredError}
|
|
229
229
|
*/
|
|
230
|
-
|
|
230
|
+
energyCostAddRecordSubmit(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultEnergyCostRecordInfoVO>;
|
|
231
231
|
/**
|
|
232
232
|
*
|
|
233
233
|
* @summary 编辑能源消耗
|
|
@@ -346,28 +346,28 @@ export interface EnergyCostRecordControllerApiEnergyCostAddRecordListRequest {
|
|
|
346
346
|
readonly status?: Array<number>;
|
|
347
347
|
}
|
|
348
348
|
/**
|
|
349
|
-
* Request parameters for
|
|
349
|
+
* Request parameters for energyCostAddRecordNext operation in EnergyCostRecordControllerApi.
|
|
350
350
|
* @export
|
|
351
|
-
* @interface
|
|
351
|
+
* @interface EnergyCostRecordControllerApiEnergyCostAddRecordNextRequest
|
|
352
352
|
*/
|
|
353
|
-
export interface
|
|
353
|
+
export interface EnergyCostRecordControllerApiEnergyCostAddRecordNextRequest {
|
|
354
354
|
/**
|
|
355
355
|
*
|
|
356
356
|
* @type {EnergyCostAddRecordDTO}
|
|
357
|
-
* @memberof
|
|
357
|
+
* @memberof EnergyCostRecordControllerApiEnergyCostAddRecordNext
|
|
358
358
|
*/
|
|
359
359
|
readonly energyCostAddRecordDTO: EnergyCostAddRecordDTO;
|
|
360
360
|
}
|
|
361
361
|
/**
|
|
362
|
-
* Request parameters for
|
|
362
|
+
* Request parameters for energyCostAddRecordSubmit operation in EnergyCostRecordControllerApi.
|
|
363
363
|
* @export
|
|
364
|
-
* @interface
|
|
364
|
+
* @interface EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest
|
|
365
365
|
*/
|
|
366
|
-
export interface
|
|
366
|
+
export interface EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest {
|
|
367
367
|
/**
|
|
368
368
|
*
|
|
369
369
|
* @type {EnergyCostAddRecordDTO}
|
|
370
|
-
* @memberof
|
|
370
|
+
* @memberof EnergyCostRecordControllerApiEnergyCostAddRecordSubmit
|
|
371
371
|
*/
|
|
372
372
|
readonly energyCostAddRecordDTO: EnergyCostAddRecordDTO;
|
|
373
373
|
}
|
|
@@ -441,23 +441,23 @@ export declare class EnergyCostRecordControllerApi extends BaseAPI {
|
|
|
441
441
|
*/
|
|
442
442
|
energyCostAddRecordList(requestParameters?: EnergyCostRecordControllerApiEnergyCostAddRecordListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultIPageEnergyCostRecordInfoVO, any, {}>>;
|
|
443
443
|
/**
|
|
444
|
-
*
|
|
445
|
-
* @summary
|
|
446
|
-
* @param {
|
|
444
|
+
* 用于前端实时计算,返回计算结果,但不会将数据存入数据库。
|
|
445
|
+
* @summary 计算能源消耗(不保存)
|
|
446
|
+
* @param {EnergyCostRecordControllerApiEnergyCostAddRecordNextRequest} requestParameters Request parameters.
|
|
447
447
|
* @param {*} [options] Override http request option.
|
|
448
448
|
* @throws {RequiredError}
|
|
449
449
|
* @memberof EnergyCostRecordControllerApi
|
|
450
450
|
*/
|
|
451
|
-
|
|
451
|
+
energyCostAddRecordNext(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordNextRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultEnergyCostRecordInfoVO, any, {}>>;
|
|
452
452
|
/**
|
|
453
|
-
*
|
|
454
|
-
* @summary
|
|
455
|
-
* @param {
|
|
453
|
+
* 将能源消耗数据最终提交并保存到数据库。
|
|
454
|
+
* @summary 提交能源消耗记录
|
|
455
|
+
* @param {EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest} requestParameters Request parameters.
|
|
456
456
|
* @param {*} [options] Override http request option.
|
|
457
457
|
* @throws {RequiredError}
|
|
458
458
|
* @memberof EnergyCostRecordControllerApi
|
|
459
459
|
*/
|
|
460
|
-
|
|
460
|
+
energyCostAddRecordSubmit(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultEnergyCostRecordInfoVO, any, {}>>;
|
|
461
461
|
/**
|
|
462
462
|
*
|
|
463
463
|
* @summary 编辑能源消耗
|
|
@@ -199,16 +199,16 @@ const EnergyCostRecordControllerApiAxiosParamCreator = function (configuration)
|
|
|
199
199
|
};
|
|
200
200
|
}),
|
|
201
201
|
/**
|
|
202
|
-
*
|
|
203
|
-
* @summary
|
|
202
|
+
* 用于前端实时计算,返回计算结果,但不会将数据存入数据库。
|
|
203
|
+
* @summary 计算能源消耗(不保存)
|
|
204
204
|
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
205
205
|
* @param {*} [options] Override http request option.
|
|
206
206
|
* @throws {RequiredError}
|
|
207
207
|
*/
|
|
208
|
-
|
|
208
|
+
energyCostAddRecordNext: (energyCostAddRecordDTO_1, ...args_1) => __awaiter(this, [energyCostAddRecordDTO_1, ...args_1], void 0, function* (energyCostAddRecordDTO, options = {}) {
|
|
209
209
|
// verify required parameter 'energyCostAddRecordDTO' is not null or undefined
|
|
210
|
-
(0, common_1.assertParamExists)('
|
|
211
|
-
const localVarPath = `/gizone/energy/cost/record/
|
|
210
|
+
(0, common_1.assertParamExists)('energyCostAddRecordNext', 'energyCostAddRecordDTO', energyCostAddRecordDTO);
|
|
211
|
+
const localVarPath = `/gizone/energy/cost/record/next`;
|
|
212
212
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
213
213
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
214
214
|
let baseOptions;
|
|
@@ -232,16 +232,16 @@ const EnergyCostRecordControllerApiAxiosParamCreator = function (configuration)
|
|
|
232
232
|
};
|
|
233
233
|
}),
|
|
234
234
|
/**
|
|
235
|
-
*
|
|
236
|
-
* @summary
|
|
235
|
+
* 将能源消耗数据最终提交并保存到数据库。
|
|
236
|
+
* @summary 提交能源消耗记录
|
|
237
237
|
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
238
238
|
* @param {*} [options] Override http request option.
|
|
239
239
|
* @throws {RequiredError}
|
|
240
240
|
*/
|
|
241
|
-
|
|
241
|
+
energyCostAddRecordSubmit: (energyCostAddRecordDTO_1, ...args_1) => __awaiter(this, [energyCostAddRecordDTO_1, ...args_1], void 0, function* (energyCostAddRecordDTO, options = {}) {
|
|
242
242
|
// verify required parameter 'energyCostAddRecordDTO' is not null or undefined
|
|
243
|
-
(0, common_1.assertParamExists)('
|
|
244
|
-
const localVarPath = `/gizone/energy/cost/record/
|
|
243
|
+
(0, common_1.assertParamExists)('energyCostAddRecordSubmit', 'energyCostAddRecordDTO', energyCostAddRecordDTO);
|
|
244
|
+
const localVarPath = `/gizone/energy/cost/record/submit`;
|
|
245
245
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
246
246
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
247
247
|
let baseOptions;
|
|
@@ -412,34 +412,34 @@ const EnergyCostRecordControllerApiFp = function (configuration) {
|
|
|
412
412
|
});
|
|
413
413
|
},
|
|
414
414
|
/**
|
|
415
|
-
*
|
|
416
|
-
* @summary
|
|
415
|
+
* 用于前端实时计算,返回计算结果,但不会将数据存入数据库。
|
|
416
|
+
* @summary 计算能源消耗(不保存)
|
|
417
417
|
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
418
418
|
* @param {*} [options] Override http request option.
|
|
419
419
|
* @throws {RequiredError}
|
|
420
420
|
*/
|
|
421
|
-
|
|
421
|
+
energyCostAddRecordNext(energyCostAddRecordDTO, options) {
|
|
422
422
|
return __awaiter(this, void 0, void 0, function* () {
|
|
423
423
|
var _a, _b, _c;
|
|
424
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
424
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordNext(energyCostAddRecordDTO, options);
|
|
425
425
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
426
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnergyCostRecordControllerApi.
|
|
426
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnergyCostRecordControllerApi.energyCostAddRecordNext']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
427
427
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
428
428
|
});
|
|
429
429
|
},
|
|
430
430
|
/**
|
|
431
|
-
*
|
|
432
|
-
* @summary
|
|
431
|
+
* 将能源消耗数据最终提交并保存到数据库。
|
|
432
|
+
* @summary 提交能源消耗记录
|
|
433
433
|
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
434
434
|
* @param {*} [options] Override http request option.
|
|
435
435
|
* @throws {RequiredError}
|
|
436
436
|
*/
|
|
437
|
-
|
|
437
|
+
energyCostAddRecordSubmit(energyCostAddRecordDTO, options) {
|
|
438
438
|
return __awaiter(this, void 0, void 0, function* () {
|
|
439
439
|
var _a, _b, _c;
|
|
440
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
440
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordSubmit(energyCostAddRecordDTO, options);
|
|
441
441
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
442
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnergyCostRecordControllerApi.
|
|
442
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnergyCostRecordControllerApi.energyCostAddRecordSubmit']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
443
443
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
444
444
|
});
|
|
445
445
|
},
|
|
@@ -526,24 +526,24 @@ const EnergyCostRecordControllerApiFactory = function (configuration, basePath,
|
|
|
526
526
|
return localVarFp.energyCostAddRecordList(requestParameters.page, requestParameters.size, requestParameters.billCode, requestParameters.startTime, requestParameters.endTime, requestParameters.energyTypes, requestParameters.status, options).then((request) => request(axios, basePath));
|
|
527
527
|
},
|
|
528
528
|
/**
|
|
529
|
-
*
|
|
530
|
-
* @summary
|
|
531
|
-
* @param {
|
|
529
|
+
* 用于前端实时计算,返回计算结果,但不会将数据存入数据库。
|
|
530
|
+
* @summary 计算能源消耗(不保存)
|
|
531
|
+
* @param {EnergyCostRecordControllerApiEnergyCostAddRecordNextRequest} requestParameters Request parameters.
|
|
532
532
|
* @param {*} [options] Override http request option.
|
|
533
533
|
* @throws {RequiredError}
|
|
534
534
|
*/
|
|
535
|
-
|
|
536
|
-
return localVarFp.
|
|
535
|
+
energyCostAddRecordNext(requestParameters, options) {
|
|
536
|
+
return localVarFp.energyCostAddRecordNext(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
|
|
537
537
|
},
|
|
538
538
|
/**
|
|
539
|
-
*
|
|
540
|
-
* @summary
|
|
541
|
-
* @param {
|
|
539
|
+
* 将能源消耗数据最终提交并保存到数据库。
|
|
540
|
+
* @summary 提交能源消耗记录
|
|
541
|
+
* @param {EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest} requestParameters Request parameters.
|
|
542
542
|
* @param {*} [options] Override http request option.
|
|
543
543
|
* @throws {RequiredError}
|
|
544
544
|
*/
|
|
545
|
-
|
|
546
|
-
return localVarFp.
|
|
545
|
+
energyCostAddRecordSubmit(requestParameters, options) {
|
|
546
|
+
return localVarFp.energyCostAddRecordSubmit(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
|
|
547
547
|
},
|
|
548
548
|
/**
|
|
549
549
|
*
|
|
@@ -620,26 +620,26 @@ class EnergyCostRecordControllerApi extends base_1.BaseAPI {
|
|
|
620
620
|
return (0, exports.EnergyCostRecordControllerApiFp)(this.configuration).energyCostAddRecordList(requestParameters.page, requestParameters.size, requestParameters.billCode, requestParameters.startTime, requestParameters.endTime, requestParameters.energyTypes, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
|
|
621
621
|
}
|
|
622
622
|
/**
|
|
623
|
-
*
|
|
624
|
-
* @summary
|
|
625
|
-
* @param {
|
|
623
|
+
* 用于前端实时计算,返回计算结果,但不会将数据存入数据库。
|
|
624
|
+
* @summary 计算能源消耗(不保存)
|
|
625
|
+
* @param {EnergyCostRecordControllerApiEnergyCostAddRecordNextRequest} requestParameters Request parameters.
|
|
626
626
|
* @param {*} [options] Override http request option.
|
|
627
627
|
* @throws {RequiredError}
|
|
628
628
|
* @memberof EnergyCostRecordControllerApi
|
|
629
629
|
*/
|
|
630
|
-
|
|
631
|
-
return (0, exports.EnergyCostRecordControllerApiFp)(this.configuration).
|
|
630
|
+
energyCostAddRecordNext(requestParameters, options) {
|
|
631
|
+
return (0, exports.EnergyCostRecordControllerApiFp)(this.configuration).energyCostAddRecordNext(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
|
|
632
632
|
}
|
|
633
633
|
/**
|
|
634
|
-
*
|
|
635
|
-
* @summary
|
|
636
|
-
* @param {
|
|
634
|
+
* 将能源消耗数据最终提交并保存到数据库。
|
|
635
|
+
* @summary 提交能源消耗记录
|
|
636
|
+
* @param {EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest} requestParameters Request parameters.
|
|
637
637
|
* @param {*} [options] Override http request option.
|
|
638
638
|
* @throws {RequiredError}
|
|
639
639
|
* @memberof EnergyCostRecordControllerApi
|
|
640
640
|
*/
|
|
641
|
-
|
|
642
|
-
return (0, exports.EnergyCostRecordControllerApiFp)(this.configuration).
|
|
641
|
+
energyCostAddRecordSubmit(requestParameters, options) {
|
|
642
|
+
return (0, exports.EnergyCostRecordControllerApiFp)(this.configuration).energyCostAddRecordSubmit(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
|
|
643
643
|
}
|
|
644
644
|
/**
|
|
645
645
|
*
|