@gizone/rrs-client 4.2.9-alpha.573 → 4.2.9-alpha.574

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.
@@ -110,8 +110,8 @@ const EnergyCostRecordControllerApiAxiosParamCreator = function (configuration)
110
110
  };
111
111
  }),
112
112
  /**
113
- *
114
- * @summary 新增能源消耗-草稿
113
+ * 将当前输入的数据作为草稿保存,后续可以修改和提交。
114
+ * @summary 保存能源消耗为草稿
115
115
  * @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
116
116
  * @param {*} [options] Override http request option.
117
117
  * @throws {RequiredError}
@@ -199,16 +199,16 @@ const EnergyCostRecordControllerApiAxiosParamCreator = function (configuration)
199
199
  };
200
200
  }),
201
201
  /**
202
- *
203
- * @summary 新增能源消耗-next
202
+ * 将能源消耗数据最终提交并保存到数据库。
203
+ * @summary 提交能源消耗记录
204
204
  * @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
205
205
  * @param {*} [options] Override http request option.
206
206
  * @throws {RequiredError}
207
207
  */
208
- energyCostAddRecordNext: (energyCostAddRecordDTO_1, ...args_1) => __awaiter(this, [energyCostAddRecordDTO_1, ...args_1], void 0, function* (energyCostAddRecordDTO, options = {}) {
208
+ energyCostAddRecordSubmit: (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)('energyCostAddRecordNext', 'energyCostAddRecordDTO', energyCostAddRecordDTO);
211
- const localVarPath = `/gizone/energy/cost/record/next`;
210
+ (0, common_1.assertParamExists)('energyCostAddRecordSubmit', 'energyCostAddRecordDTO', energyCostAddRecordDTO);
211
+ const localVarPath = `/gizone/energy/cost/record/submit`;
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
- energyCostAddRecordSubmit: (energyCostAddRecordDTO_1, ...args_1) => __awaiter(this, [energyCostAddRecordDTO_1, ...args_1], void 0, function* (energyCostAddRecordDTO, options = {}) {
241
+ energyCostCalculate: (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)('energyCostAddRecordSubmit', 'energyCostAddRecordDTO', energyCostAddRecordDTO);
244
- const localVarPath = `/gizone/energy/cost/record/submit`;
243
+ (0, common_1.assertParamExists)('energyCostCalculate', 'energyCostAddRecordDTO', energyCostAddRecordDTO);
244
+ const localVarPath = `/gizone/energy/cost/record/next`;
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;
@@ -374,8 +374,8 @@ const EnergyCostRecordControllerApiFp = function (configuration) {
374
374
  });
375
375
  },
376
376
  /**
377
- *
378
- * @summary 新增能源消耗-草稿
377
+ * 将当前输入的数据作为草稿保存,后续可以修改和提交。
378
+ * @summary 保存能源消耗为草稿
379
379
  * @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
380
380
  * @param {*} [options] Override http request option.
381
381
  * @throws {RequiredError}
@@ -412,34 +412,34 @@ const EnergyCostRecordControllerApiFp = function (configuration) {
412
412
  });
413
413
  },
414
414
  /**
415
- *
416
- * @summary 新增能源消耗-next
415
+ * 将能源消耗数据最终提交并保存到数据库。
416
+ * @summary 提交能源消耗记录
417
417
  * @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
418
418
  * @param {*} [options] Override http request option.
419
419
  * @throws {RequiredError}
420
420
  */
421
- energyCostAddRecordNext(energyCostAddRecordDTO, options) {
421
+ energyCostAddRecordSubmit(energyCostAddRecordDTO, options) {
422
422
  return __awaiter(this, void 0, void 0, function* () {
423
423
  var _a, _b, _c;
424
- const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordNext(energyCostAddRecordDTO, options);
424
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordSubmit(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.energyCostAddRecordNext']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
426
+ 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;
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
- energyCostAddRecordSubmit(energyCostAddRecordDTO, options) {
437
+ energyCostCalculate(energyCostAddRecordDTO, options) {
438
438
  return __awaiter(this, void 0, void 0, function* () {
439
439
  var _a, _b, _c;
440
- const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordSubmit(energyCostAddRecordDTO, options);
440
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostCalculate(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.energyCostAddRecordSubmit']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
442
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnergyCostRecordControllerApi.energyCostCalculate']) === 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
  },
@@ -506,8 +506,8 @@ const EnergyCostRecordControllerApiFactory = function (configuration, basePath,
506
506
  return localVarFp.energyCostAddRecordDetail(requestParameters.id, requestParameters.billId, requestParameters.billCode, options).then((request) => request(axios, basePath));
507
507
  },
508
508
  /**
509
- *
510
- * @summary 新增能源消耗-草稿
509
+ * 将当前输入的数据作为草稿保存,后续可以修改和提交。
510
+ * @summary 保存能源消耗为草稿
511
511
  * @param {EnergyCostRecordControllerApiEnergyCostAddRecordInputDraftRequest} requestParameters Request parameters.
512
512
  * @param {*} [options] Override http request option.
513
513
  * @throws {RequiredError}
@@ -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 新增能源消耗-next
531
- * @param {EnergyCostRecordControllerApiEnergyCostAddRecordNextRequest} requestParameters Request parameters.
529
+ * 将能源消耗数据最终提交并保存到数据库。
530
+ * @summary 提交能源消耗记录
531
+ * @param {EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest} requestParameters Request parameters.
532
532
  * @param {*} [options] Override http request option.
533
533
  * @throws {RequiredError}
534
534
  */
535
- energyCostAddRecordNext(requestParameters, options) {
536
- return localVarFp.energyCostAddRecordNext(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
535
+ energyCostAddRecordSubmit(requestParameters, options) {
536
+ return localVarFp.energyCostAddRecordSubmit(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
537
537
  },
538
538
  /**
539
- *
540
- * @summary 新增能源消耗-提交
541
- * @param {EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest} requestParameters Request parameters.
539
+ * 用于前端实时计算,返回计算结果,但不会将数据存入数据库。
540
+ * @summary 计算能源消耗(不保存)
541
+ * @param {EnergyCostRecordControllerApiEnergyCostCalculateRequest} requestParameters Request parameters.
542
542
  * @param {*} [options] Override http request option.
543
543
  * @throws {RequiredError}
544
544
  */
545
- energyCostAddRecordSubmit(requestParameters, options) {
546
- return localVarFp.energyCostAddRecordSubmit(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
545
+ energyCostCalculate(requestParameters, options) {
546
+ return localVarFp.energyCostCalculate(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
547
547
  },
548
548
  /**
549
549
  *
@@ -598,8 +598,8 @@ class EnergyCostRecordControllerApi extends base_1.BaseAPI {
598
598
  return (0, exports.EnergyCostRecordControllerApiFp)(this.configuration).energyCostAddRecordDetail(requestParameters.id, requestParameters.billId, requestParameters.billCode, options).then((request) => request(this.axios, this.basePath));
599
599
  }
600
600
  /**
601
- *
602
- * @summary 新增能源消耗-草稿
601
+ * 将当前输入的数据作为草稿保存,后续可以修改和提交。
602
+ * @summary 保存能源消耗为草稿
603
603
  * @param {EnergyCostRecordControllerApiEnergyCostAddRecordInputDraftRequest} requestParameters Request parameters.
604
604
  * @param {*} [options] Override http request option.
605
605
  * @throws {RequiredError}
@@ -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 新增能源消耗-next
625
- * @param {EnergyCostRecordControllerApiEnergyCostAddRecordNextRequest} requestParameters Request parameters.
623
+ * 将能源消耗数据最终提交并保存到数据库。
624
+ * @summary 提交能源消耗记录
625
+ * @param {EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest} requestParameters Request parameters.
626
626
  * @param {*} [options] Override http request option.
627
627
  * @throws {RequiredError}
628
628
  * @memberof EnergyCostRecordControllerApi
629
629
  */
630
- energyCostAddRecordNext(requestParameters, options) {
631
- return (0, exports.EnergyCostRecordControllerApiFp)(this.configuration).energyCostAddRecordNext(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
630
+ energyCostAddRecordSubmit(requestParameters, options) {
631
+ return (0, exports.EnergyCostRecordControllerApiFp)(this.configuration).energyCostAddRecordSubmit(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
632
632
  }
633
633
  /**
634
- *
635
- * @summary 新增能源消耗-提交
636
- * @param {EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest} requestParameters Request parameters.
634
+ * 用于前端实时计算,返回计算结果,但不会将数据存入数据库。
635
+ * @summary 计算能源消耗(不保存)
636
+ * @param {EnergyCostRecordControllerApiEnergyCostCalculateRequest} requestParameters Request parameters.
637
637
  * @param {*} [options] Override http request option.
638
638
  * @throws {RequiredError}
639
639
  * @memberof EnergyCostRecordControllerApi
640
640
  */
641
- energyCostAddRecordSubmit(requestParameters, options) {
642
- return (0, exports.EnergyCostRecordControllerApiFp)(this.configuration).energyCostAddRecordSubmit(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
641
+ energyCostCalculate(requestParameters, options) {
642
+ return (0, exports.EnergyCostRecordControllerApiFp)(this.configuration).energyCostCalculate(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
643
643
  }
644
644
  /**
645
645
  *
@@ -14,7 +14,6 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { EnergyCostAddRecordDTO } from '../models';
16
16
  import type { EnergyCostEditRecordDTO } from '../models';
17
- import type { JsonResult } from '../models';
18
17
  import type { JsonResultEnergyCostRecordBillInfoVO } from '../models';
19
18
  import type { JsonResultEnergyCostRecordInfoNotEmunVO } from '../models';
20
19
  import type { JsonResultEnergyCostRecordInfoVO } from '../models';
@@ -44,8 +43,8 @@ export declare const EnergyCostRecordControllerApiAxiosParamCreator: (configurat
44
43
  */
45
44
  energyCostAddRecordDetail: (id?: number, billId?: number, billCode?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
46
45
  /**
47
- *
48
- * @summary 新增能源消耗-草稿
46
+ * 将当前输入的数据作为草稿保存,后续可以修改和提交。
47
+ * @summary 保存能源消耗为草稿
49
48
  * @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
50
49
  * @param {*} [options] Override http request option.
51
50
  * @throws {RequiredError}
@@ -66,21 +65,21 @@ export declare const EnergyCostRecordControllerApiAxiosParamCreator: (configurat
66
65
  */
67
66
  energyCostAddRecordList: (page?: number, size?: number, billCode?: string, startTime?: string, endTime?: string, energyTypes?: Array<EnergyCostAddRecordListEnergyTypesEnum>, status?: Array<number>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
68
67
  /**
69
- *
70
- * @summary 新增能源消耗-next
68
+ * 将能源消耗数据最终提交并保存到数据库。
69
+ * @summary 提交能源消耗记录
71
70
  * @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
72
71
  * @param {*} [options] Override http request option.
73
72
  * @throws {RequiredError}
74
73
  */
75
- energyCostAddRecordNext: (energyCostAddRecordDTO: EnergyCostAddRecordDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
74
+ energyCostAddRecordSubmit: (energyCostAddRecordDTO: EnergyCostAddRecordDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
76
75
  /**
77
- *
78
- * @summary 新增能源消耗-提交
76
+ * 用于前端实时计算,返回计算结果,但不会将数据存入数据库。
77
+ * @summary 计算能源消耗(不保存)
79
78
  * @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
80
79
  * @param {*} [options] Override http request option.
81
80
  * @throws {RequiredError}
82
81
  */
83
- energyCostAddRecordSubmit: (energyCostAddRecordDTO: EnergyCostAddRecordDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
82
+ energyCostCalculate: (energyCostAddRecordDTO: EnergyCostAddRecordDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
84
83
  /**
85
84
  *
86
85
  * @summary 编辑能源消耗
@@ -122,13 +121,13 @@ export declare const EnergyCostRecordControllerApiFp: (configuration?: Configura
122
121
  */
123
122
  energyCostAddRecordDetail(id?: number, billId?: number, billCode?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultEnergyCostRecordInfoNotEmunVO>>;
124
123
  /**
125
- *
126
- * @summary 新增能源消耗-草稿
124
+ * 将当前输入的数据作为草稿保存,后续可以修改和提交。
125
+ * @summary 保存能源消耗为草稿
127
126
  * @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
128
127
  * @param {*} [options] Override http request option.
129
128
  * @throws {RequiredError}
130
129
  */
131
- energyCostAddRecordInputDraft(energyCostAddRecordDTO: EnergyCostAddRecordDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
130
+ energyCostAddRecordInputDraft(energyCostAddRecordDTO: EnergyCostAddRecordDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultEnergyCostRecordInfoVO>>;
132
131
  /**
133
132
  *
134
133
  * @summary 新增能源消耗-列表
@@ -144,21 +143,21 @@ export declare const EnergyCostRecordControllerApiFp: (configuration?: Configura
144
143
  */
145
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>>;
146
145
  /**
147
- *
148
- * @summary 新增能源消耗-next
146
+ * 将能源消耗数据最终提交并保存到数据库。
147
+ * @summary 提交能源消耗记录
149
148
  * @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
150
149
  * @param {*} [options] Override http request option.
151
150
  * @throws {RequiredError}
152
151
  */
153
- energyCostAddRecordNext(energyCostAddRecordDTO: EnergyCostAddRecordDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultEnergyCostRecordInfoVO>>;
152
+ energyCostAddRecordSubmit(energyCostAddRecordDTO: EnergyCostAddRecordDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultEnergyCostRecordInfoVO>>;
154
153
  /**
155
- *
156
- * @summary 新增能源消耗-提交
154
+ * 用于前端实时计算,返回计算结果,但不会将数据存入数据库。
155
+ * @summary 计算能源消耗(不保存)
157
156
  * @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
158
157
  * @param {*} [options] Override http request option.
159
158
  * @throws {RequiredError}
160
159
  */
161
- energyCostAddRecordSubmit(energyCostAddRecordDTO: EnergyCostAddRecordDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
160
+ energyCostCalculate(energyCostAddRecordDTO: EnergyCostAddRecordDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultEnergyCostRecordInfoVO>>;
162
161
  /**
163
162
  *
164
163
  * @summary 编辑能源消耗
@@ -198,13 +197,13 @@ export declare const EnergyCostRecordControllerApiFactory: (configuration?: Conf
198
197
  */
199
198
  energyCostAddRecordDetail(requestParameters?: EnergyCostRecordControllerApiEnergyCostAddRecordDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultEnergyCostRecordInfoNotEmunVO>;
200
199
  /**
201
- *
202
- * @summary 新增能源消耗-草稿
200
+ * 将当前输入的数据作为草稿保存,后续可以修改和提交。
201
+ * @summary 保存能源消耗为草稿
203
202
  * @param {EnergyCostRecordControllerApiEnergyCostAddRecordInputDraftRequest} requestParameters Request parameters.
204
203
  * @param {*} [options] Override http request option.
205
204
  * @throws {RequiredError}
206
205
  */
207
- energyCostAddRecordInputDraft(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordInputDraftRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult>;
206
+ energyCostAddRecordInputDraft(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordInputDraftRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultEnergyCostRecordInfoVO>;
208
207
  /**
209
208
  *
210
209
  * @summary 新增能源消耗-列表
@@ -214,21 +213,21 @@ export declare const EnergyCostRecordControllerApiFactory: (configuration?: Conf
214
213
  */
215
214
  energyCostAddRecordList(requestParameters?: EnergyCostRecordControllerApiEnergyCostAddRecordListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultIPageEnergyCostRecordInfoVO>;
216
215
  /**
217
- *
218
- * @summary 新增能源消耗-next
219
- * @param {EnergyCostRecordControllerApiEnergyCostAddRecordNextRequest} requestParameters Request parameters.
216
+ * 将能源消耗数据最终提交并保存到数据库。
217
+ * @summary 提交能源消耗记录
218
+ * @param {EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest} requestParameters Request parameters.
220
219
  * @param {*} [options] Override http request option.
221
220
  * @throws {RequiredError}
222
221
  */
223
- energyCostAddRecordNext(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordNextRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultEnergyCostRecordInfoVO>;
222
+ energyCostAddRecordSubmit(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultEnergyCostRecordInfoVO>;
224
223
  /**
225
- *
226
- * @summary 新增能源消耗-提交
227
- * @param {EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest} requestParameters Request parameters.
224
+ * 用于前端实时计算,返回计算结果,但不会将数据存入数据库。
225
+ * @summary 计算能源消耗(不保存)
226
+ * @param {EnergyCostRecordControllerApiEnergyCostCalculateRequest} requestParameters Request parameters.
228
227
  * @param {*} [options] Override http request option.
229
228
  * @throws {RequiredError}
230
229
  */
231
- energyCostAddRecordSubmit(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult>;
230
+ energyCostCalculate(requestParameters: EnergyCostRecordControllerApiEnergyCostCalculateRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultEnergyCostRecordInfoVO>;
232
231
  /**
233
232
  *
234
233
  * @summary 编辑能源消耗
@@ -347,28 +346,28 @@ export interface EnergyCostRecordControllerApiEnergyCostAddRecordListRequest {
347
346
  readonly status?: Array<number>;
348
347
  }
349
348
  /**
350
- * Request parameters for energyCostAddRecordNext operation in EnergyCostRecordControllerApi.
349
+ * Request parameters for energyCostAddRecordSubmit operation in EnergyCostRecordControllerApi.
351
350
  * @export
352
- * @interface EnergyCostRecordControllerApiEnergyCostAddRecordNextRequest
351
+ * @interface EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest
353
352
  */
354
- export interface EnergyCostRecordControllerApiEnergyCostAddRecordNextRequest {
353
+ export interface EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest {
355
354
  /**
356
355
  *
357
356
  * @type {EnergyCostAddRecordDTO}
358
- * @memberof EnergyCostRecordControllerApiEnergyCostAddRecordNext
357
+ * @memberof EnergyCostRecordControllerApiEnergyCostAddRecordSubmit
359
358
  */
360
359
  readonly energyCostAddRecordDTO: EnergyCostAddRecordDTO;
361
360
  }
362
361
  /**
363
- * Request parameters for energyCostAddRecordSubmit operation in EnergyCostRecordControllerApi.
362
+ * Request parameters for energyCostCalculate operation in EnergyCostRecordControllerApi.
364
363
  * @export
365
- * @interface EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest
364
+ * @interface EnergyCostRecordControllerApiEnergyCostCalculateRequest
366
365
  */
367
- export interface EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest {
366
+ export interface EnergyCostRecordControllerApiEnergyCostCalculateRequest {
368
367
  /**
369
368
  *
370
369
  * @type {EnergyCostAddRecordDTO}
371
- * @memberof EnergyCostRecordControllerApiEnergyCostAddRecordSubmit
370
+ * @memberof EnergyCostRecordControllerApiEnergyCostCalculate
372
371
  */
373
372
  readonly energyCostAddRecordDTO: EnergyCostAddRecordDTO;
374
373
  }
@@ -424,14 +423,14 @@ export declare class EnergyCostRecordControllerApi extends BaseAPI {
424
423
  */
425
424
  energyCostAddRecordDetail(requestParameters?: EnergyCostRecordControllerApiEnergyCostAddRecordDetailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultEnergyCostRecordInfoNotEmunVO, any, {}>>;
426
425
  /**
427
- *
428
- * @summary 新增能源消耗-草稿
426
+ * 将当前输入的数据作为草稿保存,后续可以修改和提交。
427
+ * @summary 保存能源消耗为草稿
429
428
  * @param {EnergyCostRecordControllerApiEnergyCostAddRecordInputDraftRequest} requestParameters Request parameters.
430
429
  * @param {*} [options] Override http request option.
431
430
  * @throws {RequiredError}
432
431
  * @memberof EnergyCostRecordControllerApi
433
432
  */
434
- energyCostAddRecordInputDraft(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordInputDraftRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResult, any, {}>>;
433
+ energyCostAddRecordInputDraft(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordInputDraftRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultEnergyCostRecordInfoVO, any, {}>>;
435
434
  /**
436
435
  *
437
436
  * @summary 新增能源消耗-列表
@@ -442,23 +441,23 @@ export declare class EnergyCostRecordControllerApi extends BaseAPI {
442
441
  */
443
442
  energyCostAddRecordList(requestParameters?: EnergyCostRecordControllerApiEnergyCostAddRecordListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultIPageEnergyCostRecordInfoVO, any, {}>>;
444
443
  /**
445
- *
446
- * @summary 新增能源消耗-next
447
- * @param {EnergyCostRecordControllerApiEnergyCostAddRecordNextRequest} requestParameters Request parameters.
444
+ * 将能源消耗数据最终提交并保存到数据库。
445
+ * @summary 提交能源消耗记录
446
+ * @param {EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest} requestParameters Request parameters.
448
447
  * @param {*} [options] Override http request option.
449
448
  * @throws {RequiredError}
450
449
  * @memberof EnergyCostRecordControllerApi
451
450
  */
452
- energyCostAddRecordNext(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordNextRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultEnergyCostRecordInfoVO, any, {}>>;
451
+ energyCostAddRecordSubmit(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultEnergyCostRecordInfoVO, any, {}>>;
453
452
  /**
454
- *
455
- * @summary 新增能源消耗-提交
456
- * @param {EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest} requestParameters Request parameters.
453
+ * 用于前端实时计算,返回计算结果,但不会将数据存入数据库。
454
+ * @summary 计算能源消耗(不保存)
455
+ * @param {EnergyCostRecordControllerApiEnergyCostCalculateRequest} requestParameters Request parameters.
457
456
  * @param {*} [options] Override http request option.
458
457
  * @throws {RequiredError}
459
458
  * @memberof EnergyCostRecordControllerApi
460
459
  */
461
- energyCostAddRecordSubmit(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResult, any, {}>>;
460
+ energyCostCalculate(requestParameters: EnergyCostRecordControllerApiEnergyCostCalculateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultEnergyCostRecordInfoVO, any, {}>>;
462
461
  /**
463
462
  *
464
463
  * @summary 编辑能源消耗