@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.
@@ -107,8 +107,8 @@ export const EnergyCostRecordControllerApiAxiosParamCreator = function (configur
107
107
  };
108
108
  }),
109
109
  /**
110
- *
111
- * @summary 新增能源消耗-草稿
110
+ * 将当前输入的数据作为草稿保存,后续可以修改和提交。
111
+ * @summary 保存能源消耗为草稿
112
112
  * @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
113
113
  * @param {*} [options] Override http request option.
114
114
  * @throws {RequiredError}
@@ -196,16 +196,16 @@ export const EnergyCostRecordControllerApiAxiosParamCreator = function (configur
196
196
  };
197
197
  }),
198
198
  /**
199
- *
200
- * @summary 新增能源消耗-next
199
+ * 将能源消耗数据最终提交并保存到数据库。
200
+ * @summary 提交能源消耗记录
201
201
  * @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
202
202
  * @param {*} [options] Override http request option.
203
203
  * @throws {RequiredError}
204
204
  */
205
- energyCostAddRecordNext: (energyCostAddRecordDTO_1, ...args_1) => __awaiter(this, [energyCostAddRecordDTO_1, ...args_1], void 0, function* (energyCostAddRecordDTO, options = {}) {
205
+ energyCostAddRecordSubmit: (energyCostAddRecordDTO_1, ...args_1) => __awaiter(this, [energyCostAddRecordDTO_1, ...args_1], void 0, function* (energyCostAddRecordDTO, options = {}) {
206
206
  // verify required parameter 'energyCostAddRecordDTO' is not null or undefined
207
- assertParamExists('energyCostAddRecordNext', 'energyCostAddRecordDTO', energyCostAddRecordDTO);
208
- const localVarPath = `/gizone/energy/cost/record/next`;
207
+ assertParamExists('energyCostAddRecordSubmit', 'energyCostAddRecordDTO', energyCostAddRecordDTO);
208
+ const localVarPath = `/gizone/energy/cost/record/submit`;
209
209
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
210
210
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
211
211
  let baseOptions;
@@ -229,16 +229,16 @@ export const EnergyCostRecordControllerApiAxiosParamCreator = function (configur
229
229
  };
230
230
  }),
231
231
  /**
232
- *
233
- * @summary 新增能源消耗-提交
232
+ * 用于前端实时计算,返回计算结果,但不会将数据存入数据库。
233
+ * @summary 计算能源消耗(不保存)
234
234
  * @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
235
235
  * @param {*} [options] Override http request option.
236
236
  * @throws {RequiredError}
237
237
  */
238
- energyCostAddRecordSubmit: (energyCostAddRecordDTO_1, ...args_1) => __awaiter(this, [energyCostAddRecordDTO_1, ...args_1], void 0, function* (energyCostAddRecordDTO, options = {}) {
238
+ energyCostCalculate: (energyCostAddRecordDTO_1, ...args_1) => __awaiter(this, [energyCostAddRecordDTO_1, ...args_1], void 0, function* (energyCostAddRecordDTO, options = {}) {
239
239
  // verify required parameter 'energyCostAddRecordDTO' is not null or undefined
240
- assertParamExists('energyCostAddRecordSubmit', 'energyCostAddRecordDTO', energyCostAddRecordDTO);
241
- const localVarPath = `/gizone/energy/cost/record/submit`;
240
+ assertParamExists('energyCostCalculate', 'energyCostAddRecordDTO', energyCostAddRecordDTO);
241
+ const localVarPath = `/gizone/energy/cost/record/next`;
242
242
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
243
243
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
244
244
  let baseOptions;
@@ -370,8 +370,8 @@ export const EnergyCostRecordControllerApiFp = function (configuration) {
370
370
  });
371
371
  },
372
372
  /**
373
- *
374
- * @summary 新增能源消耗-草稿
373
+ * 将当前输入的数据作为草稿保存,后续可以修改和提交。
374
+ * @summary 保存能源消耗为草稿
375
375
  * @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
376
376
  * @param {*} [options] Override http request option.
377
377
  * @throws {RequiredError}
@@ -408,34 +408,34 @@ export const EnergyCostRecordControllerApiFp = function (configuration) {
408
408
  });
409
409
  },
410
410
  /**
411
- *
412
- * @summary 新增能源消耗-next
411
+ * 将能源消耗数据最终提交并保存到数据库。
412
+ * @summary 提交能源消耗记录
413
413
  * @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
414
414
  * @param {*} [options] Override http request option.
415
415
  * @throws {RequiredError}
416
416
  */
417
- energyCostAddRecordNext(energyCostAddRecordDTO, options) {
417
+ energyCostAddRecordSubmit(energyCostAddRecordDTO, options) {
418
418
  return __awaiter(this, void 0, void 0, function* () {
419
419
  var _a, _b, _c;
420
- const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordNext(energyCostAddRecordDTO, options);
420
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordSubmit(energyCostAddRecordDTO, options);
421
421
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
422
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostRecordControllerApi.energyCostAddRecordNext']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
422
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostRecordControllerApi.energyCostAddRecordSubmit']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
423
423
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
424
424
  });
425
425
  },
426
426
  /**
427
- *
428
- * @summary 新增能源消耗-提交
427
+ * 用于前端实时计算,返回计算结果,但不会将数据存入数据库。
428
+ * @summary 计算能源消耗(不保存)
429
429
  * @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
430
430
  * @param {*} [options] Override http request option.
431
431
  * @throws {RequiredError}
432
432
  */
433
- energyCostAddRecordSubmit(energyCostAddRecordDTO, options) {
433
+ energyCostCalculate(energyCostAddRecordDTO, options) {
434
434
  return __awaiter(this, void 0, void 0, function* () {
435
435
  var _a, _b, _c;
436
- const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordSubmit(energyCostAddRecordDTO, options);
436
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostCalculate(energyCostAddRecordDTO, options);
437
437
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
438
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostRecordControllerApi.energyCostAddRecordSubmit']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
438
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostRecordControllerApi.energyCostCalculate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
439
439
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
440
440
  });
441
441
  },
@@ -501,8 +501,8 @@ export const EnergyCostRecordControllerApiFactory = function (configuration, bas
501
501
  return localVarFp.energyCostAddRecordDetail(requestParameters.id, requestParameters.billId, requestParameters.billCode, options).then((request) => request(axios, basePath));
502
502
  },
503
503
  /**
504
- *
505
- * @summary 新增能源消耗-草稿
504
+ * 将当前输入的数据作为草稿保存,后续可以修改和提交。
505
+ * @summary 保存能源消耗为草稿
506
506
  * @param {EnergyCostRecordControllerApiEnergyCostAddRecordInputDraftRequest} requestParameters Request parameters.
507
507
  * @param {*} [options] Override http request option.
508
508
  * @throws {RequiredError}
@@ -521,24 +521,24 @@ export const EnergyCostRecordControllerApiFactory = function (configuration, bas
521
521
  return localVarFp.energyCostAddRecordList(requestParameters.page, requestParameters.size, requestParameters.billCode, requestParameters.startTime, requestParameters.endTime, requestParameters.energyTypes, requestParameters.status, options).then((request) => request(axios, basePath));
522
522
  },
523
523
  /**
524
- *
525
- * @summary 新增能源消耗-next
526
- * @param {EnergyCostRecordControllerApiEnergyCostAddRecordNextRequest} requestParameters Request parameters.
524
+ * 将能源消耗数据最终提交并保存到数据库。
525
+ * @summary 提交能源消耗记录
526
+ * @param {EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest} requestParameters Request parameters.
527
527
  * @param {*} [options] Override http request option.
528
528
  * @throws {RequiredError}
529
529
  */
530
- energyCostAddRecordNext(requestParameters, options) {
531
- return localVarFp.energyCostAddRecordNext(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
530
+ energyCostAddRecordSubmit(requestParameters, options) {
531
+ return localVarFp.energyCostAddRecordSubmit(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
532
532
  },
533
533
  /**
534
- *
535
- * @summary 新增能源消耗-提交
536
- * @param {EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest} requestParameters Request parameters.
534
+ * 用于前端实时计算,返回计算结果,但不会将数据存入数据库。
535
+ * @summary 计算能源消耗(不保存)
536
+ * @param {EnergyCostRecordControllerApiEnergyCostCalculateRequest} requestParameters Request parameters.
537
537
  * @param {*} [options] Override http request option.
538
538
  * @throws {RequiredError}
539
539
  */
540
- energyCostAddRecordSubmit(requestParameters, options) {
541
- return localVarFp.energyCostAddRecordSubmit(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
540
+ energyCostCalculate(requestParameters, options) {
541
+ return localVarFp.energyCostCalculate(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
542
542
  },
543
543
  /**
544
544
  *
@@ -592,8 +592,8 @@ export class EnergyCostRecordControllerApi extends BaseAPI {
592
592
  return EnergyCostRecordControllerApiFp(this.configuration).energyCostAddRecordDetail(requestParameters.id, requestParameters.billId, requestParameters.billCode, options).then((request) => request(this.axios, this.basePath));
593
593
  }
594
594
  /**
595
- *
596
- * @summary 新增能源消耗-草稿
595
+ * 将当前输入的数据作为草稿保存,后续可以修改和提交。
596
+ * @summary 保存能源消耗为草稿
597
597
  * @param {EnergyCostRecordControllerApiEnergyCostAddRecordInputDraftRequest} requestParameters Request parameters.
598
598
  * @param {*} [options] Override http request option.
599
599
  * @throws {RequiredError}
@@ -614,26 +614,26 @@ export class EnergyCostRecordControllerApi extends BaseAPI {
614
614
  return 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));
615
615
  }
616
616
  /**
617
- *
618
- * @summary 新增能源消耗-next
619
- * @param {EnergyCostRecordControllerApiEnergyCostAddRecordNextRequest} requestParameters Request parameters.
617
+ * 将能源消耗数据最终提交并保存到数据库。
618
+ * @summary 提交能源消耗记录
619
+ * @param {EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest} requestParameters Request parameters.
620
620
  * @param {*} [options] Override http request option.
621
621
  * @throws {RequiredError}
622
622
  * @memberof EnergyCostRecordControllerApi
623
623
  */
624
- energyCostAddRecordNext(requestParameters, options) {
625
- return EnergyCostRecordControllerApiFp(this.configuration).energyCostAddRecordNext(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
624
+ energyCostAddRecordSubmit(requestParameters, options) {
625
+ return EnergyCostRecordControllerApiFp(this.configuration).energyCostAddRecordSubmit(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
626
626
  }
627
627
  /**
628
- *
629
- * @summary 新增能源消耗-提交
630
- * @param {EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest} requestParameters Request parameters.
628
+ * 用于前端实时计算,返回计算结果,但不会将数据存入数据库。
629
+ * @summary 计算能源消耗(不保存)
630
+ * @param {EnergyCostRecordControllerApiEnergyCostCalculateRequest} requestParameters Request parameters.
631
631
  * @param {*} [options] Override http request option.
632
632
  * @throws {RequiredError}
633
633
  * @memberof EnergyCostRecordControllerApi
634
634
  */
635
- energyCostAddRecordSubmit(requestParameters, options) {
636
- return EnergyCostRecordControllerApiFp(this.configuration).energyCostAddRecordSubmit(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
635
+ energyCostCalculate(requestParameters, options) {
636
+ return EnergyCostRecordControllerApiFp(this.configuration).energyCostCalculate(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
637
637
  }
638
638
  /**
639
639
  *
@@ -95,6 +95,18 @@ export interface EnergyCostAddRecordDTO {
95
95
  * @memberof EnergyCostAddRecordDTO
96
96
  */
97
97
  'unitPrice': number;
98
+ /**
99
+ * 单平米价格
100
+ * @type {number}
101
+ * @memberof EnergyCostAddRecordDTO
102
+ */
103
+ 'pricePerSquareMeter'?: number;
104
+ /**
105
+ * 单平米成本
106
+ * @type {number}
107
+ * @memberof EnergyCostAddRecordDTO
108
+ */
109
+ 'costPerSquareMeter'?: number;
98
110
  /**
99
111
  * 园区总面积
100
112
  * @type {number}
@@ -22,6 +22,12 @@ export interface IPageEnergyCostRecordInfoVO {
22
22
  * @memberof IPageEnergyCostRecordInfoVO
23
23
  */
24
24
  'total'?: number;
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof IPageEnergyCostRecordInfoVO
29
+ */
30
+ 'current'?: number;
25
31
  /**
26
32
  *
27
33
  * @type {Array<EnergyCostRecordInfoVO>}
@@ -41,12 +47,6 @@ export interface IPageEnergyCostRecordInfoVO {
41
47
  * @deprecated
42
48
  */
43
49
  'hitCount'?: boolean;
44
- /**
45
- *
46
- * @type {number}
47
- * @memberof IPageEnergyCostRecordInfoVO
48
- */
49
- 'current'?: number;
50
50
  /**
51
51
  *
52
52
  * @type {boolean}
@@ -95,6 +95,18 @@ export interface EnergyCostAddRecordDTO {
95
95
  * @memberof EnergyCostAddRecordDTO
96
96
  */
97
97
  'unitPrice': number;
98
+ /**
99
+ * 单平米价格
100
+ * @type {number}
101
+ * @memberof EnergyCostAddRecordDTO
102
+ */
103
+ 'pricePerSquareMeter'?: number;
104
+ /**
105
+ * 单平米成本
106
+ * @type {number}
107
+ * @memberof EnergyCostAddRecordDTO
108
+ */
109
+ 'costPerSquareMeter'?: number;
98
110
  /**
99
111
  * 园区总面积
100
112
  * @type {number}
@@ -22,6 +22,12 @@ export interface IPageEnergyCostRecordInfoVO {
22
22
  * @memberof IPageEnergyCostRecordInfoVO
23
23
  */
24
24
  'total'?: number;
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof IPageEnergyCostRecordInfoVO
29
+ */
30
+ 'current'?: number;
25
31
  /**
26
32
  *
27
33
  * @type {Array<EnergyCostRecordInfoVO>}
@@ -41,12 +47,6 @@ export interface IPageEnergyCostRecordInfoVO {
41
47
  * @deprecated
42
48
  */
43
49
  'hitCount'?: boolean;
44
- /**
45
- *
46
- * @type {number}
47
- * @memberof IPageEnergyCostRecordInfoVO
48
- */
49
- 'current'?: number;
50
50
  /**
51
51
  *
52
52
  * @type {boolean}
@@ -104,6 +104,18 @@ export interface EnergyCostAddRecordDTO {
104
104
  * @memberof EnergyCostAddRecordDTO
105
105
  */
106
106
  'unitPrice': number;
107
+ /**
108
+ * 单平米价格
109
+ * @type {number}
110
+ * @memberof EnergyCostAddRecordDTO
111
+ */
112
+ 'pricePerSquareMeter'?: number;
113
+ /**
114
+ * 单平米成本
115
+ * @type {number}
116
+ * @memberof EnergyCostAddRecordDTO
117
+ */
118
+ 'costPerSquareMeter'?: number;
107
119
  /**
108
120
  * 园区总面积
109
121
  * @type {number}
@@ -29,6 +29,12 @@ export interface IPageEnergyCostRecordInfoVO {
29
29
  * @memberof IPageEnergyCostRecordInfoVO
30
30
  */
31
31
  'total'?: number;
32
+ /**
33
+ *
34
+ * @type {number}
35
+ * @memberof IPageEnergyCostRecordInfoVO
36
+ */
37
+ 'current'?: number;
32
38
  /**
33
39
  *
34
40
  * @type {Array<EnergyCostRecordInfoVO>}
@@ -48,12 +54,6 @@ export interface IPageEnergyCostRecordInfoVO {
48
54
  * @deprecated
49
55
  */
50
56
  'hitCount'?: boolean;
51
- /**
52
- *
53
- * @type {number}
54
- * @memberof IPageEnergyCostRecordInfoVO
55
- */
56
- 'current'?: number;
57
57
  /**
58
58
  *
59
59
  * @type {boolean}