@gizone/rrs-client 4.2.9-alpha.539 → 4.2.9-alpha.541
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/.openapi-generator/FILES +5 -1
- package/api.ts +2 -1
- package/apis/energy-cost-controller-api.ts +769 -0
- package/apis/energy-cost-record-controller-api.ts +686 -0
- package/dist/api.d.ts +2 -1
- package/dist/api.js +2 -1
- package/dist/apis/energy-cost-controller-api.d.ts +418 -0
- package/dist/apis/energy-cost-controller-api.js +595 -0
- package/dist/apis/energy-cost-record-controller-api.d.ts +377 -0
- package/dist/apis/energy-cost-record-controller-api.js +523 -0
- package/dist/esm/api.d.ts +2 -1
- package/dist/esm/api.js +2 -1
- package/dist/esm/apis/energy-cost-controller-api.d.ts +418 -0
- package/dist/esm/apis/energy-cost-controller-api.js +588 -0
- package/dist/esm/apis/energy-cost-record-controller-api.d.ts +377 -0
- package/dist/esm/apis/energy-cost-record-controller-api.js +516 -0
- package/dist/esm/models/energy-cost-add-record-dto.d.ts +7 -0
- package/dist/esm/models/energy-cost-add-setting-dto.d.ts +4 -39
- package/dist/esm/models/energy-cost-add-setting-dto.js +1 -10
- package/dist/esm/models/energy-cost-setting-delete-dto.d.ts +41 -0
- package/dist/esm/models/energy-cost-setting-delete-dto.js +17 -0
- package/dist/esm/models/energy-cost-update-setting-dto.d.ts +1 -1
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/esm/models/ipage-energy-cost-record-info-vo.d.ts +5 -5
- package/dist/esm/models/item.d.ts +4 -4
- package/dist/esm/models/park-setting.d.ts +42 -0
- package/dist/esm/models/park-setting.js +17 -0
- package/dist/esm/models/pricing-item.d.ts +50 -0
- package/dist/esm/models/pricing-item.js +20 -0
- package/dist/esm/models/sys-user.d.ts +4 -4
- package/dist/models/energy-cost-add-record-dto.d.ts +7 -0
- package/dist/models/energy-cost-add-setting-dto.d.ts +4 -39
- package/dist/models/energy-cost-add-setting-dto.js +0 -11
- package/dist/models/energy-cost-setting-delete-dto.d.ts +41 -0
- package/dist/models/energy-cost-setting-delete-dto.js +20 -0
- package/dist/models/energy-cost-update-setting-dto.d.ts +1 -1
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/ipage-energy-cost-record-info-vo.d.ts +5 -5
- package/dist/models/item.d.ts +4 -4
- package/dist/models/park-setting.d.ts +42 -0
- package/dist/models/park-setting.js +20 -0
- package/dist/models/pricing-item.d.ts +50 -0
- package/dist/models/pricing-item.js +23 -0
- package/dist/models/sys-user.d.ts +4 -4
- package/models/energy-cost-add-record-dto.ts +9 -0
- package/models/energy-cost-add-setting-dto.ts +6 -43
- package/models/energy-cost-setting-delete-dto.ts +50 -0
- package/models/energy-cost-update-setting-dto.ts +1 -1
- package/models/index.ts +3 -0
- package/models/ipage-energy-cost-record-info-vo.ts +5 -5
- package/models/item.ts +4 -4
- package/models/park-setting.ts +53 -0
- package/models/pricing-item.ts +59 -0
- package/models/sys-user.ts +4 -4
- package/ossutil.log +1056 -1056
- package/package.json +1 -1
- package/apis/default-api.ts +0 -1302
- package/dist/apis/default-api.d.ts +0 -707
- package/dist/apis/default-api.js +0 -979
- package/dist/esm/apis/default-api.d.ts +0 -707
- package/dist/esm/apis/default-api.js +0 -972
|
@@ -0,0 +1,686 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenAPI definition
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import type { Configuration } from '../configuration';
|
|
17
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
18
|
+
import globalAxios from 'axios';
|
|
19
|
+
// Some imports not used depending on template conditions
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
import type { EnergyCostAddRecordDTO } from '../models';
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import type { JsonResult } from '../models';
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
import type { JsonResultEnergyCostRecordInfoVO } from '../models';
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
import type { JsonResultIPageEnergyCostRecordInfoVO } from '../models';
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
import type { JsonResultMapStringObject } from '../models';
|
|
34
|
+
/**
|
|
35
|
+
* EnergyCostRecordControllerApi - axios parameter creator
|
|
36
|
+
* @export
|
|
37
|
+
*/
|
|
38
|
+
export const EnergyCostRecordControllerApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
39
|
+
return {
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @summary 新增能源消耗-返回详情
|
|
43
|
+
* @param {number} id
|
|
44
|
+
* @param {*} [options] Override http request option.
|
|
45
|
+
* @throws {RequiredError}
|
|
46
|
+
*/
|
|
47
|
+
energyCostAddRecordDetail: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
48
|
+
// verify required parameter 'id' is not null or undefined
|
|
49
|
+
assertParamExists('energyCostAddRecordDetail', 'id', id)
|
|
50
|
+
const localVarPath = `/gizone/energy/cost/record/detail/{id}`
|
|
51
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
52
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
53
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
54
|
+
let baseOptions;
|
|
55
|
+
if (configuration) {
|
|
56
|
+
baseOptions = configuration.baseOptions;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
60
|
+
const localVarHeaderParameter = {} as any;
|
|
61
|
+
const localVarQueryParameter = {} as any;
|
|
62
|
+
|
|
63
|
+
// authentication tokenScheme required
|
|
64
|
+
// http bearer authentication required
|
|
65
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
70
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
71
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
72
|
+
|
|
73
|
+
return {
|
|
74
|
+
url: toPathString(localVarUrlObj),
|
|
75
|
+
options: localVarRequestOptions,
|
|
76
|
+
};
|
|
77
|
+
},
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @summary 新增能源消耗-录入保存为草稿
|
|
81
|
+
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
82
|
+
* @param {*} [options] Override http request option.
|
|
83
|
+
* @throws {RequiredError}
|
|
84
|
+
*/
|
|
85
|
+
energyCostAddRecordInputDraft: async (energyCostAddRecordDTO: EnergyCostAddRecordDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
86
|
+
// verify required parameter 'energyCostAddRecordDTO' is not null or undefined
|
|
87
|
+
assertParamExists('energyCostAddRecordInputDraft', 'energyCostAddRecordDTO', energyCostAddRecordDTO)
|
|
88
|
+
const localVarPath = `/gizone/energy/cost/record/input/draft`;
|
|
89
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
90
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
91
|
+
let baseOptions;
|
|
92
|
+
if (configuration) {
|
|
93
|
+
baseOptions = configuration.baseOptions;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
97
|
+
const localVarHeaderParameter = {} as any;
|
|
98
|
+
const localVarQueryParameter = {} as any;
|
|
99
|
+
|
|
100
|
+
// authentication tokenScheme required
|
|
101
|
+
// http bearer authentication required
|
|
102
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
107
|
+
|
|
108
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
109
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
110
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
111
|
+
localVarRequestOptions.data = serializeDataIfNeeded(energyCostAddRecordDTO, localVarRequestOptions, configuration)
|
|
112
|
+
|
|
113
|
+
return {
|
|
114
|
+
url: toPathString(localVarUrlObj),
|
|
115
|
+
options: localVarRequestOptions,
|
|
116
|
+
};
|
|
117
|
+
},
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @summary 新增能源消耗-列表
|
|
121
|
+
* @param {number} [page]
|
|
122
|
+
* @param {number} [size]
|
|
123
|
+
* @param {string} [billCode]
|
|
124
|
+
* @param {string} [startTime]
|
|
125
|
+
* @param {string} [endTime]
|
|
126
|
+
* @param {EnergyCostAddRecordListEnergyTypeEnum} [energyType]
|
|
127
|
+
* @param {number} [status]
|
|
128
|
+
* @param {*} [options] Override http request option.
|
|
129
|
+
* @throws {RequiredError}
|
|
130
|
+
*/
|
|
131
|
+
energyCostAddRecordList: async (page?: number, size?: number, billCode?: string, startTime?: string, endTime?: string, energyType?: EnergyCostAddRecordListEnergyTypeEnum, status?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
132
|
+
const localVarPath = `/gizone/energy/cost/record/list`;
|
|
133
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
134
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
135
|
+
let baseOptions;
|
|
136
|
+
if (configuration) {
|
|
137
|
+
baseOptions = configuration.baseOptions;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
141
|
+
const localVarHeaderParameter = {} as any;
|
|
142
|
+
const localVarQueryParameter = {} as any;
|
|
143
|
+
|
|
144
|
+
// authentication tokenScheme required
|
|
145
|
+
// http bearer authentication required
|
|
146
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
147
|
+
|
|
148
|
+
if (page !== undefined) {
|
|
149
|
+
localVarQueryParameter['page'] = page;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
if (size !== undefined) {
|
|
153
|
+
localVarQueryParameter['size'] = size;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
if (billCode !== undefined) {
|
|
157
|
+
localVarQueryParameter['billCode'] = billCode;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
if (startTime !== undefined) {
|
|
161
|
+
localVarQueryParameter['startTime'] = startTime;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
if (endTime !== undefined) {
|
|
165
|
+
localVarQueryParameter['endTime'] = endTime;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
if (energyType !== undefined) {
|
|
169
|
+
localVarQueryParameter['energyType'] = energyType;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
if (status !== undefined) {
|
|
173
|
+
localVarQueryParameter['status'] = status;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
179
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
180
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
181
|
+
|
|
182
|
+
return {
|
|
183
|
+
url: toPathString(localVarUrlObj),
|
|
184
|
+
options: localVarRequestOptions,
|
|
185
|
+
};
|
|
186
|
+
},
|
|
187
|
+
/**
|
|
188
|
+
*
|
|
189
|
+
* @summary 新增能源消耗-next
|
|
190
|
+
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
191
|
+
* @param {*} [options] Override http request option.
|
|
192
|
+
* @throws {RequiredError}
|
|
193
|
+
*/
|
|
194
|
+
energyCostAddRecordNext: async (energyCostAddRecordDTO: EnergyCostAddRecordDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
195
|
+
// verify required parameter 'energyCostAddRecordDTO' is not null or undefined
|
|
196
|
+
assertParamExists('energyCostAddRecordNext', 'energyCostAddRecordDTO', energyCostAddRecordDTO)
|
|
197
|
+
const localVarPath = `/gizone/energy/cost/record/next`;
|
|
198
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
199
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
200
|
+
let baseOptions;
|
|
201
|
+
if (configuration) {
|
|
202
|
+
baseOptions = configuration.baseOptions;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
206
|
+
const localVarHeaderParameter = {} as any;
|
|
207
|
+
const localVarQueryParameter = {} as any;
|
|
208
|
+
|
|
209
|
+
// authentication tokenScheme required
|
|
210
|
+
// http bearer authentication required
|
|
211
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
216
|
+
|
|
217
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
218
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
219
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
220
|
+
localVarRequestOptions.data = serializeDataIfNeeded(energyCostAddRecordDTO, localVarRequestOptions, configuration)
|
|
221
|
+
|
|
222
|
+
return {
|
|
223
|
+
url: toPathString(localVarUrlObj),
|
|
224
|
+
options: localVarRequestOptions,
|
|
225
|
+
};
|
|
226
|
+
},
|
|
227
|
+
/**
|
|
228
|
+
*
|
|
229
|
+
* @summary 新增能源消耗-提交
|
|
230
|
+
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
231
|
+
* @param {*} [options] Override http request option.
|
|
232
|
+
* @throws {RequiredError}
|
|
233
|
+
*/
|
|
234
|
+
energyCostAddRecordSubmit: async (energyCostAddRecordDTO: EnergyCostAddRecordDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
235
|
+
// verify required parameter 'energyCostAddRecordDTO' is not null or undefined
|
|
236
|
+
assertParamExists('energyCostAddRecordSubmit', 'energyCostAddRecordDTO', energyCostAddRecordDTO)
|
|
237
|
+
const localVarPath = `/gizone/energy/cost/record/submit`;
|
|
238
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
239
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
240
|
+
let baseOptions;
|
|
241
|
+
if (configuration) {
|
|
242
|
+
baseOptions = configuration.baseOptions;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
246
|
+
const localVarHeaderParameter = {} as any;
|
|
247
|
+
const localVarQueryParameter = {} as any;
|
|
248
|
+
|
|
249
|
+
// authentication tokenScheme required
|
|
250
|
+
// http bearer authentication required
|
|
251
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
256
|
+
|
|
257
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
258
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
259
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
260
|
+
localVarRequestOptions.data = serializeDataIfNeeded(energyCostAddRecordDTO, localVarRequestOptions, configuration)
|
|
261
|
+
|
|
262
|
+
return {
|
|
263
|
+
url: toPathString(localVarUrlObj),
|
|
264
|
+
options: localVarRequestOptions,
|
|
265
|
+
};
|
|
266
|
+
},
|
|
267
|
+
/**
|
|
268
|
+
*
|
|
269
|
+
* @summary 获取下拉框内容
|
|
270
|
+
* @param {string} [type] 能源类型<energyType> 账单来源(类型电)<billSourceElectric> 账单来源(类型水)<billSourceWater> 单价类型 <pricingTypeEnum>
|
|
271
|
+
* @param {*} [options] Override http request option.
|
|
272
|
+
* @throws {RequiredError}
|
|
273
|
+
*/
|
|
274
|
+
getOptions: async (type?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
275
|
+
const localVarPath = `/gizone/energy/cost/record/getOptions`;
|
|
276
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
277
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
278
|
+
let baseOptions;
|
|
279
|
+
if (configuration) {
|
|
280
|
+
baseOptions = configuration.baseOptions;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
284
|
+
const localVarHeaderParameter = {} as any;
|
|
285
|
+
const localVarQueryParameter = {} as any;
|
|
286
|
+
|
|
287
|
+
// authentication tokenScheme required
|
|
288
|
+
// http bearer authentication required
|
|
289
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
290
|
+
|
|
291
|
+
if (type !== undefined) {
|
|
292
|
+
localVarQueryParameter['type'] = type;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
298
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
299
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
300
|
+
|
|
301
|
+
return {
|
|
302
|
+
url: toPathString(localVarUrlObj),
|
|
303
|
+
options: localVarRequestOptions,
|
|
304
|
+
};
|
|
305
|
+
},
|
|
306
|
+
}
|
|
307
|
+
};
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* EnergyCostRecordControllerApi - functional programming interface
|
|
311
|
+
* @export
|
|
312
|
+
*/
|
|
313
|
+
export const EnergyCostRecordControllerApiFp = function(configuration?: Configuration) {
|
|
314
|
+
const localVarAxiosParamCreator = EnergyCostRecordControllerApiAxiosParamCreator(configuration)
|
|
315
|
+
return {
|
|
316
|
+
/**
|
|
317
|
+
*
|
|
318
|
+
* @summary 新增能源消耗-返回详情
|
|
319
|
+
* @param {number} id
|
|
320
|
+
* @param {*} [options] Override http request option.
|
|
321
|
+
* @throws {RequiredError}
|
|
322
|
+
*/
|
|
323
|
+
async energyCostAddRecordDetail(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultEnergyCostRecordInfoVO>> {
|
|
324
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostAddRecordDetail(id, options);
|
|
325
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
326
|
+
const localVarOperationServerBasePath = operationServerMap['EnergyCostRecordControllerApi.energyCostAddRecordDetail']?.[localVarOperationServerIndex]?.url;
|
|
327
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
328
|
+
},
|
|
329
|
+
/**
|
|
330
|
+
*
|
|
331
|
+
* @summary 新增能源消耗-录入保存为草稿
|
|
332
|
+
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
333
|
+
* @param {*} [options] Override http request option.
|
|
334
|
+
* @throws {RequiredError}
|
|
335
|
+
*/
|
|
336
|
+
async energyCostAddRecordInputDraft(energyCostAddRecordDTO: EnergyCostAddRecordDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
337
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostAddRecordInputDraft(energyCostAddRecordDTO, options);
|
|
338
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
339
|
+
const localVarOperationServerBasePath = operationServerMap['EnergyCostRecordControllerApi.energyCostAddRecordInputDraft']?.[localVarOperationServerIndex]?.url;
|
|
340
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
341
|
+
},
|
|
342
|
+
/**
|
|
343
|
+
*
|
|
344
|
+
* @summary 新增能源消耗-列表
|
|
345
|
+
* @param {number} [page]
|
|
346
|
+
* @param {number} [size]
|
|
347
|
+
* @param {string} [billCode]
|
|
348
|
+
* @param {string} [startTime]
|
|
349
|
+
* @param {string} [endTime]
|
|
350
|
+
* @param {EnergyCostAddRecordListEnergyTypeEnum} [energyType]
|
|
351
|
+
* @param {number} [status]
|
|
352
|
+
* @param {*} [options] Override http request option.
|
|
353
|
+
* @throws {RequiredError}
|
|
354
|
+
*/
|
|
355
|
+
async energyCostAddRecordList(page?: number, size?: number, billCode?: string, startTime?: string, endTime?: string, energyType?: EnergyCostAddRecordListEnergyTypeEnum, status?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultIPageEnergyCostRecordInfoVO>> {
|
|
356
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostAddRecordList(page, size, billCode, startTime, endTime, energyType, status, options);
|
|
357
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
358
|
+
const localVarOperationServerBasePath = operationServerMap['EnergyCostRecordControllerApi.energyCostAddRecordList']?.[localVarOperationServerIndex]?.url;
|
|
359
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
360
|
+
},
|
|
361
|
+
/**
|
|
362
|
+
*
|
|
363
|
+
* @summary 新增能源消耗-next
|
|
364
|
+
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
365
|
+
* @param {*} [options] Override http request option.
|
|
366
|
+
* @throws {RequiredError}
|
|
367
|
+
*/
|
|
368
|
+
async energyCostAddRecordNext(energyCostAddRecordDTO: EnergyCostAddRecordDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
369
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostAddRecordNext(energyCostAddRecordDTO, options);
|
|
370
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
371
|
+
const localVarOperationServerBasePath = operationServerMap['EnergyCostRecordControllerApi.energyCostAddRecordNext']?.[localVarOperationServerIndex]?.url;
|
|
372
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
373
|
+
},
|
|
374
|
+
/**
|
|
375
|
+
*
|
|
376
|
+
* @summary 新增能源消耗-提交
|
|
377
|
+
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
378
|
+
* @param {*} [options] Override http request option.
|
|
379
|
+
* @throws {RequiredError}
|
|
380
|
+
*/
|
|
381
|
+
async energyCostAddRecordSubmit(energyCostAddRecordDTO: EnergyCostAddRecordDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
382
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostAddRecordSubmit(energyCostAddRecordDTO, options);
|
|
383
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
384
|
+
const localVarOperationServerBasePath = operationServerMap['EnergyCostRecordControllerApi.energyCostAddRecordSubmit']?.[localVarOperationServerIndex]?.url;
|
|
385
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
386
|
+
},
|
|
387
|
+
/**
|
|
388
|
+
*
|
|
389
|
+
* @summary 获取下拉框内容
|
|
390
|
+
* @param {string} [type] 能源类型<energyType> 账单来源(类型电)<billSourceElectric> 账单来源(类型水)<billSourceWater> 单价类型 <pricingTypeEnum>
|
|
391
|
+
* @param {*} [options] Override http request option.
|
|
392
|
+
* @throws {RequiredError}
|
|
393
|
+
*/
|
|
394
|
+
async getOptions(type?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultMapStringObject>> {
|
|
395
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOptions(type, options);
|
|
396
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
397
|
+
const localVarOperationServerBasePath = operationServerMap['EnergyCostRecordControllerApi.getOptions']?.[localVarOperationServerIndex]?.url;
|
|
398
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
399
|
+
},
|
|
400
|
+
}
|
|
401
|
+
};
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* EnergyCostRecordControllerApi - factory interface
|
|
405
|
+
* @export
|
|
406
|
+
*/
|
|
407
|
+
export const EnergyCostRecordControllerApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
408
|
+
const localVarFp = EnergyCostRecordControllerApiFp(configuration)
|
|
409
|
+
return {
|
|
410
|
+
/**
|
|
411
|
+
*
|
|
412
|
+
* @summary 新增能源消耗-返回详情
|
|
413
|
+
* @param {EnergyCostRecordControllerApiEnergyCostAddRecordDetailRequest} requestParameters Request parameters.
|
|
414
|
+
* @param {*} [options] Override http request option.
|
|
415
|
+
* @throws {RequiredError}
|
|
416
|
+
*/
|
|
417
|
+
energyCostAddRecordDetail(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultEnergyCostRecordInfoVO> {
|
|
418
|
+
return localVarFp.energyCostAddRecordDetail(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
419
|
+
},
|
|
420
|
+
/**
|
|
421
|
+
*
|
|
422
|
+
* @summary 新增能源消耗-录入保存为草稿
|
|
423
|
+
* @param {EnergyCostRecordControllerApiEnergyCostAddRecordInputDraftRequest} requestParameters Request parameters.
|
|
424
|
+
* @param {*} [options] Override http request option.
|
|
425
|
+
* @throws {RequiredError}
|
|
426
|
+
*/
|
|
427
|
+
energyCostAddRecordInputDraft(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordInputDraftRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
428
|
+
return localVarFp.energyCostAddRecordInputDraft(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
|
|
429
|
+
},
|
|
430
|
+
/**
|
|
431
|
+
*
|
|
432
|
+
* @summary 新增能源消耗-列表
|
|
433
|
+
* @param {EnergyCostRecordControllerApiEnergyCostAddRecordListRequest} requestParameters Request parameters.
|
|
434
|
+
* @param {*} [options] Override http request option.
|
|
435
|
+
* @throws {RequiredError}
|
|
436
|
+
*/
|
|
437
|
+
energyCostAddRecordList(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordListRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultIPageEnergyCostRecordInfoVO> {
|
|
438
|
+
return localVarFp.energyCostAddRecordList(requestParameters.page, requestParameters.size, requestParameters.billCode, requestParameters.startTime, requestParameters.endTime, requestParameters.energyType, requestParameters.status, options).then((request) => request(axios, basePath));
|
|
439
|
+
},
|
|
440
|
+
/**
|
|
441
|
+
*
|
|
442
|
+
* @summary 新增能源消耗-next
|
|
443
|
+
* @param {EnergyCostRecordControllerApiEnergyCostAddRecordNextRequest} requestParameters Request parameters.
|
|
444
|
+
* @param {*} [options] Override http request option.
|
|
445
|
+
* @throws {RequiredError}
|
|
446
|
+
*/
|
|
447
|
+
energyCostAddRecordNext(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordNextRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
448
|
+
return localVarFp.energyCostAddRecordNext(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
|
|
449
|
+
},
|
|
450
|
+
/**
|
|
451
|
+
*
|
|
452
|
+
* @summary 新增能源消耗-提交
|
|
453
|
+
* @param {EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest} requestParameters Request parameters.
|
|
454
|
+
* @param {*} [options] Override http request option.
|
|
455
|
+
* @throws {RequiredError}
|
|
456
|
+
*/
|
|
457
|
+
energyCostAddRecordSubmit(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
458
|
+
return localVarFp.energyCostAddRecordSubmit(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
|
|
459
|
+
},
|
|
460
|
+
/**
|
|
461
|
+
*
|
|
462
|
+
* @summary 获取下拉框内容
|
|
463
|
+
* @param {EnergyCostRecordControllerApiGetOptionsRequest} requestParameters Request parameters.
|
|
464
|
+
* @param {*} [options] Override http request option.
|
|
465
|
+
* @throws {RequiredError}
|
|
466
|
+
*/
|
|
467
|
+
getOptions(requestParameters: EnergyCostRecordControllerApiGetOptionsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultMapStringObject> {
|
|
468
|
+
return localVarFp.getOptions(requestParameters.type, options).then((request) => request(axios, basePath));
|
|
469
|
+
},
|
|
470
|
+
};
|
|
471
|
+
};
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* Request parameters for energyCostAddRecordDetail operation in EnergyCostRecordControllerApi.
|
|
475
|
+
* @export
|
|
476
|
+
* @interface EnergyCostRecordControllerApiEnergyCostAddRecordDetailRequest
|
|
477
|
+
*/
|
|
478
|
+
export interface EnergyCostRecordControllerApiEnergyCostAddRecordDetailRequest {
|
|
479
|
+
/**
|
|
480
|
+
*
|
|
481
|
+
* @type {number}
|
|
482
|
+
* @memberof EnergyCostRecordControllerApiEnergyCostAddRecordDetail
|
|
483
|
+
*/
|
|
484
|
+
readonly id: number
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* Request parameters for energyCostAddRecordInputDraft operation in EnergyCostRecordControllerApi.
|
|
489
|
+
* @export
|
|
490
|
+
* @interface EnergyCostRecordControllerApiEnergyCostAddRecordInputDraftRequest
|
|
491
|
+
*/
|
|
492
|
+
export interface EnergyCostRecordControllerApiEnergyCostAddRecordInputDraftRequest {
|
|
493
|
+
/**
|
|
494
|
+
*
|
|
495
|
+
* @type {EnergyCostAddRecordDTO}
|
|
496
|
+
* @memberof EnergyCostRecordControllerApiEnergyCostAddRecordInputDraft
|
|
497
|
+
*/
|
|
498
|
+
readonly energyCostAddRecordDTO: EnergyCostAddRecordDTO
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* Request parameters for energyCostAddRecordList operation in EnergyCostRecordControllerApi.
|
|
503
|
+
* @export
|
|
504
|
+
* @interface EnergyCostRecordControllerApiEnergyCostAddRecordListRequest
|
|
505
|
+
*/
|
|
506
|
+
export interface EnergyCostRecordControllerApiEnergyCostAddRecordListRequest {
|
|
507
|
+
/**
|
|
508
|
+
*
|
|
509
|
+
* @type {number}
|
|
510
|
+
* @memberof EnergyCostRecordControllerApiEnergyCostAddRecordList
|
|
511
|
+
*/
|
|
512
|
+
readonly page?: number
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
*
|
|
516
|
+
* @type {number}
|
|
517
|
+
* @memberof EnergyCostRecordControllerApiEnergyCostAddRecordList
|
|
518
|
+
*/
|
|
519
|
+
readonly size?: number
|
|
520
|
+
|
|
521
|
+
/**
|
|
522
|
+
*
|
|
523
|
+
* @type {string}
|
|
524
|
+
* @memberof EnergyCostRecordControllerApiEnergyCostAddRecordList
|
|
525
|
+
*/
|
|
526
|
+
readonly billCode?: string
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
*
|
|
530
|
+
* @type {string}
|
|
531
|
+
* @memberof EnergyCostRecordControllerApiEnergyCostAddRecordList
|
|
532
|
+
*/
|
|
533
|
+
readonly startTime?: string
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
*
|
|
537
|
+
* @type {string}
|
|
538
|
+
* @memberof EnergyCostRecordControllerApiEnergyCostAddRecordList
|
|
539
|
+
*/
|
|
540
|
+
readonly endTime?: string
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
*
|
|
544
|
+
* @type {'ELECTRIC' | 'WATER'}
|
|
545
|
+
* @memberof EnergyCostRecordControllerApiEnergyCostAddRecordList
|
|
546
|
+
*/
|
|
547
|
+
readonly energyType?: EnergyCostAddRecordListEnergyTypeEnum
|
|
548
|
+
|
|
549
|
+
/**
|
|
550
|
+
*
|
|
551
|
+
* @type {number}
|
|
552
|
+
* @memberof EnergyCostRecordControllerApiEnergyCostAddRecordList
|
|
553
|
+
*/
|
|
554
|
+
readonly status?: number
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* Request parameters for energyCostAddRecordNext operation in EnergyCostRecordControllerApi.
|
|
559
|
+
* @export
|
|
560
|
+
* @interface EnergyCostRecordControllerApiEnergyCostAddRecordNextRequest
|
|
561
|
+
*/
|
|
562
|
+
export interface EnergyCostRecordControllerApiEnergyCostAddRecordNextRequest {
|
|
563
|
+
/**
|
|
564
|
+
*
|
|
565
|
+
* @type {EnergyCostAddRecordDTO}
|
|
566
|
+
* @memberof EnergyCostRecordControllerApiEnergyCostAddRecordNext
|
|
567
|
+
*/
|
|
568
|
+
readonly energyCostAddRecordDTO: EnergyCostAddRecordDTO
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
/**
|
|
572
|
+
* Request parameters for energyCostAddRecordSubmit operation in EnergyCostRecordControllerApi.
|
|
573
|
+
* @export
|
|
574
|
+
* @interface EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest
|
|
575
|
+
*/
|
|
576
|
+
export interface EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest {
|
|
577
|
+
/**
|
|
578
|
+
*
|
|
579
|
+
* @type {EnergyCostAddRecordDTO}
|
|
580
|
+
* @memberof EnergyCostRecordControllerApiEnergyCostAddRecordSubmit
|
|
581
|
+
*/
|
|
582
|
+
readonly energyCostAddRecordDTO: EnergyCostAddRecordDTO
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* Request parameters for getOptions operation in EnergyCostRecordControllerApi.
|
|
587
|
+
* @export
|
|
588
|
+
* @interface EnergyCostRecordControllerApiGetOptionsRequest
|
|
589
|
+
*/
|
|
590
|
+
export interface EnergyCostRecordControllerApiGetOptionsRequest {
|
|
591
|
+
/**
|
|
592
|
+
* 能源类型<energyType> 账单来源(类型电)<billSourceElectric> 账单来源(类型水)<billSourceWater> 单价类型 <pricingTypeEnum>
|
|
593
|
+
* @type {string}
|
|
594
|
+
* @memberof EnergyCostRecordControllerApiGetOptions
|
|
595
|
+
*/
|
|
596
|
+
readonly type?: string
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
/**
|
|
600
|
+
* EnergyCostRecordControllerApi - object-oriented interface
|
|
601
|
+
* @export
|
|
602
|
+
* @class EnergyCostRecordControllerApi
|
|
603
|
+
* @extends {BaseAPI}
|
|
604
|
+
*/
|
|
605
|
+
export class EnergyCostRecordControllerApi extends BaseAPI {
|
|
606
|
+
/**
|
|
607
|
+
*
|
|
608
|
+
* @summary 新增能源消耗-返回详情
|
|
609
|
+
* @param {EnergyCostRecordControllerApiEnergyCostAddRecordDetailRequest} requestParameters Request parameters.
|
|
610
|
+
* @param {*} [options] Override http request option.
|
|
611
|
+
* @throws {RequiredError}
|
|
612
|
+
* @memberof EnergyCostRecordControllerApi
|
|
613
|
+
*/
|
|
614
|
+
public energyCostAddRecordDetail(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordDetailRequest, options?: RawAxiosRequestConfig) {
|
|
615
|
+
return EnergyCostRecordControllerApiFp(this.configuration).energyCostAddRecordDetail(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
/**
|
|
619
|
+
*
|
|
620
|
+
* @summary 新增能源消耗-录入保存为草稿
|
|
621
|
+
* @param {EnergyCostRecordControllerApiEnergyCostAddRecordInputDraftRequest} requestParameters Request parameters.
|
|
622
|
+
* @param {*} [options] Override http request option.
|
|
623
|
+
* @throws {RequiredError}
|
|
624
|
+
* @memberof EnergyCostRecordControllerApi
|
|
625
|
+
*/
|
|
626
|
+
public energyCostAddRecordInputDraft(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordInputDraftRequest, options?: RawAxiosRequestConfig) {
|
|
627
|
+
return EnergyCostRecordControllerApiFp(this.configuration).energyCostAddRecordInputDraft(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
*
|
|
632
|
+
* @summary 新增能源消耗-列表
|
|
633
|
+
* @param {EnergyCostRecordControllerApiEnergyCostAddRecordListRequest} requestParameters Request parameters.
|
|
634
|
+
* @param {*} [options] Override http request option.
|
|
635
|
+
* @throws {RequiredError}
|
|
636
|
+
* @memberof EnergyCostRecordControllerApi
|
|
637
|
+
*/
|
|
638
|
+
public energyCostAddRecordList(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordListRequest = {}, options?: RawAxiosRequestConfig) {
|
|
639
|
+
return EnergyCostRecordControllerApiFp(this.configuration).energyCostAddRecordList(requestParameters.page, requestParameters.size, requestParameters.billCode, requestParameters.startTime, requestParameters.endTime, requestParameters.energyType, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
/**
|
|
643
|
+
*
|
|
644
|
+
* @summary 新增能源消耗-next
|
|
645
|
+
* @param {EnergyCostRecordControllerApiEnergyCostAddRecordNextRequest} requestParameters Request parameters.
|
|
646
|
+
* @param {*} [options] Override http request option.
|
|
647
|
+
* @throws {RequiredError}
|
|
648
|
+
* @memberof EnergyCostRecordControllerApi
|
|
649
|
+
*/
|
|
650
|
+
public energyCostAddRecordNext(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordNextRequest, options?: RawAxiosRequestConfig) {
|
|
651
|
+
return EnergyCostRecordControllerApiFp(this.configuration).energyCostAddRecordNext(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
/**
|
|
655
|
+
*
|
|
656
|
+
* @summary 新增能源消耗-提交
|
|
657
|
+
* @param {EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest} requestParameters Request parameters.
|
|
658
|
+
* @param {*} [options] Override http request option.
|
|
659
|
+
* @throws {RequiredError}
|
|
660
|
+
* @memberof EnergyCostRecordControllerApi
|
|
661
|
+
*/
|
|
662
|
+
public energyCostAddRecordSubmit(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest, options?: RawAxiosRequestConfig) {
|
|
663
|
+
return EnergyCostRecordControllerApiFp(this.configuration).energyCostAddRecordSubmit(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
*
|
|
668
|
+
* @summary 获取下拉框内容
|
|
669
|
+
* @param {EnergyCostRecordControllerApiGetOptionsRequest} requestParameters Request parameters.
|
|
670
|
+
* @param {*} [options] Override http request option.
|
|
671
|
+
* @throws {RequiredError}
|
|
672
|
+
* @memberof EnergyCostRecordControllerApi
|
|
673
|
+
*/
|
|
674
|
+
public getOptions(requestParameters: EnergyCostRecordControllerApiGetOptionsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
675
|
+
return EnergyCostRecordControllerApiFp(this.configuration).getOptions(requestParameters.type, options).then((request) => request(this.axios, this.basePath));
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* @export
|
|
681
|
+
*/
|
|
682
|
+
export const EnergyCostAddRecordListEnergyTypeEnum = {
|
|
683
|
+
Electric: 'ELECTRIC',
|
|
684
|
+
Water: 'WATER'
|
|
685
|
+
} as const;
|
|
686
|
+
export type EnergyCostAddRecordListEnergyTypeEnum = typeof EnergyCostAddRecordListEnergyTypeEnum[keyof typeof EnergyCostAddRecordListEnergyTypeEnum];
|