@gizone/rrs-client 4.2.9-alpha.547 → 4.2.9-alpha.549

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 (40) hide show
  1. package/.openapi-generator/FILES +3 -0
  2. package/apis/energy-cost-record-controller-api.ts +224 -14
  3. package/dist/apis/energy-cost-record-controller-api.d.ts +117 -7
  4. package/dist/apis/energy-cost-record-controller-api.js +164 -13
  5. package/dist/esm/apis/energy-cost-record-controller-api.d.ts +117 -7
  6. package/dist/esm/apis/energy-cost-record-controller-api.js +164 -13
  7. package/dist/esm/models/energy-cost-edit-record-dto.d.ts +173 -0
  8. package/dist/esm/models/energy-cost-edit-record-dto.js +36 -0
  9. package/dist/esm/models/energy-cost-record-bill-info-vo.d.ts +48 -0
  10. package/dist/esm/models/energy-cost-record-bill-info-vo.js +14 -0
  11. package/dist/esm/models/energy-cost-scenarios-info-not-enum-vo.d.ts +2 -2
  12. package/dist/esm/models/energy-cost-scenarios-info-vo.d.ts +2 -2
  13. package/dist/esm/models/index.d.ts +3 -0
  14. package/dist/esm/models/index.js +3 -0
  15. package/dist/esm/models/ipage-energy-cost-record-info-vo.d.ts +7 -7
  16. package/dist/esm/models/item.d.ts +2 -2
  17. package/dist/esm/models/json-result-energy-cost-record-bill-info-vo.d.ts +62 -0
  18. package/dist/esm/models/json-result-energy-cost-record-bill-info-vo.js +14 -0
  19. package/dist/models/energy-cost-edit-record-dto.d.ts +173 -0
  20. package/dist/models/energy-cost-edit-record-dto.js +39 -0
  21. package/dist/models/energy-cost-record-bill-info-vo.d.ts +48 -0
  22. package/dist/models/energy-cost-record-bill-info-vo.js +15 -0
  23. package/dist/models/energy-cost-scenarios-info-not-enum-vo.d.ts +2 -2
  24. package/dist/models/energy-cost-scenarios-info-vo.d.ts +2 -2
  25. package/dist/models/index.d.ts +3 -0
  26. package/dist/models/index.js +3 -0
  27. package/dist/models/ipage-energy-cost-record-info-vo.d.ts +7 -7
  28. package/dist/models/item.d.ts +2 -2
  29. package/dist/models/json-result-energy-cost-record-bill-info-vo.d.ts +62 -0
  30. package/dist/models/json-result-energy-cost-record-bill-info-vo.js +15 -0
  31. package/models/energy-cost-edit-record-dto.ts +189 -0
  32. package/models/energy-cost-record-bill-info-vo.ts +54 -0
  33. package/models/energy-cost-scenarios-info-not-enum-vo.ts +2 -2
  34. package/models/energy-cost-scenarios-info-vo.ts +2 -2
  35. package/models/index.ts +3 -0
  36. package/models/ipage-energy-cost-record-info-vo.ts +7 -7
  37. package/models/item.ts +2 -2
  38. package/models/json-result-energy-cost-record-bill-info-vo.ts +72 -0
  39. package/ossutil.log +1074 -1068
  40. package/package.json +1 -1
@@ -154,8 +154,10 @@ models/energy-cost-add-record-dto.ts
154
154
  models/energy-cost-add-setting-dto.ts
155
155
  models/energy-cost-add-setting-dtopark-setting-item.ts
156
156
  models/energy-cost-add-setting-dtopark-setting.ts
157
+ models/energy-cost-edit-record-dto.ts
157
158
  models/energy-cost-month-setting-list-summary-standards-vo.ts
158
159
  models/energy-cost-month-setting-list-vo.ts
160
+ models/energy-cost-record-bill-info-vo.ts
159
161
  models/energy-cost-record-info-not-emun-vo.ts
160
162
  models/energy-cost-record-info-vo.ts
161
163
  models/energy-cost-scenarios-info-not-enum-vo.ts
@@ -243,6 +245,7 @@ models/json-result-boolean.ts
243
245
  models/json-result-calendar-entity.ts
