@gizone/rrs-client 4.2.9-alpha.539 → 4.2.9-alpha.540
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 +2 -1
- package/api.ts +2 -1
- package/apis/energy-cost-controller-api.ts +678 -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 +371 -0
- package/dist/apis/energy-cost-controller-api.js +525 -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 +371 -0
- package/dist/esm/apis/energy-cost-controller-api.js +518 -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/ipage-energy-cost-record-info-vo.d.ts +6 -6
- package/dist/esm/models/sys-user.d.ts +4 -4
- package/dist/models/ipage-energy-cost-record-info-vo.d.ts +6 -6
- package/dist/models/sys-user.d.ts +4 -4
- package/models/ipage-energy-cost-record-info-vo.ts +6 -6
- 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
package/apis/default-api.ts
DELETED
|
@@ -1,1302 +0,0 @@
|
|
|
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 { EnergyCostAddSettingDTO } from '../models';
|
|
28
|
-
// @ts-ignore
|
|
29
|
-
import type { EnergyCostSettingSummyAddDTO } from '../models';
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
import type { EnergyCostSettingSummyUpdateDTO } from '../models';
|
|
32
|
-
// @ts-ignore
|
|
33
|
-
import type { EnergyCostUpdateSettingDTO } from '../models';
|
|
34
|
-
// @ts-ignore
|
|
35
|
-
import type { JsonResult } from '../models';
|
|
36
|
-
// @ts-ignore
|
|
37
|
-
import type { JsonResultEnergyCostRecordInfoVO } from '../models';
|
|
38
|
-
// @ts-ignore
|
|
39
|
-
import type { JsonResultIPageEnergyCostRecordInfoVO } from '../models';
|
|
40
|
-
// @ts-ignore
|
|
41
|
-
import type { JsonResultListEnergyCostMonthSettingListSummaryStandardsVO } from '../models';
|
|
42
|
-
// @ts-ignore
|
|
43
|
-
import type { JsonResultListEnergyCostMonthSettingListVO } from '../models';
|
|
44
|
-
// @ts-ignore
|
|
45
|
-
import type { JsonResultMapStringObject } from '../models';
|
|
46
|
-
/**
|
|
47
|
-
* DefaultApi - axios parameter creator
|
|
48
|
-
* @export
|
|
49
|
-
*/
|
|
50
|
-
export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
51
|
-
return {
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @summary 新增能源消耗-返回详情
|
|
55
|
-
* @param {number} id
|
|
56
|
-
* @param {*} [options] Override http request option.
|
|
57
|
-
* @throws {RequiredError}
|
|
58
|
-
*/
|
|
59
|
-
energyCostAddRecordDetail: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
60
|
-
// verify required parameter 'id' is not null or undefined
|
|
61
|
-
assertParamExists('energyCostAddRecordDetail', 'id', id)
|
|
62
|
-
const localVarPath = `/gizone/energy/cost/record/detail/{id}`
|
|
63
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
64
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
65
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
66
|
-
let baseOptions;
|
|
67
|
-
if (configuration) {
|
|
68
|
-
baseOptions = configuration.baseOptions;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
72
|
-
const localVarHeaderParameter = {} as any;
|
|
73
|
-
const localVarQueryParameter = {} as any;
|
|
74
|
-
|
|
75
|
-
// authentication tokenScheme required
|
|
76
|
-
// http bearer authentication required
|
|
77
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
82
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
83
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
84
|
-
|
|
85
|
-
return {
|
|
86
|
-
url: toPathString(localVarUrlObj),
|
|
87
|
-
options: localVarRequestOptions,
|
|
88
|
-
};
|
|
89
|
-
},
|
|
90
|
-
/**
|
|
91
|
-
*
|
|
92
|
-
* @summary 新增能源消耗-录入保存为草稿
|
|
93
|
-
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
94
|
-
* @param {*} [options] Override http request option.
|
|
95
|
-
* @throws {RequiredError}
|
|
96
|
-
*/
|
|
97
|
-
energyCostAddRecordInputDraft: async (energyCostAddRecordDTO: EnergyCostAddRecordDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
98
|
-
// verify required parameter 'energyCostAddRecordDTO' is not null or undefined
|
|
99
|
-
assertParamExists('energyCostAddRecordInputDraft', 'energyCostAddRecordDTO', energyCostAddRecordDTO)
|
|
100
|
-
const localVarPath = `/gizone/energy/cost/record/input/draft`;
|
|
101
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
102
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103
|
-
let baseOptions;
|
|
104
|
-
if (configuration) {
|
|
105
|
-
baseOptions = configuration.baseOptions;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
109
|
-
const localVarHeaderParameter = {} as any;
|
|
110
|
-
const localVarQueryParameter = {} as any;
|
|
111
|
-
|
|
112
|
-
// authentication tokenScheme required
|
|
113
|
-
// http bearer authentication required
|
|
114
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
119
|
-
|
|
120
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
121
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
122
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
123
|
-
localVarRequestOptions.data = serializeDataIfNeeded(energyCostAddRecordDTO, localVarRequestOptions, configuration)
|
|
124
|
-
|
|
125
|
-
return {
|
|
126
|
-
url: toPathString(localVarUrlObj),
|
|
127
|
-
options: localVarRequestOptions,
|
|
128
|
-
};
|
|
129
|
-
},
|
|
130
|
-
/**
|
|
131
|
-
*
|
|
132
|
-
* @summary 新增能源消耗-列表
|
|
133
|
-
* @param {number} [page]
|
|
134
|
-
* @param {number} [size]
|
|
135
|
-
* @param {string} [billCode]
|
|
136
|
-
* @param {string} [startTime]
|
|
137
|
-
* @param {string} [endTime]
|
|
138
|
-
* @param {EnergyCostAddRecordListEnergyTypeEnum} [energyType]
|
|
139
|
-
* @param {number} [status]
|
|
140
|
-
* @param {*} [options] Override http request option.
|
|
141
|
-
* @throws {RequiredError}
|
|
142
|
-
*/
|
|
143
|
-
energyCostAddRecordList: async (page?: number, size?: number, billCode?: string, startTime?: string, endTime?: string, energyType?: EnergyCostAddRecordListEnergyTypeEnum, status?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
144
|
-
const localVarPath = `/gizone/energy/cost/record/list`;
|
|
145
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
146
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
147
|
-
let baseOptions;
|
|
148
|
-
if (configuration) {
|
|
149
|
-
baseOptions = configuration.baseOptions;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
153
|
-
const localVarHeaderParameter = {} as any;
|
|
154
|
-
const localVarQueryParameter = {} as any;
|
|
155
|
-
|
|
156
|
-
// authentication tokenScheme required
|
|
157
|
-
// http bearer authentication required
|
|
158
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
159
|
-
|
|
160
|
-
if (page !== undefined) {
|
|
161
|
-
localVarQueryParameter['page'] = page;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
if (size !== undefined) {
|
|
165
|
-
localVarQueryParameter['size'] = size;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
if (billCode !== undefined) {
|
|
169
|
-
localVarQueryParameter['billCode'] = billCode;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
if (startTime !== undefined) {
|
|
173
|
-
localVarQueryParameter['startTime'] = startTime;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
if (endTime !== undefined) {
|
|
177
|
-
localVarQueryParameter['endTime'] = endTime;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
if (energyType !== undefined) {
|
|
181
|
-
localVarQueryParameter['energyType'] = energyType;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
if (status !== undefined) {
|
|
185
|
-
localVarQueryParameter['status'] = status;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
191
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
192
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
193
|
-
|
|
194
|
-
return {
|
|
195
|
-
url: toPathString(localVarUrlObj),
|
|
196
|
-
options: localVarRequestOptions,
|
|
197
|
-
};
|
|
198
|
-
},
|
|
199
|
-
/**
|
|
200
|
-
*
|
|
201
|
-
* @summary 新增能源消耗-next
|
|
202
|
-
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
203
|
-
* @param {*} [options] Override http request option.
|
|
204
|
-
* @throws {RequiredError}
|
|
205
|
-
*/
|
|
206
|
-
energyCostAddRecordNext: async (energyCostAddRecordDTO: EnergyCostAddRecordDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
207
|
-
// verify required parameter 'energyCostAddRecordDTO' is not null or undefined
|
|
208
|
-
assertParamExists('energyCostAddRecordNext', 'energyCostAddRecordDTO', energyCostAddRecordDTO)
|
|
209
|
-
const localVarPath = `/gizone/energy/cost/record/next`;
|
|
210
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
211
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
212
|
-
let baseOptions;
|
|
213
|
-
if (configuration) {
|
|
214
|
-
baseOptions = configuration.baseOptions;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
218
|
-
const localVarHeaderParameter = {} as any;
|
|
219
|
-
const localVarQueryParameter = {} as any;
|
|
220
|
-
|
|
221
|
-
// authentication tokenScheme required
|
|
222
|
-
// http bearer authentication required
|
|
223
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
228
|
-
|
|
229
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
230
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
231
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
232
|
-
localVarRequestOptions.data = serializeDataIfNeeded(energyCostAddRecordDTO, localVarRequestOptions, configuration)
|
|
233
|
-
|
|
234
|
-
return {
|
|
235
|
-
url: toPathString(localVarUrlObj),
|
|
236
|
-
options: localVarRequestOptions,
|
|
237
|
-
};
|
|
238
|
-
},
|
|
239
|
-
/**
|
|
240
|
-
*
|
|
241
|
-
* @summary 新增能源消耗-提交
|
|
242
|
-
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
243
|
-
* @param {*} [options] Override http request option.
|
|
244
|
-
* @throws {RequiredError}
|
|
245
|
-
*/
|
|
246
|
-
energyCostAddRecordSubmit: async (energyCostAddRecordDTO: EnergyCostAddRecordDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
247
|
-
// verify required parameter 'energyCostAddRecordDTO' is not null or undefined
|
|
248
|
-
assertParamExists('energyCostAddRecordSubmit', 'energyCostAddRecordDTO', energyCostAddRecordDTO)
|
|
249
|
-
const localVarPath = `/gizone/energy/cost/record/submit`;
|
|
250
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
251
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
252
|
-
let baseOptions;
|
|
253
|
-
if (configuration) {
|
|
254
|
-
baseOptions = configuration.baseOptions;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
258
|
-
const localVarHeaderParameter = {} as any;
|
|
259
|
-
const localVarQueryParameter = {} as any;
|
|
260
|
-
|
|
261
|
-
// authentication tokenScheme required
|
|
262
|
-
// http bearer authentication required
|
|
263
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
268
|
-
|
|
269
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
270
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
271
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
272
|
-
localVarRequestOptions.data = serializeDataIfNeeded(energyCostAddRecordDTO, localVarRequestOptions, configuration)
|
|
273
|
-
|
|
274
|
-
return {
|
|
275
|
-
url: toPathString(localVarUrlObj),
|
|
276
|
-
options: localVarRequestOptions,
|
|
277
|
-
};
|
|
278
|
-
},
|
|
279
|
-
/**
|
|
280
|
-
*
|
|
281
|
-
* @summary 新增能源费用管理设置-单条新增
|
|
282
|
-
* @param {EnergyCostAddSettingDTO} energyCostAddSettingDTO
|
|
283
|
-
* @param {*} [options] Override http request option.
|
|
284
|
-
* @throws {RequiredError}
|
|
285
|
-
*/
|
|
286
|
-
energyCostMonthSettingAdd: async (energyCostAddSettingDTO: EnergyCostAddSettingDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
287
|
-
// verify required parameter 'energyCostAddSettingDTO' is not null or undefined
|
|
288
|
-
assertParamExists('energyCostMonthSettingAdd', 'energyCostAddSettingDTO', energyCostAddSettingDTO)
|
|
289
|
-
const localVarPath = `/gizone/energy/cost/month/setting`;
|
|
290
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
291
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
292
|
-
let baseOptions;
|
|
293
|
-
if (configuration) {
|
|
294
|
-
baseOptions = configuration.baseOptions;
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
298
|
-
const localVarHeaderParameter = {} as any;
|
|
299
|
-
const localVarQueryParameter = {} as any;
|
|
300
|
-
|
|
301
|
-
// authentication tokenScheme required
|
|
302
|
-
// http bearer authentication required
|
|
303
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
308
|
-
|
|
309
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
310
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
311
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
312
|
-
localVarRequestOptions.data = serializeDataIfNeeded(energyCostAddSettingDTO, localVarRequestOptions, configuration)
|
|
313
|
-
|
|
314
|
-
return {
|
|
315
|
-
url: toPathString(localVarUrlObj),
|
|
316
|
-
options: localVarRequestOptions,
|
|
317
|
-
};
|
|
318
|
-
},
|
|
319
|
-
/**
|
|
320
|
-
*
|
|
321
|
-
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
322
|
-
* @param {EnergyCostMonthSettingListEnergyTypeEnum} energyType
|
|
323
|
-
* @param {string} [startTime]
|
|
324
|
-
* @param {string} [endTime]
|
|
325
|
-
* @param {*} [options] Override http request option.
|
|
326
|
-
* @throws {RequiredError}
|
|
327
|
-
*/
|
|
328
|
-
energyCostMonthSettingList: async (energyType: EnergyCostMonthSettingListEnergyTypeEnum, startTime?: string, endTime?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
329
|
-
// verify required parameter 'energyType' is not null or undefined
|
|
330
|
-
assertParamExists('energyCostMonthSettingList', 'energyType', energyType)
|
|
331
|
-
const localVarPath = `/gizone/energy/cost/month/setting`;
|
|
332
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
333
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
334
|
-
let baseOptions;
|
|
335
|
-
if (configuration) {
|
|
336
|
-
baseOptions = configuration.baseOptions;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
340
|
-
const localVarHeaderParameter = {} as any;
|
|
341
|
-
const localVarQueryParameter = {} as any;
|
|
342
|
-
|
|
343
|
-
// authentication tokenScheme required
|
|
344
|
-
// http bearer authentication required
|
|
345
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
346
|
-
|
|
347
|
-
if (startTime !== undefined) {
|
|
348
|
-
localVarQueryParameter['startTime'] = startTime;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
if (endTime !== undefined) {
|
|
352
|
-
localVarQueryParameter['endTime'] = endTime;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
if (energyType !== undefined) {
|
|
356
|
-
localVarQueryParameter['energyType'] = energyType;
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
362
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
363
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
364
|
-
|
|
365
|
-
return {
|
|
366
|
-
url: toPathString(localVarUrlObj),
|
|
367
|
-
options: localVarRequestOptions,
|
|
368
|
-
};
|
|
369
|
-
},
|
|
370
|
-
/**
|
|
371
|
-
*
|
|
372
|
-
* @summary 新增能源费用管理设置-园区汇总标准新增
|
|
373
|
-
* @param {EnergyCostSettingSummyAddDTO} energyCostSettingSummyAddDTO
|
|
374
|
-
* @param {*} [options] Override http request option.
|
|
375
|
-
* @throws {RequiredError}
|
|
376
|
-
*/
|
|
377
|
-
energyCostMonthSettingSummaryAdd: async (energyCostSettingSummyAddDTO: EnergyCostSettingSummyAddDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
378
|
-
// verify required parameter 'energyCostSettingSummyAddDTO' is not null or undefined
|
|
379
|
-
assertParamExists('energyCostMonthSettingSummaryAdd', 'energyCostSettingSummyAddDTO', energyCostSettingSummyAddDTO)
|
|
380
|
-
const localVarPath = `/gizone/energy/cost/month/setting/summaryStandards`;
|
|
381
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
382
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
383
|
-
let baseOptions;
|
|
384
|
-
if (configuration) {
|
|
385
|
-
baseOptions = configuration.baseOptions;
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
389
|
-
const localVarHeaderParameter = {} as any;
|
|
390
|
-
const localVarQueryParameter = {} as any;
|
|
391
|
-
|
|
392
|
-
// authentication tokenScheme required
|
|
393
|
-
// http bearer authentication required
|
|
394
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
399
|
-
|
|
400
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
401
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
402
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
403
|
-
localVarRequestOptions.data = serializeDataIfNeeded(energyCostSettingSummyAddDTO, localVarRequestOptions, configuration)
|
|
404
|
-
|
|
405
|
-
return {
|
|
406
|
-
url: toPathString(localVarUrlObj),
|
|
407
|
-
options: localVarRequestOptions,
|
|
408
|
-
};
|
|
409
|
-
},
|
|
410
|
-
/**
|
|
411
|
-
*
|
|
412
|
-
* @summary 新增能源费用管理设置-列表-查询园区汇总标准
|
|
413
|
-
* @param {EnergyCostMonthSettingSummaryListEnergyTypeEnum} energyType
|
|
414
|
-
* @param {string} [startTime]
|
|
415
|
-
* @param {string} [endTime]
|
|
416
|
-
* @param {*} [options] Override http request option.
|
|
417
|
-
* @throws {RequiredError}
|
|
418
|
-
*/
|
|
419
|
-
energyCostMonthSettingSummaryList: async (energyType: EnergyCostMonthSettingSummaryListEnergyTypeEnum, startTime?: string, endTime?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
420
|
-
// verify required parameter 'energyType' is not null or undefined
|
|
421
|
-
assertParamExists('energyCostMonthSettingSummaryList', 'energyType', energyType)
|
|
422
|
-
const localVarPath = `/gizone/energy/cost/month/setting/summaryStandards`;
|
|
423
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
424
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
425
|
-
let baseOptions;
|
|
426
|
-
if (configuration) {
|
|
427
|
-
baseOptions = configuration.baseOptions;
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
431
|
-
const localVarHeaderParameter = {} as any;
|
|
432
|
-
const localVarQueryParameter = {} as any;
|
|
433
|
-
|
|
434
|
-
// authentication tokenScheme required
|
|
435
|
-
// http bearer authentication required
|
|
436
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
437
|
-
|
|
438
|
-
if (startTime !== undefined) {
|
|
439
|
-
localVarQueryParameter['startTime'] = startTime;
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
if (endTime !== undefined) {
|
|
443
|
-
localVarQueryParameter['endTime'] = endTime;
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
if (energyType !== undefined) {
|
|
447
|
-
localVarQueryParameter['energyType'] = energyType;
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
453
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
454
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
455
|
-
|
|
456
|
-
return {
|
|
457
|
-
url: toPathString(localVarUrlObj),
|
|
458
|
-
options: localVarRequestOptions,
|
|
459
|
-
};
|
|
460
|
-
},
|
|
461
|
-
/**
|
|
462
|
-
*
|
|
463
|
-
* @summary 新增能源费用管理设置-园区汇总标准修改
|
|
464
|
-
* @param {EnergyCostSettingSummyUpdateDTO} energyCostSettingSummyUpdateDTO
|
|
465
|
-
* @param {*} [options] Override http request option.
|
|
466
|
-
* @throws {RequiredError}
|
|
467
|
-
*/
|
|
468
|
-
energyCostMonthSettingSummaryUpdate: async (energyCostSettingSummyUpdateDTO: EnergyCostSettingSummyUpdateDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
469
|
-
// verify required parameter 'energyCostSettingSummyUpdateDTO' is not null or undefined
|
|
470
|
-
assertParamExists('energyCostMonthSettingSummaryUpdate', 'energyCostSettingSummyUpdateDTO', energyCostSettingSummyUpdateDTO)
|
|
471
|
-
const localVarPath = `/gizone/energy/cost/month/setting/summaryStandards`;
|
|
472
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
473
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
474
|
-
let baseOptions;
|
|
475
|
-
if (configuration) {
|
|
476
|
-
baseOptions = configuration.baseOptions;
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
480
|
-
const localVarHeaderParameter = {} as any;
|
|
481
|
-
const localVarQueryParameter = {} as any;
|
|
482
|
-
|
|
483
|
-
// authentication tokenScheme required
|
|
484
|
-
// http bearer authentication required
|
|
485
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
490
|
-
|
|
491
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
492
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
493
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
494
|
-
localVarRequestOptions.data = serializeDataIfNeeded(energyCostSettingSummyUpdateDTO, localVarRequestOptions, configuration)
|
|
495
|
-
|
|
496
|
-
return {
|
|
497
|
-
url: toPathString(localVarUrlObj),
|
|
498
|
-
options: localVarRequestOptions,
|
|
499
|
-
};
|
|
500
|
-
},
|
|
501
|
-
/**
|
|
502
|
-
*
|
|
503
|
-
* @summary 新增能源费用管理设置-单条修改
|
|
504
|
-
* @param {EnergyCostUpdateSettingDTO} energyCostUpdateSettingDTO
|
|
505
|
-
* @param {*} [options] Override http request option.
|
|
506
|
-
* @throws {RequiredError}
|
|
507
|
-
*/
|
|
508
|
-
energyCostMonthSettingUpdate: async (energyCostUpdateSettingDTO: EnergyCostUpdateSettingDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
509
|
-
// verify required parameter 'energyCostUpdateSettingDTO' is not null or undefined
|
|
510
|
-
assertParamExists('energyCostMonthSettingUpdate', 'energyCostUpdateSettingDTO', energyCostUpdateSettingDTO)
|
|
511
|
-
const localVarPath = `/gizone/energy/cost/month/setting`;
|
|
512
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
513
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
514
|
-
let baseOptions;
|
|
515
|
-
if (configuration) {
|
|
516
|
-
baseOptions = configuration.baseOptions;
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
520
|
-
const localVarHeaderParameter = {} as any;
|
|
521
|
-
const localVarQueryParameter = {} as any;
|
|
522
|
-
|
|
523
|
-
// authentication tokenScheme required
|
|
524
|
-
// http bearer authentication required
|
|
525
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
530
|
-
|
|
531
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
532
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
533
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
534
|
-
localVarRequestOptions.data = serializeDataIfNeeded(energyCostUpdateSettingDTO, localVarRequestOptions, configuration)
|
|
535
|
-
|
|
536
|
-
return {
|
|
537
|
-
url: toPathString(localVarUrlObj),
|
|
538
|
-
options: localVarRequestOptions,
|
|
539
|
-
};
|
|
540
|
-
},
|
|
541
|
-
/**
|
|
542
|
-
*
|
|
543
|
-
* @summary 获取下拉框内容
|
|
544
|
-
* @param {string} [type] 能源类型<energyType> 账单来源(类型电)<billSourceElectric> 账单来源(类型水)<billSourceWater> 单价类型 <pricingTypeEnum>
|
|
545
|
-
* @param {*} [options] Override http request option.
|
|
546
|
-
* @throws {RequiredError}
|
|
547
|
-
*/
|
|
548
|
-
getOptions: async (type?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
549
|
-
const localVarPath = `/gizone/energy/cost/record/getOptions`;
|
|
550
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
551
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
552
|
-
let baseOptions;
|
|
553
|
-
if (configuration) {
|
|
554
|
-
baseOptions = configuration.baseOptions;
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
558
|
-
const localVarHeaderParameter = {} as any;
|
|
559
|
-
const localVarQueryParameter = {} as any;
|
|
560
|
-
|
|
561
|
-
// authentication tokenScheme required
|
|
562
|
-
// http bearer authentication required
|
|
563
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
564
|
-
|
|
565
|
-
if (type !== undefined) {
|
|
566
|
-
localVarQueryParameter['type'] = type;
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
572
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
573
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
574
|
-
|
|
575
|
-
return {
|
|
576
|
-
url: toPathString(localVarUrlObj),
|
|
577
|
-
options: localVarRequestOptions,
|
|
578
|
-
};
|
|
579
|
-
},
|
|
580
|
-
}
|
|
581
|
-
};
|
|
582
|
-
|
|
583
|
-
/**
|
|
584
|
-
* DefaultApi - functional programming interface
|
|
585
|
-
* @export
|
|
586
|
-
*/
|
|
587
|
-
export const DefaultApiFp = function(configuration?: Configuration) {
|
|
588
|
-
const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
|
|
589
|
-
return {
|
|
590
|
-
/**
|
|
591
|
-
*
|
|
592
|
-
* @summary 新增能源消耗-返回详情
|
|
593
|
-
* @param {number} id
|
|
594
|
-
* @param {*} [options] Override http request option.
|
|
595
|
-
* @throws {RequiredError}
|
|
596
|
-
*/
|
|
597
|
-
async energyCostAddRecordDetail(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultEnergyCostRecordInfoVO>> {
|
|
598
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostAddRecordDetail(id, options);
|
|
599
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
600
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.energyCostAddRecordDetail']?.[localVarOperationServerIndex]?.url;
|
|
601
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
602
|
-
},
|
|
603
|
-
/**
|
|
604
|
-
*
|
|
605
|
-
* @summary 新增能源消耗-录入保存为草稿
|
|
606
|
-
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
607
|
-
* @param {*} [options] Override http request option.
|
|
608
|
-
* @throws {RequiredError}
|
|
609
|
-
*/
|
|
610
|
-
async energyCostAddRecordInputDraft(energyCostAddRecordDTO: EnergyCostAddRecordDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
611
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostAddRecordInputDraft(energyCostAddRecordDTO, options);
|
|
612
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
613
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.energyCostAddRecordInputDraft']?.[localVarOperationServerIndex]?.url;
|
|
614
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
615
|
-
},
|
|
616
|
-
/**
|
|
617
|
-
*
|
|
618
|
-
* @summary 新增能源消耗-列表
|
|
619
|
-
* @param {number} [page]
|
|
620
|
-
* @param {number} [size]
|
|
621
|
-
* @param {string} [billCode]
|
|
622
|
-
* @param {string} [startTime]
|
|
623
|
-
* @param {string} [endTime]
|
|
624
|
-
* @param {EnergyCostAddRecordListEnergyTypeEnum} [energyType]
|
|
625
|
-
* @param {number} [status]
|
|
626
|
-
* @param {*} [options] Override http request option.
|
|
627
|
-
* @throws {RequiredError}
|
|
628
|
-
*/
|
|
629
|
-
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>> {
|
|
630
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostAddRecordList(page, size, billCode, startTime, endTime, energyType, status, options);
|
|
631
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
632
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.energyCostAddRecordList']?.[localVarOperationServerIndex]?.url;
|
|
633
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
634
|
-
},
|
|
635
|
-
/**
|
|
636
|
-
*
|
|
637
|
-
* @summary 新增能源消耗-next
|
|
638
|
-
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
639
|
-
* @param {*} [options] Override http request option.
|
|
640
|
-
* @throws {RequiredError}
|
|
641
|
-
*/
|
|
642
|
-
async energyCostAddRecordNext(energyCostAddRecordDTO: EnergyCostAddRecordDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
643
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostAddRecordNext(energyCostAddRecordDTO, options);
|
|
644
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
645
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.energyCostAddRecordNext']?.[localVarOperationServerIndex]?.url;
|
|
646
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
647
|
-
},
|
|
648
|
-
/**
|
|
649
|
-
*
|
|
650
|
-
* @summary 新增能源消耗-提交
|
|
651
|
-
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
652
|
-
* @param {*} [options] Override http request option.
|
|
653
|
-
* @throws {RequiredError}
|
|
654
|
-
*/
|
|
655
|
-
async energyCostAddRecordSubmit(energyCostAddRecordDTO: EnergyCostAddRecordDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
656
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostAddRecordSubmit(energyCostAddRecordDTO, options);
|
|
657
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
658
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.energyCostAddRecordSubmit']?.[localVarOperationServerIndex]?.url;
|
|
659
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
660
|
-
},
|
|
661
|
-
/**
|
|
662
|
-
*
|
|
663
|
-
* @summary 新增能源费用管理设置-单条新增
|
|
664
|
-
* @param {EnergyCostAddSettingDTO} energyCostAddSettingDTO
|
|
665
|
-
* @param {*} [options] Override http request option.
|
|
666
|
-
* @throws {RequiredError}
|
|
667
|
-
*/
|
|
668
|
-
async energyCostMonthSettingAdd(energyCostAddSettingDTO: EnergyCostAddSettingDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
669
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostMonthSettingAdd(energyCostAddSettingDTO, options);
|
|
670
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
671
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.energyCostMonthSettingAdd']?.[localVarOperationServerIndex]?.url;
|
|
672
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
673
|
-
},
|
|
674
|
-
/**
|
|
675
|
-
*
|
|
676
|
-
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
677
|
-
* @param {EnergyCostMonthSettingListEnergyTypeEnum} energyType
|
|
678
|
-
* @param {string} [startTime]
|
|
679
|
-
* @param {string} [endTime]
|
|
680
|
-
* @param {*} [options] Override http request option.
|
|
681
|
-
* @throws {RequiredError}
|
|
682
|
-
*/
|
|
683
|
-
async energyCostMonthSettingList(energyType: EnergyCostMonthSettingListEnergyTypeEnum, startTime?: string, endTime?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListEnergyCostMonthSettingListVO>> {
|
|
684
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostMonthSettingList(energyType, startTime, endTime, options);
|
|
685
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
686
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.energyCostMonthSettingList']?.[localVarOperationServerIndex]?.url;
|
|
687
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
688
|
-
},
|
|
689
|
-
/**
|
|
690
|
-
*
|
|
691
|
-
* @summary 新增能源费用管理设置-园区汇总标准新增
|
|
692
|
-
* @param {EnergyCostSettingSummyAddDTO} energyCostSettingSummyAddDTO
|
|
693
|
-
* @param {*} [options] Override http request option.
|
|
694
|
-
* @throws {RequiredError}
|
|
695
|
-
*/
|
|
696
|
-
async energyCostMonthSettingSummaryAdd(energyCostSettingSummyAddDTO: EnergyCostSettingSummyAddDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
697
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostMonthSettingSummaryAdd(energyCostSettingSummyAddDTO, options);
|
|
698
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
699
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.energyCostMonthSettingSummaryAdd']?.[localVarOperationServerIndex]?.url;
|
|
700
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
701
|
-
},
|
|
702
|
-
/**
|
|
703
|
-
*
|
|
704
|
-
* @summary 新增能源费用管理设置-列表-查询园区汇总标准
|
|
705
|
-
* @param {EnergyCostMonthSettingSummaryListEnergyTypeEnum} energyType
|
|
706
|
-
* @param {string} [startTime]
|
|
707
|
-
* @param {string} [endTime]
|
|
708
|
-
* @param {*} [options] Override http request option.
|
|
709
|
-
* @throws {RequiredError}
|
|
710
|
-
*/
|
|
711
|
-
async energyCostMonthSettingSummaryList(energyType: EnergyCostMonthSettingSummaryListEnergyTypeEnum, startTime?: string, endTime?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListEnergyCostMonthSettingListSummaryStandardsVO>> {
|
|
712
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostMonthSettingSummaryList(energyType, startTime, endTime, options);
|
|
713
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
714
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.energyCostMonthSettingSummaryList']?.[localVarOperationServerIndex]?.url;
|
|
715
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
716
|
-
},
|
|
717
|
-
/**
|
|
718
|
-
*
|
|
719
|
-
* @summary 新增能源费用管理设置-园区汇总标准修改
|
|
720
|
-
* @param {EnergyCostSettingSummyUpdateDTO} energyCostSettingSummyUpdateDTO
|
|
721
|
-
* @param {*} [options] Override http request option.
|
|
722
|
-
* @throws {RequiredError}
|
|
723
|
-
*/
|
|
724
|
-
async energyCostMonthSettingSummaryUpdate(energyCostSettingSummyUpdateDTO: EnergyCostSettingSummyUpdateDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
725
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostMonthSettingSummaryUpdate(energyCostSettingSummyUpdateDTO, options);
|
|
726
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
727
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.energyCostMonthSettingSummaryUpdate']?.[localVarOperationServerIndex]?.url;
|
|
728
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
729
|
-
},
|
|
730
|
-
/**
|
|
731
|
-
*
|
|
732
|
-
* @summary 新增能源费用管理设置-单条修改
|
|
733
|
-
* @param {EnergyCostUpdateSettingDTO} energyCostUpdateSettingDTO
|
|
734
|
-
* @param {*} [options] Override http request option.
|
|
735
|
-
* @throws {RequiredError}
|
|
736
|
-
*/
|
|
737
|
-
async energyCostMonthSettingUpdate(energyCostUpdateSettingDTO: EnergyCostUpdateSettingDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
738
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostMonthSettingUpdate(energyCostUpdateSettingDTO, options);
|
|
739
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
740
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.energyCostMonthSettingUpdate']?.[localVarOperationServerIndex]?.url;
|
|
741
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
742
|
-
},
|
|
743
|
-
/**
|
|
744
|
-
*
|
|
745
|
-
* @summary 获取下拉框内容
|
|
746
|
-
* @param {string} [type] 能源类型<energyType> 账单来源(类型电)<billSourceElectric> 账单来源(类型水)<billSourceWater> 单价类型 <pricingTypeEnum>
|
|
747
|
-
* @param {*} [options] Override http request option.
|
|
748
|
-
* @throws {RequiredError}
|
|
749
|
-
*/
|
|
750
|
-
async getOptions(type?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultMapStringObject>> {
|
|
751
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getOptions(type, options);
|
|
752
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
753
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.getOptions']?.[localVarOperationServerIndex]?.url;
|
|
754
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
755
|
-
},
|
|
756
|
-
}
|
|
757
|
-
};
|
|
758
|
-
|
|
759
|
-
/**
|
|
760
|
-
* DefaultApi - factory interface
|
|
761
|
-
* @export
|
|
762
|
-
*/
|
|
763
|
-
export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
764
|
-
const localVarFp = DefaultApiFp(configuration)
|
|
765
|
-
return {
|
|
766
|
-
/**
|
|
767
|
-
*
|
|
768
|
-
* @summary 新增能源消耗-返回详情
|
|
769
|
-
* @param {DefaultApiEnergyCostAddRecordDetailRequest} requestParameters Request parameters.
|
|
770
|
-
* @param {*} [options] Override http request option.
|
|
771
|
-
* @throws {RequiredError}
|
|
772
|
-
*/
|
|
773
|
-
energyCostAddRecordDetail(requestParameters: DefaultApiEnergyCostAddRecordDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultEnergyCostRecordInfoVO> {
|
|
774
|
-
return localVarFp.energyCostAddRecordDetail(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
775
|
-
},
|
|
776
|
-
/**
|
|
777
|
-
*
|
|
778
|
-
* @summary 新增能源消耗-录入保存为草稿
|
|
779
|
-
* @param {DefaultApiEnergyCostAddRecordInputDraftRequest} requestParameters Request parameters.
|
|
780
|
-
* @param {*} [options] Override http request option.
|
|
781
|
-
* @throws {RequiredError}
|
|
782
|
-
*/
|
|
783
|
-
energyCostAddRecordInputDraft(requestParameters: DefaultApiEnergyCostAddRecordInputDraftRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
784
|
-
return localVarFp.energyCostAddRecordInputDraft(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
|
|
785
|
-
},
|
|
786
|
-
/**
|
|
787
|
-
*
|
|
788
|
-
* @summary 新增能源消耗-列表
|
|
789
|
-
* @param {DefaultApiEnergyCostAddRecordListRequest} requestParameters Request parameters.
|
|
790
|
-
* @param {*} [options] Override http request option.
|
|
791
|
-
* @throws {RequiredError}
|
|
792
|
-
*/
|
|
793
|
-
energyCostAddRecordList(requestParameters: DefaultApiEnergyCostAddRecordListRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultIPageEnergyCostRecordInfoVO> {
|
|
794
|
-
return localVarFp.energyCostAddRecordList(requestParameters.page, requestParameters.size, requestParameters.billCode, requestParameters.startTime, requestParameters.endTime, requestParameters.energyType, requestParameters.status, options).then((request) => request(axios, basePath));
|
|
795
|
-
},
|
|
796
|
-
/**
|
|
797
|
-
*
|
|
798
|
-
* @summary 新增能源消耗-next
|
|
799
|
-
* @param {DefaultApiEnergyCostAddRecordNextRequest} requestParameters Request parameters.
|
|
800
|
-
* @param {*} [options] Override http request option.
|
|
801
|
-
* @throws {RequiredError}
|
|
802
|
-
*/
|
|
803
|
-
energyCostAddRecordNext(requestParameters: DefaultApiEnergyCostAddRecordNextRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
804
|
-
return localVarFp.energyCostAddRecordNext(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
|
|
805
|
-
},
|
|
806
|
-
/**
|
|
807
|
-
*
|
|
808
|
-
* @summary 新增能源消耗-提交
|
|
809
|
-
* @param {DefaultApiEnergyCostAddRecordSubmitRequest} requestParameters Request parameters.
|
|
810
|
-
* @param {*} [options] Override http request option.
|
|
811
|
-
* @throws {RequiredError}
|
|
812
|
-
*/
|
|
813
|
-
energyCostAddRecordSubmit(requestParameters: DefaultApiEnergyCostAddRecordSubmitRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
814
|
-
return localVarFp.energyCostAddRecordSubmit(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
|
|
815
|
-
},
|
|
816
|
-
/**
|
|
817
|
-
*
|
|
818
|
-
* @summary 新增能源费用管理设置-单条新增
|
|
819
|
-
* @param {DefaultApiEnergyCostMonthSettingAddRequest} requestParameters Request parameters.
|
|
820
|
-
* @param {*} [options] Override http request option.
|
|
821
|
-
* @throws {RequiredError}
|
|
822
|
-
*/
|
|
823
|
-
energyCostMonthSettingAdd(requestParameters: DefaultApiEnergyCostMonthSettingAddRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
824
|
-
return localVarFp.energyCostMonthSettingAdd(requestParameters.energyCostAddSettingDTO, options).then((request) => request(axios, basePath));
|
|
825
|
-
},
|
|
826
|
-
/**
|
|
827
|
-
*
|
|
828
|
-
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
829
|
-
* @param {DefaultApiEnergyCostMonthSettingListRequest} requestParameters Request parameters.
|
|
830
|
-
* @param {*} [options] Override http request option.
|
|
831
|
-
* @throws {RequiredError}
|
|
832
|
-
*/
|
|
833
|
-
energyCostMonthSettingList(requestParameters: DefaultApiEnergyCostMonthSettingListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListEnergyCostMonthSettingListVO> {
|
|
834
|
-
return localVarFp.energyCostMonthSettingList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(axios, basePath));
|
|
835
|
-
},
|
|
836
|
-
/**
|
|
837
|
-
*
|
|
838
|
-
* @summary 新增能源费用管理设置-园区汇总标准新增
|
|
839
|
-
* @param {DefaultApiEnergyCostMonthSettingSummaryAddRequest} requestParameters Request parameters.
|
|
840
|
-
* @param {*} [options] Override http request option.
|
|
841
|
-
* @throws {RequiredError}
|
|
842
|
-
*/
|
|
843
|
-
energyCostMonthSettingSummaryAdd(requestParameters: DefaultApiEnergyCostMonthSettingSummaryAddRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
844
|
-
return localVarFp.energyCostMonthSettingSummaryAdd(requestParameters.energyCostSettingSummyAddDTO, options).then((request) => request(axios, basePath));
|
|
845
|
-
},
|
|
846
|
-
/**
|
|
847
|
-
*
|
|
848
|
-
* @summary 新增能源费用管理设置-列表-查询园区汇总标准
|
|
849
|
-
* @param {DefaultApiEnergyCostMonthSettingSummaryListRequest} requestParameters Request parameters.
|
|
850
|
-
* @param {*} [options] Override http request option.
|
|
851
|
-
* @throws {RequiredError}
|
|
852
|
-
*/
|
|
853
|
-
energyCostMonthSettingSummaryList(requestParameters: DefaultApiEnergyCostMonthSettingSummaryListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListEnergyCostMonthSettingListSummaryStandardsVO> {
|
|
854
|
-
return localVarFp.energyCostMonthSettingSummaryList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(axios, basePath));
|
|
855
|
-
},
|
|
856
|
-
/**
|
|
857
|
-
*
|
|
858
|
-
* @summary 新增能源费用管理设置-园区汇总标准修改
|
|
859
|
-
* @param {DefaultApiEnergyCostMonthSettingSummaryUpdateRequest} requestParameters Request parameters.
|
|
860
|
-
* @param {*} [options] Override http request option.
|
|
861
|
-
* @throws {RequiredError}
|
|
862
|
-
*/
|
|
863
|
-
energyCostMonthSettingSummaryUpdate(requestParameters: DefaultApiEnergyCostMonthSettingSummaryUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
864
|
-
return localVarFp.energyCostMonthSettingSummaryUpdate(requestParameters.energyCostSettingSummyUpdateDTO, options).then((request) => request(axios, basePath));
|
|
865
|
-
},
|
|
866
|
-
/**
|
|
867
|
-
*
|
|
868
|
-
* @summary 新增能源费用管理设置-单条修改
|
|
869
|
-
* @param {DefaultApiEnergyCostMonthSettingUpdateRequest} requestParameters Request parameters.
|
|
870
|
-
* @param {*} [options] Override http request option.
|
|
871
|
-
* @throws {RequiredError}
|
|
872
|
-
*/
|
|
873
|
-
energyCostMonthSettingUpdate(requestParameters: DefaultApiEnergyCostMonthSettingUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
874
|
-
return localVarFp.energyCostMonthSettingUpdate(requestParameters.energyCostUpdateSettingDTO, options).then((request) => request(axios, basePath));
|
|
875
|
-
},
|
|
876
|
-
/**
|
|
877
|
-
*
|
|
878
|
-
* @summary 获取下拉框内容
|
|
879
|
-
* @param {DefaultApiGetOptionsRequest} requestParameters Request parameters.
|
|
880
|
-
* @param {*} [options] Override http request option.
|
|
881
|
-
* @throws {RequiredError}
|
|
882
|
-
*/
|
|
883
|
-
getOptions(requestParameters: DefaultApiGetOptionsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultMapStringObject> {
|
|
884
|
-
return localVarFp.getOptions(requestParameters.type, options).then((request) => request(axios, basePath));
|
|
885
|
-
},
|
|
886
|
-
};
|
|
887
|
-
};
|
|
888
|
-
|
|
889
|
-
/**
|
|
890
|
-
* Request parameters for energyCostAddRecordDetail operation in DefaultApi.
|
|
891
|
-
* @export
|
|
892
|
-
* @interface DefaultApiEnergyCostAddRecordDetailRequest
|
|
893
|
-
*/
|
|
894
|
-
export interface DefaultApiEnergyCostAddRecordDetailRequest {
|
|
895
|
-
/**
|
|
896
|
-
*
|
|
897
|
-
* @type {number}
|
|
898
|
-
* @memberof DefaultApiEnergyCostAddRecordDetail
|
|
899
|
-
*/
|
|
900
|
-
readonly id: number
|
|
901
|
-
}
|
|
902
|
-
|
|
903
|
-
/**
|
|
904
|
-
* Request parameters for energyCostAddRecordInputDraft operation in DefaultApi.
|
|
905
|
-
* @export
|
|
906
|
-
* @interface DefaultApiEnergyCostAddRecordInputDraftRequest
|
|
907
|
-
*/
|
|
908
|
-
export interface DefaultApiEnergyCostAddRecordInputDraftRequest {
|
|
909
|
-
/**
|
|
910
|
-
*
|
|
911
|
-
* @type {EnergyCostAddRecordDTO}
|
|
912
|
-
* @memberof DefaultApiEnergyCostAddRecordInputDraft
|
|
913
|
-
*/
|
|
914
|
-
readonly energyCostAddRecordDTO: EnergyCostAddRecordDTO
|
|
915
|
-
}
|
|
916
|
-
|
|
917
|
-
/**
|
|
918
|
-
* Request parameters for energyCostAddRecordList operation in DefaultApi.
|
|
919
|
-
* @export
|
|
920
|
-
* @interface DefaultApiEnergyCostAddRecordListRequest
|
|
921
|
-
*/
|
|
922
|
-
export interface DefaultApiEnergyCostAddRecordListRequest {
|
|
923
|
-
/**
|
|
924
|
-
*
|
|
925
|
-
* @type {number}
|
|
926
|
-
* @memberof DefaultApiEnergyCostAddRecordList
|
|
927
|
-
*/
|
|
928
|
-
readonly page?: number
|
|
929
|
-
|
|
930
|
-
/**
|
|
931
|
-
*
|
|
932
|
-
* @type {number}
|
|
933
|
-
* @memberof DefaultApiEnergyCostAddRecordList
|
|
934
|
-
*/
|
|
935
|
-
readonly size?: number
|
|
936
|
-
|
|
937
|
-
/**
|
|
938
|
-
*
|
|
939
|
-
* @type {string}
|
|
940
|
-
* @memberof DefaultApiEnergyCostAddRecordList
|
|
941
|
-
*/
|
|
942
|
-
readonly billCode?: string
|
|
943
|
-
|
|
944
|
-
/**
|
|
945
|
-
*
|
|
946
|
-
* @type {string}
|
|
947
|
-
* @memberof DefaultApiEnergyCostAddRecordList
|
|
948
|
-
*/
|
|
949
|
-
readonly startTime?: string
|
|
950
|
-
|
|
951
|
-
/**
|
|
952
|
-
*
|
|
953
|
-
* @type {string}
|
|
954
|
-
* @memberof DefaultApiEnergyCostAddRecordList
|
|
955
|
-
*/
|
|
956
|
-
readonly endTime?: string
|
|
957
|
-
|
|
958
|
-
/**
|
|
959
|
-
*
|
|
960
|
-
* @type {'ELECTRIC' | 'WATER'}
|
|
961
|
-
* @memberof DefaultApiEnergyCostAddRecordList
|
|
962
|
-
*/
|
|
963
|
-
readonly energyType?: EnergyCostAddRecordListEnergyTypeEnum
|
|
964
|
-
|
|
965
|
-
/**
|
|
966
|
-
*
|
|
967
|
-
* @type {number}
|
|
968
|
-
* @memberof DefaultApiEnergyCostAddRecordList
|
|
969
|
-
*/
|
|
970
|
-
readonly status?: number
|
|
971
|
-
}
|
|
972
|
-
|
|
973
|
-
/**
|
|
974
|
-
* Request parameters for energyCostAddRecordNext operation in DefaultApi.
|
|
975
|
-
* @export
|
|
976
|
-
* @interface DefaultApiEnergyCostAddRecordNextRequest
|
|
977
|
-
*/
|
|
978
|
-
export interface DefaultApiEnergyCostAddRecordNextRequest {
|
|
979
|
-
/**
|
|
980
|
-
*
|
|
981
|
-
* @type {EnergyCostAddRecordDTO}
|
|
982
|
-
* @memberof DefaultApiEnergyCostAddRecordNext
|
|
983
|
-
*/
|
|
984
|
-
readonly energyCostAddRecordDTO: EnergyCostAddRecordDTO
|
|
985
|
-
}
|
|
986
|
-
|
|
987
|
-
/**
|
|
988
|
-
* Request parameters for energyCostAddRecordSubmit operation in DefaultApi.
|
|
989
|
-
* @export
|
|
990
|
-
* @interface DefaultApiEnergyCostAddRecordSubmitRequest
|
|
991
|
-
*/
|
|
992
|
-
export interface DefaultApiEnergyCostAddRecordSubmitRequest {
|
|
993
|
-
/**
|
|
994
|
-
*
|
|
995
|
-
* @type {EnergyCostAddRecordDTO}
|
|
996
|
-
* @memberof DefaultApiEnergyCostAddRecordSubmit
|
|
997
|
-
*/
|
|
998
|
-
readonly energyCostAddRecordDTO: EnergyCostAddRecordDTO
|
|
999
|
-
}
|
|
1000
|
-
|
|
1001
|
-
/**
|
|
1002
|
-
* Request parameters for energyCostMonthSettingAdd operation in DefaultApi.
|
|
1003
|
-
* @export
|
|
1004
|
-
* @interface DefaultApiEnergyCostMonthSettingAddRequest
|
|
1005
|
-
*/
|
|
1006
|
-
export interface DefaultApiEnergyCostMonthSettingAddRequest {
|
|
1007
|
-
/**
|
|
1008
|
-
*
|
|
1009
|
-
* @type {EnergyCostAddSettingDTO}
|
|
1010
|
-
* @memberof DefaultApiEnergyCostMonthSettingAdd
|
|
1011
|
-
*/
|
|
1012
|
-
readonly energyCostAddSettingDTO: EnergyCostAddSettingDTO
|
|
1013
|
-
}
|
|
1014
|
-
|
|
1015
|
-
/**
|
|
1016
|
-
* Request parameters for energyCostMonthSettingList operation in DefaultApi.
|
|
1017
|
-
* @export
|
|
1018
|
-
* @interface DefaultApiEnergyCostMonthSettingListRequest
|
|
1019
|
-
*/
|
|
1020
|
-
export interface DefaultApiEnergyCostMonthSettingListRequest {
|
|
1021
|
-
/**
|
|
1022
|
-
*
|
|
1023
|
-
* @type {'ELECTRIC' | 'WATER'}
|
|
1024
|
-
* @memberof DefaultApiEnergyCostMonthSettingList
|
|
1025
|
-
*/
|
|
1026
|
-
readonly energyType: EnergyCostMonthSettingListEnergyTypeEnum
|
|
1027
|
-
|
|
1028
|
-
/**
|
|
1029
|
-
*
|
|
1030
|
-
* @type {string}
|
|
1031
|
-
* @memberof DefaultApiEnergyCostMonthSettingList
|
|
1032
|
-
*/
|
|
1033
|
-
readonly startTime?: string
|
|
1034
|
-
|
|
1035
|
-
/**
|
|
1036
|
-
*
|
|
1037
|
-
* @type {string}
|
|
1038
|
-
* @memberof DefaultApiEnergyCostMonthSettingList
|
|
1039
|
-
*/
|
|
1040
|
-
readonly endTime?: string
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1043
|
-
/**
|
|
1044
|
-
* Request parameters for energyCostMonthSettingSummaryAdd operation in DefaultApi.
|
|
1045
|
-
* @export
|
|
1046
|
-
* @interface DefaultApiEnergyCostMonthSettingSummaryAddRequest
|
|
1047
|
-
*/
|
|
1048
|
-
export interface DefaultApiEnergyCostMonthSettingSummaryAddRequest {
|
|
1049
|
-
/**
|
|
1050
|
-
*
|
|
1051
|
-
* @type {EnergyCostSettingSummyAddDTO}
|
|
1052
|
-
* @memberof DefaultApiEnergyCostMonthSettingSummaryAdd
|
|
1053
|
-
*/
|
|
1054
|
-
readonly energyCostSettingSummyAddDTO: EnergyCostSettingSummyAddDTO
|
|
1055
|
-
}
|
|
1056
|
-
|
|
1057
|
-
/**
|
|
1058
|
-
* Request parameters for energyCostMonthSettingSummaryList operation in DefaultApi.
|
|
1059
|
-
* @export
|
|
1060
|
-
* @interface DefaultApiEnergyCostMonthSettingSummaryListRequest
|
|
1061
|
-
*/
|
|
1062
|
-
export interface DefaultApiEnergyCostMonthSettingSummaryListRequest {
|
|
1063
|
-
/**
|
|
1064
|
-
*
|
|
1065
|
-
* @type {'ELECTRIC' | 'WATER'}
|
|
1066
|
-
* @memberof DefaultApiEnergyCostMonthSettingSummaryList
|
|
1067
|
-
*/
|
|
1068
|
-
readonly energyType: EnergyCostMonthSettingSummaryListEnergyTypeEnum
|
|
1069
|
-
|
|
1070
|
-
/**
|
|
1071
|
-
*
|
|
1072
|
-
* @type {string}
|
|
1073
|
-
* @memberof DefaultApiEnergyCostMonthSettingSummaryList
|
|
1074
|
-
*/
|
|
1075
|
-
readonly startTime?: string
|
|
1076
|
-
|
|
1077
|
-
/**
|
|
1078
|
-
*
|
|
1079
|
-
* @type {string}
|
|
1080
|
-
* @memberof DefaultApiEnergyCostMonthSettingSummaryList
|
|
1081
|
-
*/
|
|
1082
|
-
readonly endTime?: string
|
|
1083
|
-
}
|
|
1084
|
-
|
|
1085
|
-
/**
|
|
1086
|
-
* Request parameters for energyCostMonthSettingSummaryUpdate operation in DefaultApi.
|
|
1087
|
-
* @export
|
|
1088
|
-
* @interface DefaultApiEnergyCostMonthSettingSummaryUpdateRequest
|
|
1089
|
-
*/
|
|
1090
|
-
export interface DefaultApiEnergyCostMonthSettingSummaryUpdateRequest {
|
|
1091
|
-
/**
|
|
1092
|
-
*
|
|
1093
|
-
* @type {EnergyCostSettingSummyUpdateDTO}
|
|
1094
|
-
* @memberof DefaultApiEnergyCostMonthSettingSummaryUpdate
|
|
1095
|
-
*/
|
|
1096
|
-
readonly energyCostSettingSummyUpdateDTO: EnergyCostSettingSummyUpdateDTO
|
|
1097
|
-
}
|
|
1098
|
-
|
|
1099
|
-
/**
|
|
1100
|
-
* Request parameters for energyCostMonthSettingUpdate operation in DefaultApi.
|
|
1101
|
-
* @export
|
|
1102
|
-
* @interface DefaultApiEnergyCostMonthSettingUpdateRequest
|
|
1103
|
-
*/
|
|
1104
|
-
export interface DefaultApiEnergyCostMonthSettingUpdateRequest {
|
|
1105
|
-
/**
|
|
1106
|
-
*
|
|
1107
|
-
* @type {EnergyCostUpdateSettingDTO}
|
|
1108
|
-
* @memberof DefaultApiEnergyCostMonthSettingUpdate
|
|
1109
|
-
*/
|
|
1110
|
-
readonly energyCostUpdateSettingDTO: EnergyCostUpdateSettingDTO
|
|
1111
|
-
}
|
|
1112
|
-
|
|
1113
|
-
/**
|
|
1114
|
-
* Request parameters for getOptions operation in DefaultApi.
|
|
1115
|
-
* @export
|
|
1116
|
-
* @interface DefaultApiGetOptionsRequest
|
|
1117
|
-
*/
|
|
1118
|
-
export interface DefaultApiGetOptionsRequest {
|
|
1119
|
-
/**
|
|
1120
|
-
* 能源类型<energyType> 账单来源(类型电)<billSourceElectric> 账单来源(类型水)<billSourceWater> 单价类型 <pricingTypeEnum>
|
|
1121
|
-
* @type {string}
|
|
1122
|
-
* @memberof DefaultApiGetOptions
|
|
1123
|
-
*/
|
|
1124
|
-
readonly type?: string
|
|
1125
|
-
}
|
|
1126
|
-
|
|
1127
|
-
/**
|
|
1128
|
-
* DefaultApi - object-oriented interface
|
|
1129
|
-
* @export
|
|
1130
|
-
* @class DefaultApi
|
|
1131
|
-
* @extends {BaseAPI}
|
|
1132
|
-
*/
|
|
1133
|
-
export class DefaultApi extends BaseAPI {
|
|
1134
|
-
/**
|
|
1135
|
-
*
|
|
1136
|
-
* @summary 新增能源消耗-返回详情
|
|
1137
|
-
* @param {DefaultApiEnergyCostAddRecordDetailRequest} requestParameters Request parameters.
|
|
1138
|
-
* @param {*} [options] Override http request option.
|
|
1139
|
-
* @throws {RequiredError}
|
|
1140
|
-
* @memberof DefaultApi
|
|
1141
|
-
*/
|
|
1142
|
-
public energyCostAddRecordDetail(requestParameters: DefaultApiEnergyCostAddRecordDetailRequest, options?: RawAxiosRequestConfig) {
|
|
1143
|
-
return DefaultApiFp(this.configuration).energyCostAddRecordDetail(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1144
|
-
}
|
|
1145
|
-
|
|
1146
|
-
/**
|
|
1147
|
-
*
|
|
1148
|
-
* @summary 新增能源消耗-录入保存为草稿
|
|
1149
|
-
* @param {DefaultApiEnergyCostAddRecordInputDraftRequest} requestParameters Request parameters.
|
|
1150
|
-
* @param {*} [options] Override http request option.
|
|
1151
|
-
* @throws {RequiredError}
|
|
1152
|
-
* @memberof DefaultApi
|
|
1153
|
-
*/
|
|
1154
|
-
public energyCostAddRecordInputDraft(requestParameters: DefaultApiEnergyCostAddRecordInputDraftRequest, options?: RawAxiosRequestConfig) {
|
|
1155
|
-
return DefaultApiFp(this.configuration).energyCostAddRecordInputDraft(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
|
|
1156
|
-
}
|
|
1157
|
-
|
|
1158
|
-
/**
|
|
1159
|
-
*
|
|
1160
|
-
* @summary 新增能源消耗-列表
|
|
1161
|
-
* @param {DefaultApiEnergyCostAddRecordListRequest} requestParameters Request parameters.
|
|
1162
|
-
* @param {*} [options] Override http request option.
|
|
1163
|
-
* @throws {RequiredError}
|
|
1164
|
-
* @memberof DefaultApi
|
|
1165
|
-
*/
|
|
1166
|
-
public energyCostAddRecordList(requestParameters: DefaultApiEnergyCostAddRecordListRequest = {}, options?: RawAxiosRequestConfig) {
|
|
1167
|
-
return DefaultApiFp(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));
|
|
1168
|
-
}
|
|
1169
|
-
|
|
1170
|
-
/**
|
|
1171
|
-
*
|
|
1172
|
-
* @summary 新增能源消耗-next
|
|
1173
|
-
* @param {DefaultApiEnergyCostAddRecordNextRequest} requestParameters Request parameters.
|
|
1174
|
-
* @param {*} [options] Override http request option.
|
|
1175
|
-
* @throws {RequiredError}
|
|
1176
|
-
* @memberof DefaultApi
|
|
1177
|
-
*/
|
|
1178
|
-
public energyCostAddRecordNext(requestParameters: DefaultApiEnergyCostAddRecordNextRequest, options?: RawAxiosRequestConfig) {
|
|
1179
|
-
return DefaultApiFp(this.configuration).energyCostAddRecordNext(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
|
|
1180
|
-
}
|
|
1181
|
-
|
|
1182
|
-
/**
|
|
1183
|
-
*
|
|
1184
|
-
* @summary 新增能源消耗-提交
|
|
1185
|
-
* @param {DefaultApiEnergyCostAddRecordSubmitRequest} requestParameters Request parameters.
|
|
1186
|
-
* @param {*} [options] Override http request option.
|
|
1187
|
-
* @throws {RequiredError}
|
|
1188
|
-
* @memberof DefaultApi
|
|
1189
|
-
*/
|
|
1190
|
-
public energyCostAddRecordSubmit(requestParameters: DefaultApiEnergyCostAddRecordSubmitRequest, options?: RawAxiosRequestConfig) {
|
|
1191
|
-
return DefaultApiFp(this.configuration).energyCostAddRecordSubmit(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
|
|
1192
|
-
}
|
|
1193
|
-
|
|
1194
|
-
/**
|
|
1195
|
-
*
|
|
1196
|
-
* @summary 新增能源费用管理设置-单条新增
|
|
1197
|
-
* @param {DefaultApiEnergyCostMonthSettingAddRequest} requestParameters Request parameters.
|
|
1198
|
-
* @param {*} [options] Override http request option.
|
|
1199
|
-
* @throws {RequiredError}
|
|
1200
|
-
* @memberof DefaultApi
|
|
1201
|
-
*/
|
|
1202
|
-
public energyCostMonthSettingAdd(requestParameters: DefaultApiEnergyCostMonthSettingAddRequest, options?: RawAxiosRequestConfig) {
|
|
1203
|
-
return DefaultApiFp(this.configuration).energyCostMonthSettingAdd(requestParameters.energyCostAddSettingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
|
-
/**
|
|
1207
|
-
*
|
|
1208
|
-
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
1209
|
-
* @param {DefaultApiEnergyCostMonthSettingListRequest} requestParameters Request parameters.
|
|
1210
|
-
* @param {*} [options] Override http request option.
|
|
1211
|
-
* @throws {RequiredError}
|
|
1212
|
-
* @memberof DefaultApi
|
|
1213
|
-
*/
|
|
1214
|
-
public energyCostMonthSettingList(requestParameters: DefaultApiEnergyCostMonthSettingListRequest, options?: RawAxiosRequestConfig) {
|
|
1215
|
-
return DefaultApiFp(this.configuration).energyCostMonthSettingList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(this.axios, this.basePath));
|
|
1216
|
-
}
|
|
1217
|
-
|
|
1218
|
-
/**
|
|
1219
|
-
*
|
|
1220
|
-
* @summary 新增能源费用管理设置-园区汇总标准新增
|
|
1221
|
-
* @param {DefaultApiEnergyCostMonthSettingSummaryAddRequest} requestParameters Request parameters.
|
|
1222
|
-
* @param {*} [options] Override http request option.
|
|
1223
|
-
* @throws {RequiredError}
|
|
1224
|
-
* @memberof DefaultApi
|
|
1225
|
-
*/
|
|
1226
|
-
public energyCostMonthSettingSummaryAdd(requestParameters: DefaultApiEnergyCostMonthSettingSummaryAddRequest, options?: RawAxiosRequestConfig) {
|
|
1227
|
-
return DefaultApiFp(this.configuration).energyCostMonthSettingSummaryAdd(requestParameters.energyCostSettingSummyAddDTO, options).then((request) => request(this.axios, this.basePath));
|
|
1228
|
-
}
|
|
1229
|
-
|
|
1230
|
-
/**
|
|
1231
|
-
*
|
|
1232
|
-
* @summary 新增能源费用管理设置-列表-查询园区汇总标准
|
|
1233
|
-
* @param {DefaultApiEnergyCostMonthSettingSummaryListRequest} requestParameters Request parameters.
|
|
1234
|
-
* @param {*} [options] Override http request option.
|
|
1235
|
-
* @throws {RequiredError}
|
|
1236
|
-
* @memberof DefaultApi
|
|
1237
|
-
*/
|
|
1238
|
-
public energyCostMonthSettingSummaryList(requestParameters: DefaultApiEnergyCostMonthSettingSummaryListRequest, options?: RawAxiosRequestConfig) {
|
|
1239
|
-
return DefaultApiFp(this.configuration).energyCostMonthSettingSummaryList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(this.axios, this.basePath));
|
|
1240
|
-
}
|
|
1241
|
-
|
|
1242
|
-
/**
|
|
1243
|
-
*
|
|
1244
|
-
* @summary 新增能源费用管理设置-园区汇总标准修改
|
|
1245
|
-
* @param {DefaultApiEnergyCostMonthSettingSummaryUpdateRequest} requestParameters Request parameters.
|
|
1246
|
-
* @param {*} [options] Override http request option.
|
|
1247
|
-
* @throws {RequiredError}
|
|
1248
|
-
* @memberof DefaultApi
|
|
1249
|
-
*/
|
|
1250
|
-
public energyCostMonthSettingSummaryUpdate(requestParameters: DefaultApiEnergyCostMonthSettingSummaryUpdateRequest, options?: RawAxiosRequestConfig) {
|
|
1251
|
-
return DefaultApiFp(this.configuration).energyCostMonthSettingSummaryUpdate(requestParameters.energyCostSettingSummyUpdateDTO, options).then((request) => request(this.axios, this.basePath));
|
|
1252
|
-
}
|
|
1253
|
-
|
|
1254
|
-
/**
|
|
1255
|
-
*
|
|
1256
|
-
* @summary 新增能源费用管理设置-单条修改
|
|
1257
|
-
* @param {DefaultApiEnergyCostMonthSettingUpdateRequest} requestParameters Request parameters.
|
|
1258
|
-
* @param {*} [options] Override http request option.
|
|
1259
|
-
* @throws {RequiredError}
|
|
1260
|
-
* @memberof DefaultApi
|
|
1261
|
-
*/
|
|
1262
|
-
public energyCostMonthSettingUpdate(requestParameters: DefaultApiEnergyCostMonthSettingUpdateRequest, options?: RawAxiosRequestConfig) {
|
|
1263
|
-
return DefaultApiFp(this.configuration).energyCostMonthSettingUpdate(requestParameters.energyCostUpdateSettingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
1264
|
-
}
|
|
1265
|
-
|
|
1266
|
-
/**
|
|
1267
|
-
*
|
|
1268
|
-
* @summary 获取下拉框内容
|
|
1269
|
-
* @param {DefaultApiGetOptionsRequest} requestParameters Request parameters.
|
|
1270
|
-
* @param {*} [options] Override http request option.
|
|
1271
|
-
* @throws {RequiredError}
|
|
1272
|
-
* @memberof DefaultApi
|
|
1273
|
-
*/
|
|
1274
|
-
public getOptions(requestParameters: DefaultApiGetOptionsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
1275
|
-
return DefaultApiFp(this.configuration).getOptions(requestParameters.type, options).then((request) => request(this.axios, this.basePath));
|
|
1276
|
-
}
|
|
1277
|
-
}
|
|
1278
|
-
|
|
1279
|
-
/**
|
|
1280
|
-
* @export
|
|
1281
|
-
*/
|
|
1282
|
-
export const EnergyCostAddRecordListEnergyTypeEnum = {
|
|
1283
|
-
Electric: 'ELECTRIC',
|
|
1284
|
-
Water: 'WATER'
|
|
1285
|
-
} as const;
|
|
1286
|
-
export type EnergyCostAddRecordListEnergyTypeEnum = typeof EnergyCostAddRecordListEnergyTypeEnum[keyof typeof EnergyCostAddRecordListEnergyTypeEnum];
|
|
1287
|
-
/**
|
|
1288
|
-
* @export
|
|
1289
|
-
*/
|
|
1290
|
-
export const EnergyCostMonthSettingListEnergyTypeEnum = {
|
|
1291
|
-
Electric: 'ELECTRIC',
|
|
1292
|
-
Water: 'WATER'
|
|
1293
|
-
} as const;
|
|
1294
|
-
export type EnergyCostMonthSettingListEnergyTypeEnum = typeof EnergyCostMonthSettingListEnergyTypeEnum[keyof typeof EnergyCostMonthSettingListEnergyTypeEnum];
|
|
1295
|
-
/**
|
|
1296
|
-
* @export
|
|
1297
|
-
*/
|
|
1298
|
-
export const EnergyCostMonthSettingSummaryListEnergyTypeEnum = {
|
|
1299
|
-
Electric: 'ELECTRIC',
|
|
1300
|
-
Water: 'WATER'
|
|
1301
|
-
} as const;
|
|
1302
|
-
export type EnergyCostMonthSettingSummaryListEnergyTypeEnum = typeof EnergyCostMonthSettingSummaryListEnergyTypeEnum[keyof typeof EnergyCostMonthSettingSummaryListEnergyTypeEnum];
|