244
246
  models/json-result-dashboard-park-statistics-vo.ts
245
247
  models/json-result-disaster-warning-standard-entity.ts
248
+ models/json-result-energy-cost-record-bill-info-vo.ts
246
249
  models/json-result-energy-cost-record-info-not-emun-vo.ts
247
250
  models/json-result-energy-cost-record-info-vo.ts
248
251
  models/json-result-equipment-add-redis-list-dto.ts
@@ -24,8 +24,12 @@ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError
24
24
  // @ts-ignore
25
25
  import type { EnergyCostAddRecordDTO } from '../models';
26
26
  // @ts-ignore
27
+ import type { EnergyCostEditRecordDTO } from '../models';
28
+ // @ts-ignore
27
29
  import type { JsonResult } from '../models';
28
30
  // @ts-ignore
31
+ import type { JsonResultEnergyCostRecordBillInfoVO } from '../models';
32
+ // @ts-ignore
29
33
  import type { JsonResultEnergyCostRecordInfoNotEmunVO } from '../models';
30
34
  // @ts-ignore
31
35
  import type { JsonResultEnergyCostRecordInfoVO } from '../models';
@@ -40,17 +44,57 @@ import type { JsonResultMapStringObject } from '../models';
40
44
  export const EnergyCostRecordControllerApiAxiosParamCreator = function (configuration?: Configuration) {
41
45
  return {
42
46
  /**
43
- *
44
- * @summary 新增能源消耗-返回详情
47
+ * 获取园区用量,账单时间
48
+ * @summary 新增能源消耗-获取账单园区基本信息
45
49
  * @param {number} id
46
50
  * @param {*} [options] Override http request option.
47
51
  * @throws {RequiredError}
48
52
  */
49
- energyCostAddRecordDetail: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
53
+ billBaseInfo: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
50
54
  // verify required parameter 'id' is not null or undefined
51
- assertParamExists('energyCostAddRecordDetail', 'id', id)
52
- const localVarPath = `/gizone/energy/cost/record/detail/{id}`
53
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
55
+ assertParamExists('billBaseInfo', 'id', id)
56
+ const localVarPath = `/gizone/energy/cost/record/billBaseInfo`;
57
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
58
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
59
+ let baseOptions;
60
+ if (configuration) {
61
+ baseOptions = configuration.baseOptions;
62
+ }
63
+
64
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
65
+ const localVarHeaderParameter = {} as any;
66
+ const localVarQueryParameter = {} as any;
67
+
68
+ // authentication tokenScheme required
69
+ // http bearer authentication required
70
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
71
+
72
+ if (id !== undefined) {
73
+ localVarQueryParameter['id'] = id;
74
+ }
75
+
76
+
77
+
78
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
79
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
80
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
81
+
82
+ return {
83
+ url: toPathString(localVarUrlObj),
84
+ options: localVarRequestOptions,
85
+ };
86
+ },
87
+ /**
88
+ *
89
+ * @summary 新增能源消耗-返回详情
90
+ * @param {number} [id]
91
+ * @param {number} [billId]
92
+ * @param {string} [billCode]
93
+ * @param {*} [options] Override http request option.
94
+ * @throws {RequiredError}
95
+ */
96
+ energyCostAddRecordDetail: async (id?: number, billId?: number, billCode?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
97
+ const localVarPath = `/gizone/energy/cost/record/detail`;
54
98
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
55
99
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
56
100
  let baseOptions;
@@ -66,6 +110,18 @@ export const EnergyCostRecordControllerApiAxiosParamCreator = function (configur
66
110
  // http bearer authentication required
67
111
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
68
112
 
113
+ if (id !== undefined) {
114
+ localVarQueryParameter['id'] = id;
115
+ }
116
+
117
+ if (billId !== undefined) {
118
+ localVarQueryParameter['billId'] = billId;
119
+ }
120
+
121
+ if (billCode !== undefined) {
122
+ localVarQueryParameter['billCode'] = billCode;
123
+ }
124
+
69
125
 
70
126
 
71
127
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -266,6 +322,46 @@ export const EnergyCostRecordControllerApiAxiosParamCreator = function (configur
266
322
  options: localVarRequestOptions,
267
323
  };
268
324
  },
325
+ /**
326
+ *
327
+ * @summary 编辑能源消耗
328
+ * @param {EnergyCostEditRecordDTO} energyCostEditRecordDTO
329
+ * @param {*} [options] Override http request option.
330
+ * @throws {RequiredError}
331
+ */
332
+ energyCostEditRecord: async (energyCostEditRecordDTO: EnergyCostEditRecordDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
333
+ // verify required parameter 'energyCostEditRecordDTO' is not null or undefined
334
+ assertParamExists('energyCostEditRecord', 'energyCostEditRecordDTO', energyCostEditRecordDTO)
335
+ const localVarPath = `/gizone/energy/cost/record/edit`;
336
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
337
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
338
+ let baseOptions;
339
+ if (configuration) {
340
+ baseOptions = configuration.baseOptions;
341
+ }
342
+
343
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
344
+ const localVarHeaderParameter = {} as any;
345
+ const localVarQueryParameter = {} as any;
346
+
347
+ // authentication tokenScheme required
348
+ // http bearer authentication required
349
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
350
+
351
+
352
+
353
+ localVarHeaderParameter['Content-Type'] = 'application/json';
354
+
355
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
356
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
357
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
358
+ localVarRequestOptions.data = serializeDataIfNeeded(energyCostEditRecordDTO, localVarRequestOptions, configuration)
359
+
360
+ return {
361
+ url: toPathString(localVarUrlObj),
362
+ options: localVarRequestOptions,
363
+ };
364
+ },
269
365
  /**
270
366
  *
271
367
  * @summary 获取下拉框内容
@@ -315,15 +411,30 @@ export const EnergyCostRecordControllerApiAxiosParamCreator = function (configur
315
411
  export const EnergyCostRecordControllerApiFp = function(configuration?: Configuration) {
316
412
  const localVarAxiosParamCreator = EnergyCostRecordControllerApiAxiosParamCreator(configuration)
317
413
  return {
414
+ /**
415
+ * 获取园区用量,账单时间
416
+ * @summary 新增能源消耗-获取账单园区基本信息
417
+ * @param {number} id
418
+ * @param {*} [options] Override http request option.
419
+ * @throws {RequiredError}
420
+ */
421
+ async billBaseInfo(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultEnergyCostRecordBillInfoVO>> {
422
+ const localVarAxiosArgs = await localVarAxiosParamCreator.billBaseInfo(id, options);
423
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
424
+ const localVarOperationServerBasePath = operationServerMap['EnergyCostRecordControllerApi.billBaseInfo']?.[localVarOperationServerIndex]?.url;
425
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
426
+ },
318
427
  /**
319
428
  *
320
429
  * @summary 新增能源消耗-返回详情
321
- * @param {number} id
430
+ * @param {number} [id]
431
+ * @param {number} [billId]
432
+ * @param {string} [billCode]
322
433
  * @param {*} [options] Override http request option.
323
434
  * @throws {RequiredError}
324
435
  */
325
- async energyCostAddRecordDetail(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultEnergyCostRecordInfoNotEmunVO>> {
326
- const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostAddRecordDetail(id, options);
436
+ async energyCostAddRecordDetail(id?: number, billId?: number, billCode?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultEnergyCostRecordInfoNotEmunVO>> {
437
+ const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostAddRecordDetail(id, billId, billCode, options);
327
438
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
328
439
  const localVarOperationServerBasePath = operationServerMap['EnergyCostRecordControllerApi.energyCostAddRecordDetail']?.[localVarOperationServerIndex]?.url;
329
440
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -386,6 +497,19 @@ export const EnergyCostRecordControllerApiFp = function(configuration?: Configur
386
497
  const localVarOperationServerBasePath = operationServerMap['EnergyCostRecordControllerApi.energyCostAddRecordSubmit']?.[localVarOperationServerIndex]?.url;
387
498
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
388
499
  },
500
+ /**
501
+ *
502
+ * @summary 编辑能源消耗
503
+ * @param {EnergyCostEditRecordDTO} energyCostEditRecordDTO
504
+ * @param {*} [options] Override http request option.
505
+ * @throws {RequiredError}
506
+ */
507
+ async energyCostEditRecord(energyCostEditRecordDTO: EnergyCostEditRecordDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultEnergyCostRecordInfoVO>> {
508
+ const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostEditRecord(energyCostEditRecordDTO, options);
509
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
510
+ const localVarOperationServerBasePath = operationServerMap['EnergyCostRecordControllerApi.energyCostEditRecord']?.[localVarOperationServerIndex]?.url;
511
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
512
+ },
389
513
  /**
390
514
  *
391
515
  * @summary 获取下拉框内容
@@ -409,6 +533,16 @@ export const EnergyCostRecordControllerApiFp = function(configuration?: Configur
409
533
  export const EnergyCostRecordControllerApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
410
534
  const localVarFp = EnergyCostRecordControllerApiFp(configuration)
411
535
  return {
536
+ /**
537
+ * 获取园区用量,账单时间
538
+ * @summary 新增能源消耗-获取账单园区基本信息
539
+ * @param {EnergyCostRecordControllerApiBillBaseInfoRequest} requestParameters Request parameters.
540
+ * @param {*} [options] Override http request option.
541
+ * @throws {RequiredError}
542
+ */
543
+ billBaseInfo(requestParameters: EnergyCostRecordControllerApiBillBaseInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultEnergyCostRecordBillInfoVO> {
544
+ return localVarFp.billBaseInfo(requestParameters.id, options).then((request) => request(axios, basePath));
545
+ },
412
546
  /**
413
547
  *
414
548
  * @summary 新增能源消耗-返回详情
@@ -416,8 +550,8 @@ export const EnergyCostRecordControllerApiFactory = function (configuration?: Co
416
550
  * @param {*} [options] Override http request option.
417
551
  * @throws {RequiredError}
418
552
  */
419
- energyCostAddRecordDetail(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultEnergyCostRecordInfoNotEmunVO> {
420
- return localVarFp.energyCostAddRecordDetail(requestParameters.id, options).then((request) => request(axios, basePath));
553
+ energyCostAddRecordDetail(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordDetailRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultEnergyCostRecordInfoNotEmunVO> {
554
+ return localVarFp.energyCostAddRecordDetail(requestParameters.id, requestParameters.billId, requestParameters.billCode, options).then((request) => request(axios, basePath));
421
555
  },
422
556
  /**
423
557
  *
@@ -459,6 +593,16 @@ export const EnergyCostRecordControllerApiFactory = function (configuration?: Co
459
593
  energyCostAddRecordSubmit(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
460
594
  return localVarFp.energyCostAddRecordSubmit(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
461
595
  },
596
+ /**
597
+ *
598
+ * @summary 编辑能源消耗
599
+ * @param {EnergyCostRecordControllerApiEnergyCostEditRecordRequest} requestParameters Request parameters.
600
+ * @param {*} [options] Override http request option.
601
+ * @throws {RequiredError}
602
+ */
603
+ energyCostEditRecord(requestParameters: EnergyCostRecordControllerApiEnergyCostEditRecordRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultEnergyCostRecordInfoVO> {
604
+ return localVarFp.energyCostEditRecord(requestParameters.energyCostEditRecordDTO, options).then((request) => request(axios, basePath));
605
+ },
462
606
  /**
463
607
  *
464
608
  * @summary 获取下拉框内容
@@ -472,6 +616,20 @@ export const EnergyCostRecordControllerApiFactory = function (configuration?: Co
472
616
  };
473
617
  };
474
618
 
619
+ /**
620
+ * Request parameters for billBaseInfo operation in EnergyCostRecordControllerApi.
621
+ * @export
622
+ * @interface EnergyCostRecordControllerApiBillBaseInfoRequest
623
+ */
624
+ export interface EnergyCostRecordControllerApiBillBaseInfoRequest {
625
+ /**
626
+ *
627
+ * @type {number}
628
+ * @memberof EnergyCostRecordControllerApiBillBaseInfo
629
+ */
630
+ readonly id: number
631
+ }
632
+
475
633
  /**
476
634
  * Request parameters for energyCostAddRecordDetail operation in EnergyCostRecordControllerApi.
477
635
  * @export
@@ -483,7 +641,21 @@ export interface EnergyCostRecordControllerApiEnergyCostAddRecordDetailRequest {
483
641
  * @type {number}
484
642
  * @memberof EnergyCostRecordControllerApiEnergyCostAddRecordDetail
485
643
  */
486
- readonly id: number
644
+ readonly id?: number
645
+
646
+ /**
647
+ *
648
+ * @type {number}
649
+ * @memberof EnergyCostRecordControllerApiEnergyCostAddRecordDetail
650
+ */
651
+ readonly billId?: number
652
+
653
+ /**
654
+ *
655
+ * @type {string}
656
+ * @memberof EnergyCostRecordControllerApiEnergyCostAddRecordDetail
657
+ */
658
+ readonly billCode?: string
487
659
  }
488
660
 
489
661
  /**
@@ -584,6 +756,20 @@ export interface EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest {
584
756
  readonly energyCostAddRecordDTO: EnergyCostAddRecordDTO
585
757
  }
586
758
 
759
+ /**
760
+ * Request parameters for energyCostEditRecord operation in EnergyCostRecordControllerApi.
761
+ * @export
762
+ * @interface EnergyCostRecordControllerApiEnergyCostEditRecordRequest
763
+ */
764
+ export interface EnergyCostRecordControllerApiEnergyCostEditRecordRequest {
765
+ /**
766
+ *
767
+ * @type {EnergyCostEditRecordDTO}
768
+ * @memberof EnergyCostRecordControllerApiEnergyCostEditRecord
769
+ */
770
+ readonly energyCostEditRecordDTO: EnergyCostEditRecordDTO
771
+ }
772
+
587
773
  /**
588
774
  * Request parameters for getOptions operation in EnergyCostRecordControllerApi.
589
775
  * @export
@@ -605,6 +791,18 @@ export interface EnergyCostRecordControllerApiGetOptionsRequest {
605
791
  * @extends {BaseAPI}
606
792
  */
607
793
  export class EnergyCostRecordControllerApi extends BaseAPI {
794
+ /**
795
+ * 获取园区用量,账单时间
796
+ * @summary 新增能源消耗-获取账单园区基本信息
797
+ * @param {EnergyCostRecordControllerApiBillBaseInfoRequest} requestParameters Request parameters.
798
+ * @param {*} [options] Override http request option.
799
+ * @throws {RequiredError}
800
+ * @memberof EnergyCostRecordControllerApi
801
+ */
802
+ public billBaseInfo(requestParameters: EnergyCostRecordControllerApiBillBaseInfoRequest, options?: RawAxiosRequestConfig) {
803
+ return EnergyCostRecordControllerApiFp(this.configuration).billBaseInfo(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
804
+ }
805
+
608
806
  /**
609
807
  *
610
808
  * @summary 新增能源消耗-返回详情
@@ -613,8 +811,8 @@ export class EnergyCostRecordControllerApi extends BaseAPI {
613
811
  * @throws {RequiredError}
614
812
  * @memberof EnergyCostRecordControllerApi
615
813
  */
616
- public energyCostAddRecordDetail(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordDetailRequest, options?: RawAxiosRequestConfig) {
617
- return EnergyCostRecordControllerApiFp(this.configuration).energyCostAddRecordDetail(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
814
+ public energyCostAddRecordDetail(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordDetailRequest = {}, options?: RawAxiosRequestConfig) {
815
+ return EnergyCostRecordControllerApiFp(this.configuration).energyCostAddRecordDetail(requestParameters.id, requestParameters.billId, requestParameters.billCode, options).then((request) => request(this.axios, this.basePath));
618
816
  }
619
817
 
620
818
  /**
@@ -665,6 +863,18 @@ export class EnergyCostRecordControllerApi extends BaseAPI {
665
863
  return EnergyCostRecordControllerApiFp(this.configuration).energyCostAddRecordSubmit(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
666
864
  }
667
865
 
866
+ /**
867
+ *
868
+ * @summary 编辑能源消耗
869
+ * @param {EnergyCostRecordControllerApiEnergyCostEditRecordRequest} requestParameters Request parameters.
870
+ * @param {*} [options] Override http request option.
871
+ * @throws {RequiredError}
872
+ * @memberof EnergyCostRecordControllerApi
873
+ */
874
+ public energyCostEditRecord(requestParameters: EnergyCostRecordControllerApiEnergyCostEditRecordRequest, options?: RawAxiosRequestConfig) {
875
+ return EnergyCostRecordControllerApiFp(this.configuration).energyCostEditRecord(requestParameters.energyCostEditRecordDTO, options).then((request) => request(this.axios, this.basePath));
876
+ }
877
+
668
878
  /**
669
879
  *
670
880
  * @summary 获取下拉框内容
@@ -13,7 +13,9 @@ import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { EnergyCostAddRecordDTO } from '../models';
16
+ import type { EnergyCostEditRecordDTO } from '../models';
16
17
  import type { JsonResult } from '../models';
18
+ import type { JsonResultEnergyCostRecordBillInfoVO } from '../models';
17
19
  import type { JsonResultEnergyCostRecordInfoNotEmunVO } from '../models';
18
20
  import type { JsonResultEnergyCostRecordInfoVO } from '../models';
19
21
  import type { JsonResultIPageEnergyCostRecordInfoVO } from '../models';
@@ -23,14 +25,24 @@ import type { JsonResultMapStringObject } from '../models';
23
25
  * @export
24
26
  */
25
27
  export declare const EnergyCostRecordControllerApiAxiosParamCreator: (configuration?: Configuration) => {
28
+ /**
29
+ * 获取园区用量,账单时间
30
+ * @summary 新增能源消耗-获取账单园区基本信息
31
+ * @param {number} id
32
+ * @param {*} [options] Override http request option.
33
+ * @throws {RequiredError}
34
+ */
35
+ billBaseInfo: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26
36
  /**
27
37
  *
28
38
  * @summary 新增能源消耗-返回详情
29
- * @param {number} id
39
+ * @param {number} [id]
40
+ * @param {number} [billId]
41
+ * @param {string} [billCode]
30
42
  * @param {*} [options] Override http request option.
31
43
  * @throws {RequiredError}
32
44
  */
33
- energyCostAddRecordDetail: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
45
+ energyCostAddRecordDetail: (id?: number, billId?: number, billCode?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
34
46
  /**
35
47
  *
36
48
  * @summary 新增能源消耗-草稿
@@ -69,6 +81,14 @@ export declare const EnergyCostRecordControllerApiAxiosParamCreator: (configurat
69
81
  * @throws {RequiredError}
70
82
  */
71
83
  energyCostAddRecordSubmit: (energyCostAddRecordDTO: EnergyCostAddRecordDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
84
+ /**
85
+ *
86
+ * @summary 编辑能源消耗
87
+ * @param {EnergyCostEditRecordDTO} energyCostEditRecordDTO
88
+ * @param {*} [options] Override http request option.
89
+ * @throws {RequiredError}
90
+ */
91
+ energyCostEditRecord: (energyCostEditRecordDTO: EnergyCostEditRecordDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
72
92
  /**
73
93
  *
74
94
  * @summary 获取下拉框内容
@@ -83,14 +103,24 @@ export declare const EnergyCostRecordControllerApiAxiosParamCreator: (configurat
83
103
  * @export
84
104
  */
85
105
  export declare const EnergyCostRecordControllerApiFp: (configuration?: Configuration) => {
106
+ /**
107
+ * 获取园区用量,账单时间
108
+ * @summary 新增能源消耗-获取账单园区基本信息
109
+ * @param {number} id
110
+ * @param {*} [options] Override http request option.
111
+ * @throws {RequiredError}
112
+ */
113
+ billBaseInfo(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultEnergyCostRecordBillInfoVO>>;
86
114
  /**
87
115
  *
88
116
  * @summary 新增能源消耗-返回详情
89
- * @param {number} id
117
+ * @param {number} [id]
118
+ * @param {number} [billId]
119
+ * @param {string} [billCode]
90
120
  * @param {*} [options] Override http request option.
91
121
  * @throws {RequiredError}
92
122
  */
93
- energyCostAddRecordDetail(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultEnergyCostRecordInfoNotEmunVO>>;
123
+ energyCostAddRecordDetail(id?: number, billId?: number, billCode?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultEnergyCostRecordInfoNotEmunVO>>;
94
124
  /**
95
125
  *
96
126
  * @summary 新增能源消耗-草稿
@@ -129,6 +159,14 @@ export declare const EnergyCostRecordControllerApiFp: (configuration?: Configura
129
159
  * @throws {RequiredError}
130
160
  */
131
161
  energyCostAddRecordSubmit(energyCostAddRecordDTO: EnergyCostAddRecordDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
162
+ /**
163
+ *
164
+ * @summary 编辑能源消耗
165
+ * @param {EnergyCostEditRecordDTO} energyCostEditRecordDTO
166
+ * @param {*} [options] Override http request option.
167
+ * @throws {RequiredError}
168
+ */
169
+ energyCostEditRecord(energyCostEditRecordDTO: EnergyCostEditRecordDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultEnergyCostRecordInfoVO>>;
132
170
  /**
133
171
  *
134
172
  * @summary 获取下拉框内容
@@ -143,6 +181,14 @@ export declare const EnergyCostRecordControllerApiFp: (configuration?: Configura
143
181
  * @export
144
182
  */
145
183
  export declare const EnergyCostRecordControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
184
+ /**
185
+ * 获取园区用量,账单时间
186
+ * @summary 新增能源消耗-获取账单园区基本信息
187
+ * @param {EnergyCostRecordControllerApiBillBaseInfoRequest} requestParameters Request parameters.
188
+ * @param {*} [options] Override http request option.
189
+ * @throws {RequiredError}
190
+ */
191
+ billBaseInfo(requestParameters: EnergyCostRecordControllerApiBillBaseInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultEnergyCostRecordBillInfoVO>;
146
192
  /**
147
193
  *
148
194
  * @summary 新增能源消耗-返回详情
@@ -150,7 +196,7 @@ export declare const EnergyCostRecordControllerApiFactory: (configuration?: Conf
150
196
  * @param {*} [options] Override http request option.
151
197
  * @throws {RequiredError}
152
198
  */
153
- energyCostAddRecordDetail(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultEnergyCostRecordInfoNotEmunVO>;
199
+ energyCostAddRecordDetail(requestParameters?: EnergyCostRecordControllerApiEnergyCostAddRecordDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultEnergyCostRecordInfoNotEmunVO>;
154
200
  /**
155
201
  *
156
202
  * @summary 新增能源消耗-草稿
@@ -183,6 +229,14 @@ export declare const EnergyCostRecordControllerApiFactory: (configuration?: Conf
183
229
  * @throws {RequiredError}
184
230
  */
185
231
  energyCostAddRecordSubmit(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult>;
232
+ /**
233
+ *
234
+ * @summary 编辑能源消耗
235
+ * @param {EnergyCostRecordControllerApiEnergyCostEditRecordRequest} requestParameters Request parameters.
236
+ * @param {*} [options] Override http request option.
237
+ * @throws {RequiredError}
238
+ */
239
+ energyCostEditRecord(requestParameters: EnergyCostRecordControllerApiEnergyCostEditRecordRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultEnergyCostRecordInfoVO>;
186
240
  /**
187
241
  *
188
242
  * @summary 获取下拉框内容
@@ -192,6 +246,19 @@ export declare const EnergyCostRecordControllerApiFactory: (configuration?: Conf
192
246
  */
193
247
  getOptions(requestParameters?: EnergyCostRecordControllerApiGetOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultMapStringObject>;
194
248
  };
249
+ /**
250
+ * Request parameters for billBaseInfo operation in EnergyCostRecordControllerApi.
251
+ * @export
252
+ * @interface EnergyCostRecordControllerApiBillBaseInfoRequest
253
+ */
254
+ export interface EnergyCostRecordControllerApiBillBaseInfoRequest {
255
+ /**
256
+ *
257
+ * @type {number}
258
+ * @memberof EnergyCostRecordControllerApiBillBaseInfo
259
+ */
260
+ readonly id: number;
261
+ }
195
262
  /**
196
263
  * Request parameters for energyCostAddRecordDetail operation in EnergyCostRecordControllerApi.
197
264
  * @export
@@ -203,7 +270,19 @@ export interface EnergyCostRecordControllerApiEnergyCostAddRecordDetailRequest {
203
270
  * @type {number}
204
271
  * @memberof EnergyCostRecordControllerApiEnergyCostAddRecordDetail
205
272
  */
206
- readonly id: number;
273
+ readonly id?: number;
274
+ /**
275
+ *
276
+ * @type {number}
277
+ * @memberof EnergyCostRecordControllerApiEnergyCostAddRecordDetail
278
+ */
279
+ readonly billId?: number;
280
+ /**
281
+ *
282
+ * @type {string}
283
+ * @memberof EnergyCostRecordControllerApiEnergyCostAddRecordDetail
284
+ */
285
+ readonly billCode?: string;
207
286
  }
208
287
  /**
209
288
  * Request parameters for energyCostAddRecordInputDraft operation in EnergyCostRecordControllerApi.
@@ -293,6 +372,19 @@ export interface EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest {
293
372
  */
294
373
  readonly energyCostAddRecordDTO: EnergyCostAddRecordDTO;
295
374
  }
375
+ /**
376
+ * Request parameters for energyCostEditRecord operation in EnergyCostRecordControllerApi.
377
+ * @export
378
+ * @interface EnergyCostRecordControllerApiEnergyCostEditRecordRequest
379
+ */
380
+ export interface EnergyCostRecordControllerApiEnergyCostEditRecordRequest {
381
+ /**
382
+ *
383
+ * @type {EnergyCostEditRecordDTO}
384
+ * @memberof EnergyCostRecordControllerApiEnergyCostEditRecord
385
+ */
386
+ readonly energyCostEditRecordDTO: EnergyCostEditRecordDTO;
387
+ }
296
388
  /**
297
389
  * Request parameters for getOptions operation in EnergyCostRecordControllerApi.
298
390
  * @export
@@ -313,6 +405,15 @@ export interface EnergyCostRecordControllerApiGetOptionsRequest {
313
405
  * @extends {BaseAPI}
314
406
  */
315
407
  export declare class EnergyCostRecordControllerApi extends BaseAPI {
408
+ /**
409
+ * 获取园区用量,账单时间
410
+ * @summary 新增能源消耗-获取账单园区基本信息
411
+ * @param {EnergyCostRecordControllerApiBillBaseInfoRequest} requestParameters Request parameters.
412
+ * @param {*} [options] Override http request option.
413
+ * @throws {RequiredError}
414
+ * @memberof EnergyCostRecordControllerApi
415
+ */
416
+ billBaseInfo(requestParameters: EnergyCostRecordControllerApiBillBaseInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultEnergyCostRecordBillInfoVO, any, {}>>;
316
417
  /**
317
418
  *
318
419
  * @summary 新增能源消耗-返回详情
@@ -321,7 +422,7 @@ export declare class EnergyCostRecordControllerApi extends BaseAPI {
321
422
  * @throws {RequiredError}
322
423
  * @memberof EnergyCostRecordControllerApi
323
424
  */
324
- energyCostAddRecordDetail(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordDetailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultEnergyCostRecordInfoNotEmunVO, any, {}>>;
425
+ energyCostAddRecordDetail(requestParameters?: EnergyCostRecordControllerApiEnergyCostAddRecordDetailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultEnergyCostRecordInfoNotEmunVO, any, {}>>;
325
426
  /**
326
427
  *
327
428
  * @summary 新增能源消耗-草稿
@@ -358,6 +459,15 @@ export declare class EnergyCostRecordControllerApi extends BaseAPI {
358
459
  * @memberof EnergyCostRecordControllerApi
359
460
  */
360
461
  energyCostAddRecordSubmit(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResult, any, {}>>;
462
+ /**
463
+ *
464
+ * @summary 编辑能源消耗
465
+ * @param {EnergyCostRecordControllerApiEnergyCostEditRecordRequest} requestParameters Request parameters.
466
+ * @param {*} [options] Override http request option.
467
+ * @throws {RequiredError}
468
+ * @memberof EnergyCostRecordControllerApi
469
+ */
470
+ energyCostEditRecord(requestParameters: EnergyCostRecordControllerApiEnergyCostEditRecordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultEnergyCostRecordInfoVO, any, {}>>;
361
471
  /**
362
472
  *
363
473
  * @summary 获取下拉框内容