@gizone/rrs-client 4.2.9-alpha.538 → 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 +5 -0
- package/api.ts +1 -0
- package/apis/energy-cost-controller-api.ts +158 -474
- package/apis/energy-cost-record-controller-api.ts +686 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/apis/energy-cost-controller-api.d.ts +111 -282
- package/dist/apis/energy-cost-controller-api.js +111 -337
- 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 +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/apis/energy-cost-controller-api.d.ts +111 -282
- package/dist/esm/apis/energy-cost-controller-api.js +110 -336
- 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-month-setting-list-summary-standards-vo.d.ts +96 -0
- package/dist/esm/models/energy-cost-month-setting-list-summary-standards-vo.js +23 -0
- package/dist/esm/models/energy-cost-month-setting-list-vo.d.ts +30 -25
- package/dist/esm/models/energy-cost-month-setting-list-vo.js +4 -1
- package/dist/esm/models/energy-cost-setting-summy-add-dto.d.ts +41 -0
- package/dist/esm/models/energy-cost-setting-summy-add-dto.js +17 -0
- package/dist/esm/models/energy-cost-setting-summy-update-dto.d.ts +47 -0
- package/dist/esm/models/energy-cost-setting-summy-update-dto.js +17 -0
- package/dist/esm/models/index.d.ts +4 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/models/ipage-energy-cost-record-info-vo.d.ts +3 -3
- package/dist/esm/models/json-result-list-energy-cost-month-setting-list-summary-standards-vo.d.ts +62 -0
- package/dist/esm/models/json-result-list-energy-cost-month-setting-list-summary-standards-vo.js +14 -0
- package/dist/models/energy-cost-month-setting-list-summary-standards-vo.d.ts +96 -0
- package/dist/models/energy-cost-month-setting-list-summary-standards-vo.js +26 -0
- package/dist/models/energy-cost-month-setting-list-vo.d.ts +30 -25
- package/dist/models/energy-cost-month-setting-list-vo.js +5 -0
- package/dist/models/energy-cost-setting-summy-add-dto.d.ts +41 -0
- package/dist/models/energy-cost-setting-summy-add-dto.js +20 -0
- package/dist/models/energy-cost-setting-summy-update-dto.d.ts +47 -0
- package/dist/models/energy-cost-setting-summy-update-dto.js +20 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/models/ipage-energy-cost-record-info-vo.d.ts +3 -3
- package/dist/models/json-result-list-energy-cost-month-setting-list-summary-standards-vo.d.ts +62 -0
- package/dist/models/json-result-list-energy-cost-month-setting-list-summary-standards-vo.js +15 -0
- package/models/energy-cost-month-setting-list-summary-standards-vo.ts +106 -0
- package/models/energy-cost-month-setting-list-vo.ts +33 -25
- package/models/energy-cost-setting-summy-add-dto.ts +50 -0
- package/models/energy-cost-setting-summy-update-dto.ts +56 -0
- package/models/index.ts +4 -0
- package/models/ipage-energy-cost-record-info-vo.ts +3 -3
- package/models/json-result-list-energy-cost-month-setting-list-summary-standards-vo.ts +72 -0
- package/ossutil.log +1056 -1050
- package/package.json +1 -1
|
@@ -22,21 +22,19 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
22
22
|
// @ts-ignore
|
|
23
23
|
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
24
|
// @ts-ignore
|
|
25
|
-
import type { EnergyCostAddRecordDTO } from '../models';
|
|
26
|
-
// @ts-ignore
|
|
27
25
|
import type { EnergyCostAddSettingDTO } from '../models';
|
|
28
26
|
// @ts-ignore
|
|
27
|
+
import type { EnergyCostSettingSummyAddDTO } from '../models';
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
import type { EnergyCostSettingSummyUpdateDTO } from '../models';
|
|
30
|
+
// @ts-ignore
|
|
29
31
|
import type { EnergyCostUpdateSettingDTO } from '../models';
|
|
30
32
|
// @ts-ignore
|
|
31
33
|
import type { JsonResult } from '../models';
|
|
32
34
|
// @ts-ignore
|
|
33
|
-
import type {
|
|
34
|
-
// @ts-ignore
|
|
35
|
-
import type { JsonResultIPageEnergyCostRecordInfoVO } from '../models';
|
|
35
|
+
import type { JsonResultListEnergyCostMonthSettingListSummaryStandardsVO } from '../models';
|
|
36
36
|
// @ts-ignore
|
|
37
37
|
import type { JsonResultListEnergyCostMonthSettingListVO } from '../models';
|
|
38
|
-
// @ts-ignore
|
|
39
|
-
import type { JsonResultMapStringObject } from '../models';
|
|
40
38
|
/**
|
|
41
39
|
* EnergyCostControllerApi - axios parameter creator
|
|
42
40
|
* @export
|
|
@@ -45,53 +43,15 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration?
|
|
|
45
43
|
return {
|
|
46
44
|
/**
|
|
47
45
|
*
|
|
48
|
-
* @summary
|
|
49
|
-
* @param {
|
|
50
|
-
* @param {*} [options] Override http request option.
|
|
51
|
-
* @throws {RequiredError}
|
|
52
|
-
*/
|
|
53
|
-
energyCostAddRecordDetail: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
54
|
-
// verify required parameter 'id' is not null or undefined
|
|
55
|
-
assertParamExists('energyCostAddRecordDetail', 'id', id)
|
|
56
|
-
const localVarPath = `/gizone/energy/cost/record/detail/{id}`
|
|
57
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
58
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
59
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
60
|
-
let baseOptions;
|
|
61
|
-
if (configuration) {
|
|
62
|
-
baseOptions = configuration.baseOptions;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
66
|
-
const localVarHeaderParameter = {} as any;
|
|
67
|
-
const localVarQueryParameter = {} as any;
|
|
68
|
-
|
|
69
|
-
// authentication tokenScheme required
|
|
70
|
-
// http bearer authentication required
|
|
71
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
76
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
77
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
78
|
-
|
|
79
|
-
return {
|
|
80
|
-
url: toPathString(localVarUrlObj),
|
|
81
|
-
options: localVarRequestOptions,
|
|
82
|
-
};
|
|
83
|
-
},
|
|
84
|
-
/**
|
|
85
|
-
*
|
|
86
|
-
* @summary 新增能源消耗-录入保存为草稿
|
|
87
|
-
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
46
|
+
* @summary 新增能源费用管理设置-单条新增
|
|
47
|
+
* @param {EnergyCostAddSettingDTO} energyCostAddSettingDTO
|
|
88
48
|
* @param {*} [options] Override http request option.
|
|
89
49
|
* @throws {RequiredError}
|
|
90
50
|
*/
|
|
91
|
-
|
|
92
|
-
// verify required parameter '
|
|
93
|
-
assertParamExists('
|
|
94
|
-
const localVarPath = `/gizone/energy/cost/
|
|
51
|
+
energyCostMonthSettingAdd: async (energyCostAddSettingDTO: EnergyCostAddSettingDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
52
|
+
// verify required parameter 'energyCostAddSettingDTO' is not null or undefined
|
|
53
|
+
assertParamExists('energyCostMonthSettingAdd', 'energyCostAddSettingDTO', energyCostAddSettingDTO)
|
|
54
|
+
const localVarPath = `/gizone/energy/cost/month/setting`;
|
|
95
55
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
96
56
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
97
57
|
let baseOptions;
|
|
@@ -114,7 +74,7 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration?
|
|
|
114
74
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
115
75
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
116
76
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
117
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
77
|
+
localVarRequestOptions.data = serializeDataIfNeeded(energyCostAddSettingDTO, localVarRequestOptions, configuration)
|
|
118
78
|
|
|
119
79
|
return {
|
|
120
80
|
url: toPathString(localVarUrlObj),
|
|
@@ -123,19 +83,17 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration?
|
|
|
123
83
|
},
|
|
124
84
|
/**
|
|
125
85
|
*
|
|
126
|
-
* @summary
|
|
127
|
-
* @param {
|
|
128
|
-
* @param {number} [size]
|
|
129
|
-
* @param {string} [billCode]
|
|
86
|
+
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
87
|
+
* @param {EnergyCostMonthSettingListEnergyTypeEnum} energyType
|
|
130
88
|
* @param {string} [startTime]
|
|
131
89
|
* @param {string} [endTime]
|
|
132
|
-
* @param {EnergyCostAddRecordListEnergyTypeEnum} [energyType]
|
|
133
|
-
* @param {number} [status]
|
|
134
90
|
* @param {*} [options] Override http request option.
|
|
135
91
|
* @throws {RequiredError}
|
|
136
92
|
*/
|
|
137
|
-
|
|
138
|
-
|
|
93
|
+
energyCostMonthSettingList: async (energyType: EnergyCostMonthSettingListEnergyTypeEnum, startTime?: string, endTime?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
94
|
+
// verify required parameter 'energyType' is not null or undefined
|
|
95
|
+
assertParamExists('energyCostMonthSettingList', 'energyType', energyType)
|
|
96
|
+
const localVarPath = `/gizone/energy/cost/month/setting`;
|
|
139
97
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
140
98
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
141
99
|
let baseOptions;
|
|
@@ -151,18 +109,6 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration?
|
|
|
151
109
|
// http bearer authentication required
|
|
152
110
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
153
111
|
|
|
154
|
-
if (page !== undefined) {
|
|
155
|
-
localVarQueryParameter['page'] = page;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
if (size !== undefined) {
|
|
159
|
-
localVarQueryParameter['size'] = size;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
if (billCode !== undefined) {
|
|
163
|
-
localVarQueryParameter['billCode'] = billCode;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
112
|
if (startTime !== undefined) {
|
|
167
113
|
localVarQueryParameter['startTime'] = startTime;
|
|
168
114
|
}
|
|
@@ -175,95 +121,11 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration?
|
|
|
175
121
|
localVarQueryParameter['energyType'] = energyType;
|
|
176
122
|
}
|
|
177
123
|
|
|
178
|
-
if (status !== undefined) {
|
|
179
|
-
localVarQueryParameter['status'] = status;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
185
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
186
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
187
|
-
|
|
188
|
-
return {
|
|
189
|
-
url: toPathString(localVarUrlObj),
|
|
190
|
-
options: localVarRequestOptions,
|
|
191
|
-
};
|
|
192
|
-
},
|
|
193
|
-
/**
|
|
194
|
-
*
|
|
195
|
-
* @summary 新增能源消耗-next
|
|
196
|
-
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
197
|
-
* @param {*} [options] Override http request option.
|
|
198
|
-
* @throws {RequiredError}
|
|
199
|
-
*/
|
|
200
|
-
energyCostAddRecordNext: async (energyCostAddRecordDTO: EnergyCostAddRecordDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
201
|
-
// verify required parameter 'energyCostAddRecordDTO' is not null or undefined
|
|
202
|
-
assertParamExists('energyCostAddRecordNext', 'energyCostAddRecordDTO', energyCostAddRecordDTO)
|
|
203
|
-
const localVarPath = `/gizone/energy/cost/record/next`;
|
|
204
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
205
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
206
|
-
let baseOptions;
|
|
207
|
-
if (configuration) {
|
|
208
|
-
baseOptions = configuration.baseOptions;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
212
|
-
const localVarHeaderParameter = {} as any;
|
|
213
|
-
const localVarQueryParameter = {} as any;
|
|
214
|
-
|
|
215
|
-
// authentication tokenScheme required
|
|
216
|
-
// http bearer authentication required
|
|
217
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
222
|
-
|
|
223
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
224
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
225
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
226
|
-
localVarRequestOptions.data = serializeDataIfNeeded(energyCostAddRecordDTO, localVarRequestOptions, configuration)
|
|
227
|
-
|
|
228
|
-
return {
|
|
229
|
-
url: toPathString(localVarUrlObj),
|
|
230
|
-
options: localVarRequestOptions,
|
|
231
|
-
};
|
|
232
|
-
},
|
|
233
|
-
/**
|
|
234
|
-
*
|
|
235
|
-
* @summary 新增能源消耗-提交
|
|
236
|
-
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
237
|
-
* @param {*} [options] Override http request option.
|
|
238
|
-
* @throws {RequiredError}
|
|
239
|
-
*/
|
|
240
|
-
energyCostAddRecordSubmit: async (energyCostAddRecordDTO: EnergyCostAddRecordDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
241
|
-
// verify required parameter 'energyCostAddRecordDTO' is not null or undefined
|
|
242
|
-
assertParamExists('energyCostAddRecordSubmit', 'energyCostAddRecordDTO', energyCostAddRecordDTO)
|
|
243
|
-
const localVarPath = `/gizone/energy/cost/record/submit`;
|
|
244
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
245
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
246
|
-
let baseOptions;
|
|
247
|
-
if (configuration) {
|
|
248
|
-
baseOptions = configuration.baseOptions;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
252
|
-
const localVarHeaderParameter = {} as any;
|
|
253
|
-
const localVarQueryParameter = {} as any;
|
|
254
|
-
|
|
255
|
-
// authentication tokenScheme required
|
|
256
|
-
// http bearer authentication required
|
|
257
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
258
|
-
|
|
259
124
|
|
|
260
125
|
|
|
261
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
262
|
-
|
|
263
126
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
264
127
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
265
128
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
266
|
-
localVarRequestOptions.data = serializeDataIfNeeded(energyCostAddRecordDTO, localVarRequestOptions, configuration)
|
|
267
129
|
|
|
268
130
|
return {
|
|
269
131
|
url: toPathString(localVarUrlObj),
|
|
@@ -272,15 +134,15 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration?
|
|
|
272
134
|
},
|
|
273
135
|
/**
|
|
274
136
|
*
|
|
275
|
-
* @summary
|
|
276
|
-
* @param {
|
|
137
|
+
* @summary 新增能源费用管理设置-园区汇总标准新增
|
|
138
|
+
* @param {EnergyCostSettingSummyAddDTO} energyCostSettingSummyAddDTO
|
|
277
139
|
* @param {*} [options] Override http request option.
|
|
278
140
|
* @throws {RequiredError}
|
|
279
141
|
*/
|
|
280
|
-
|
|
281
|
-
// verify required parameter '
|
|
282
|
-
assertParamExists('
|
|
283
|
-
const localVarPath = `/gizone/energy/cost/month/setting`;
|
|
142
|
+
energyCostMonthSettingSummaryAdd: async (energyCostSettingSummyAddDTO: EnergyCostSettingSummyAddDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
143
|
+
// verify required parameter 'energyCostSettingSummyAddDTO' is not null or undefined
|
|
144
|
+
assertParamExists('energyCostMonthSettingSummaryAdd', 'energyCostSettingSummyAddDTO', energyCostSettingSummyAddDTO)
|
|
145
|
+
const localVarPath = `/gizone/energy/cost/month/setting/summaryStandards`;
|
|
284
146
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
285
147
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
286
148
|
let baseOptions;
|
|
@@ -303,7 +165,7 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration?
|
|
|
303
165
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
304
166
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
305
167
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
306
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
168
|
+
localVarRequestOptions.data = serializeDataIfNeeded(energyCostSettingSummyAddDTO, localVarRequestOptions, configuration)
|
|
307
169
|
|
|
308
170
|
return {
|
|
309
171
|
url: toPathString(localVarUrlObj),
|
|
@@ -312,17 +174,17 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration?
|
|
|
312
174
|
},
|
|
313
175
|
/**
|
|
314
176
|
*
|
|
315
|
-
* @summary
|
|
316
|
-
* @param {
|
|
177
|
+
* @summary 新增能源费用管理设置-列表-查询园区汇总标准
|
|
178
|
+
* @param {EnergyCostMonthSettingSummaryListEnergyTypeEnum} energyType
|
|
317
179
|
* @param {string} [startTime]
|
|
318
180
|
* @param {string} [endTime]
|
|
319
181
|
* @param {*} [options] Override http request option.
|
|
320
182
|
* @throws {RequiredError}
|
|
321
183
|
*/
|
|
322
|
-
|
|
184
|
+
energyCostMonthSettingSummaryList: async (energyType: EnergyCostMonthSettingSummaryListEnergyTypeEnum, startTime?: string, endTime?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
323
185
|
// verify required parameter 'energyType' is not null or undefined
|
|
324
|
-
assertParamExists('
|
|
325
|
-
const localVarPath = `/gizone/energy/cost/month/setting`;
|
|
186
|
+
assertParamExists('energyCostMonthSettingSummaryList', 'energyType', energyType)
|
|
187
|
+
const localVarPath = `/gizone/energy/cost/month/setting/summaryStandards`;
|
|
326
188
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
327
189
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
328
190
|
let baseOptions;
|
|
@@ -363,15 +225,15 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration?
|
|
|
363
225
|
},
|
|
364
226
|
/**
|
|
365
227
|
*
|
|
366
|
-
* @summary
|
|
367
|
-
* @param {
|
|
228
|
+
* @summary 新增能源费用管理设置-园区汇总标准修改
|
|
229
|
+
* @param {EnergyCostSettingSummyUpdateDTO} energyCostSettingSummyUpdateDTO
|
|
368
230
|
* @param {*} [options] Override http request option.
|
|
369
231
|
* @throws {RequiredError}
|
|
370
232
|
*/
|
|
371
|
-
|
|
372
|
-
// verify required parameter '
|
|
373
|
-
assertParamExists('
|
|
374
|
-
const localVarPath = `/gizone/energy/cost/month/setting`;
|
|
233
|
+
energyCostMonthSettingSummaryUpdate: async (energyCostSettingSummyUpdateDTO: EnergyCostSettingSummyUpdateDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
234
|
+
// verify required parameter 'energyCostSettingSummyUpdateDTO' is not null or undefined
|
|
235
|
+
assertParamExists('energyCostMonthSettingSummaryUpdate', 'energyCostSettingSummyUpdateDTO', energyCostSettingSummyUpdateDTO)
|
|
236
|
+
const localVarPath = `/gizone/energy/cost/month/setting/summaryStandards`;
|
|
375
237
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
376
238
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
377
239
|
let baseOptions;
|
|
@@ -394,7 +256,7 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration?
|
|
|
394
256
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
395
257
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
396
258
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
397
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
259
|
+
localVarRequestOptions.data = serializeDataIfNeeded(energyCostSettingSummyUpdateDTO, localVarRequestOptions, configuration)
|
|
398
260
|
|
|
399
261
|
return {
|
|
400
262
|
url: toPathString(localVarUrlObj),
|
|
@@ -403,13 +265,15 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration?
|
|
|
403
265
|
},
|
|
404
266
|
/**
|
|
405
267
|
*
|
|
406
|
-
* @summary
|
|
407
|
-
* @param {
|
|
268
|
+
* @summary 新增能源费用管理设置-单条修改
|
|
269
|
+
* @param {EnergyCostUpdateSettingDTO} energyCostUpdateSettingDTO
|
|
408
270
|
* @param {*} [options] Override http request option.
|
|
409
271
|
* @throws {RequiredError}
|
|
410
272
|
*/
|
|
411
|
-
|
|
412
|
-
|
|
273
|
+
energyCostMonthSettingUpdate: async (energyCostUpdateSettingDTO: EnergyCostUpdateSettingDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
274
|
+
// verify required parameter 'energyCostUpdateSettingDTO' is not null or undefined
|
|
275
|
+
assertParamExists('energyCostMonthSettingUpdate', 'energyCostUpdateSettingDTO', energyCostUpdateSettingDTO)
|
|
276
|
+
const localVarPath = `/gizone/energy/cost/month/setting`;
|
|
413
277
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
414
278
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
415
279
|
let baseOptions;
|
|
@@ -417,7 +281,7 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration?
|
|
|
417
281
|
baseOptions = configuration.baseOptions;
|
|
418
282
|
}
|
|
419
283
|
|
|
420
|
-
const localVarRequestOptions = { method: '
|
|
284
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
421
285
|
const localVarHeaderParameter = {} as any;
|
|
422
286
|
const localVarQueryParameter = {} as any;
|
|
423
287
|
|
|
@@ -425,15 +289,14 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration?
|
|
|
425
289
|
// http bearer authentication required
|
|
426
290
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
427
291
|
|
|
428
|
-
if (type !== undefined) {
|
|
429
|
-
localVarQueryParameter['type'] = type;
|
|
430
|
-
}
|
|
431
|
-
|
|
432
292
|
|
|
433
293
|
|
|
294
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
295
|
+
|
|
434
296
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
435
297
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
436
298
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
299
|
+
localVarRequestOptions.data = serializeDataIfNeeded(energyCostUpdateSettingDTO, localVarRequestOptions, configuration)
|
|
437
300
|
|
|
438
301
|
return {
|
|
439
302
|
url: toPathString(localVarUrlObj),
|
|
@@ -452,101 +315,71 @@ export const EnergyCostControllerApiFp = function(configuration?: Configuration)
|
|
|
452
315
|
return {
|
|
453
316
|
/**
|
|
454
317
|
*
|
|
455
|
-
* @summary
|
|
456
|
-
* @param {
|
|
457
|
-
* @param {*} [options] Override http request option.
|
|
458
|
-
* @throws {RequiredError}
|
|
459
|
-
*/
|
|
460
|
-
async energyCostAddRecordDetail(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultEnergyCostRecordInfoVO>> {
|
|
461
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostAddRecordDetail(id, options);
|
|
462
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
463
|
-
const localVarOperationServerBasePath = operationServerMap['EnergyCostControllerApi.energyCostAddRecordDetail']?.[localVarOperationServerIndex]?.url;
|
|
464
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
465
|
-
},
|
|
466
|
-
/**
|
|
467
|
-
*
|
|
468
|
-
* @summary 新增能源消耗-录入保存为草稿
|
|
469
|
-
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
318
|
+
* @summary 新增能源费用管理设置-单条新增
|
|
319
|
+
* @param {EnergyCostAddSettingDTO} energyCostAddSettingDTO
|
|
470
320
|
* @param {*} [options] Override http request option.
|
|
471
321
|
* @throws {RequiredError}
|
|
472
322
|
*/
|
|
473
|
-
async
|
|
474
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
323
|
+
async energyCostMonthSettingAdd(energyCostAddSettingDTO: EnergyCostAddSettingDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
324
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostMonthSettingAdd(energyCostAddSettingDTO, options);
|
|
475
325
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
476
|
-
const localVarOperationServerBasePath = operationServerMap['EnergyCostControllerApi.
|
|
326
|
+
const localVarOperationServerBasePath = operationServerMap['EnergyCostControllerApi.energyCostMonthSettingAdd']?.[localVarOperationServerIndex]?.url;
|
|
477
327
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
478
328
|
},
|
|
479
329
|
/**
|
|
480
330
|
*
|
|
481
|
-
* @summary
|
|
482
|
-
* @param {
|
|
483
|
-
* @param {number} [size]
|
|
484
|
-
* @param {string} [billCode]
|
|
331
|
+
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
332
|
+
* @param {EnergyCostMonthSettingListEnergyTypeEnum} energyType
|
|
485
333
|
* @param {string} [startTime]
|
|
486
334
|
* @param {string} [endTime]
|
|
487
|
-
* @param {EnergyCostAddRecordListEnergyTypeEnum} [energyType]
|
|
488
|
-
* @param {number} [status]
|
|
489
|
-
* @param {*} [options] Override http request option.
|
|
490
|
-
* @throws {RequiredError}
|
|
491
|
-
*/
|
|
492
|
-
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>> {
|
|
493
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostAddRecordList(page, size, billCode, startTime, endTime, energyType, status, options);
|
|
494
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
495
|
-
const localVarOperationServerBasePath = operationServerMap['EnergyCostControllerApi.energyCostAddRecordList']?.[localVarOperationServerIndex]?.url;
|
|
496
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
497
|
-
},
|
|
498
|
-
/**
|
|
499
|
-
*
|
|
500
|
-
* @summary 新增能源消耗-next
|
|
501
|
-
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
502
335
|
* @param {*} [options] Override http request option.
|
|
503
336
|
* @throws {RequiredError}
|
|
504
337
|
*/
|
|
505
|
-
async
|
|
506
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
338
|
+
async energyCostMonthSettingList(energyType: EnergyCostMonthSettingListEnergyTypeEnum, startTime?: string, endTime?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListEnergyCostMonthSettingListVO>> {
|
|
339
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostMonthSettingList(energyType, startTime, endTime, options);
|
|
507
340
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
508
|
-
const localVarOperationServerBasePath = operationServerMap['EnergyCostControllerApi.
|
|
341
|
+
const localVarOperationServerBasePath = operationServerMap['EnergyCostControllerApi.energyCostMonthSettingList']?.[localVarOperationServerIndex]?.url;
|
|
509
342
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
510
343
|
},
|
|
511
344
|
/**
|
|
512
345
|
*
|
|
513
|
-
* @summary
|
|
514
|
-
* @param {
|
|
346
|
+
* @summary 新增能源费用管理设置-园区汇总标准新增
|
|
347
|
+
* @param {EnergyCostSettingSummyAddDTO} energyCostSettingSummyAddDTO
|
|
515
348
|
* @param {*} [options] Override http request option.
|
|
516
349
|
* @throws {RequiredError}
|
|
517
350
|
*/
|
|
518
|
-
async
|
|
519
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
351
|
+
async energyCostMonthSettingSummaryAdd(energyCostSettingSummyAddDTO: EnergyCostSettingSummyAddDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
352
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostMonthSettingSummaryAdd(energyCostSettingSummyAddDTO, options);
|
|
520
353
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
521
|
-
const localVarOperationServerBasePath = operationServerMap['EnergyCostControllerApi.
|
|
354
|
+
const localVarOperationServerBasePath = operationServerMap['EnergyCostControllerApi.energyCostMonthSettingSummaryAdd']?.[localVarOperationServerIndex]?.url;
|
|
522
355
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
523
356
|
},
|
|
524
357
|
/**
|
|
525
358
|
*
|
|
526
|
-
* @summary
|
|
527
|
-
* @param {
|
|
359
|
+
* @summary 新增能源费用管理设置-列表-查询园区汇总标准
|
|
360
|
+
* @param {EnergyCostMonthSettingSummaryListEnergyTypeEnum} energyType
|
|
361
|
+
* @param {string} [startTime]
|
|
362
|
+
* @param {string} [endTime]
|
|
528
363
|
* @param {*} [options] Override http request option.
|
|
529
364
|
* @throws {RequiredError}
|
|
530
365
|
*/
|
|
531
|
-
async
|
|
532
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
366
|
+
async energyCostMonthSettingSummaryList(energyType: EnergyCostMonthSettingSummaryListEnergyTypeEnum, startTime?: string, endTime?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListEnergyCostMonthSettingListSummaryStandardsVO>> {
|
|
367
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostMonthSettingSummaryList(energyType, startTime, endTime, options);
|
|
533
368
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
534
|
-
const localVarOperationServerBasePath = operationServerMap['EnergyCostControllerApi.
|
|
369
|
+
const localVarOperationServerBasePath = operationServerMap['EnergyCostControllerApi.energyCostMonthSettingSummaryList']?.[localVarOperationServerIndex]?.url;
|
|
535
370
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
536
371
|
},
|
|
537
372
|
/**
|
|
538
373
|
*
|
|
539
|
-
* @summary
|
|
540
|
-
* @param {
|
|
541
|
-
* @param {string} [startTime]
|
|
542
|
-
* @param {string} [endTime]
|
|
374
|
+
* @summary 新增能源费用管理设置-园区汇总标准修改
|
|
375
|
+
* @param {EnergyCostSettingSummyUpdateDTO} energyCostSettingSummyUpdateDTO
|
|
543
376
|
* @param {*} [options] Override http request option.
|
|
544
377
|
* @throws {RequiredError}
|
|
545
378
|
*/
|
|
546
|
-
async
|
|
547
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
379
|
+
async energyCostMonthSettingSummaryUpdate(energyCostSettingSummyUpdateDTO: EnergyCostSettingSummyUpdateDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
380
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostMonthSettingSummaryUpdate(energyCostSettingSummyUpdateDTO, options);
|
|
548
381
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
549
|
-
const localVarOperationServerBasePath = operationServerMap['EnergyCostControllerApi.
|
|
382
|
+
const localVarOperationServerBasePath = operationServerMap['EnergyCostControllerApi.energyCostMonthSettingSummaryUpdate']?.[localVarOperationServerIndex]?.url;
|
|
550
383
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
551
384
|
},
|
|
552
385
|
/**
|
|
@@ -562,19 +395,6 @@ export const EnergyCostControllerApiFp = function(configuration?: Configuration)
|
|
|
562
395
|
const localVarOperationServerBasePath = operationServerMap['EnergyCostControllerApi.energyCostMonthSettingUpdate']?.[localVarOperationServerIndex]?.url;
|
|
563
396
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
564
397
|
},
|
|
565
|
-
/**
|
|
566
|
-
*
|
|
567
|
-
* @summary 获取下拉框内容
|
|
568
|
-
* @param {string} [type] 能源类型<energyType> 账单来源(类型电)<billSourceElectric> 账单来源(类型水)<billSourceWater> 单价类型 <pricingTypeEnum>
|
|
569
|
-
* @param {*} [options] Override http request option.
|
|
570
|
-
* @throws {RequiredError}
|
|
571
|
-
*/
|
|
572
|
-
async getOptions(type?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultMapStringObject>> {
|
|
573
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getOptions(type, options);
|
|
574
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
575
|
-
const localVarOperationServerBasePath = operationServerMap['EnergyCostControllerApi.getOptions']?.[localVarOperationServerIndex]?.url;
|
|
576
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
577
|
-
},
|
|
578
398
|
}
|
|
579
399
|
};
|
|
580
400
|
|
|
@@ -587,73 +407,53 @@ export const EnergyCostControllerApiFactory = function (configuration?: Configur
|
|
|
587
407
|
return {
|
|
588
408
|
/**
|
|
589
409
|
*
|
|
590
|
-
* @summary
|
|
591
|
-
* @param {
|
|
592
|
-
* @param {*} [options] Override http request option.
|
|
593
|
-
* @throws {RequiredError}
|
|
594
|
-
*/
|
|
595
|
-
energyCostAddRecordDetail(requestParameters: EnergyCostControllerApiEnergyCostAddRecordDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultEnergyCostRecordInfoVO> {
|
|
596
|
-
return localVarFp.energyCostAddRecordDetail(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
597
|
-
},
|
|
598
|
-
/**
|
|
599
|
-
*
|
|
600
|
-
* @summary 新增能源消耗-录入保存为草稿
|
|
601
|
-
* @param {EnergyCostControllerApiEnergyCostAddRecordInputDraftRequest} requestParameters Request parameters.
|
|
410
|
+
* @summary 新增能源费用管理设置-单条新增
|
|
411
|
+
* @param {EnergyCostControllerApiEnergyCostMonthSettingAddRequest} requestParameters Request parameters.
|
|
602
412
|
* @param {*} [options] Override http request option.
|
|
603
413
|
* @throws {RequiredError}
|
|
604
414
|
*/
|
|
605
|
-
|
|
606
|
-
return localVarFp.
|
|
415
|
+
energyCostMonthSettingAdd(requestParameters: EnergyCostControllerApiEnergyCostMonthSettingAddRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
416
|
+
return localVarFp.energyCostMonthSettingAdd(requestParameters.energyCostAddSettingDTO, options).then((request) => request(axios, basePath));
|
|
607
417
|
},
|
|
608
418
|
/**
|
|
609
419
|
*
|
|
610
|
-
* @summary
|
|
611
|
-
* @param {
|
|
420
|
+
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
421
|
+
* @param {EnergyCostControllerApiEnergyCostMonthSettingListRequest} requestParameters Request parameters.
|
|
612
422
|
* @param {*} [options] Override http request option.
|
|
613
423
|
* @throws {RequiredError}
|
|
614
424
|
*/
|
|
615
|
-
|
|
616
|
-
return localVarFp.
|
|
425
|
+
energyCostMonthSettingList(requestParameters: EnergyCostControllerApiEnergyCostMonthSettingListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListEnergyCostMonthSettingListVO> {
|
|
426
|
+
return localVarFp.energyCostMonthSettingList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(axios, basePath));
|
|
617
427
|
},
|
|
618
428
|
/**
|
|
619
429
|
*
|
|
620
|
-
* @summary
|
|
621
|
-
* @param {
|
|
430
|
+
* @summary 新增能源费用管理设置-园区汇总标准新增
|
|
431
|
+
* @param {EnergyCostControllerApiEnergyCostMonthSettingSummaryAddRequest} requestParameters Request parameters.
|
|
622
432
|
* @param {*} [options] Override http request option.
|
|
623
433
|
* @throws {RequiredError}
|
|
624
434
|
*/
|
|
625
|
-
|
|
626
|
-
return localVarFp.
|
|
435
|
+
energyCostMonthSettingSummaryAdd(requestParameters: EnergyCostControllerApiEnergyCostMonthSettingSummaryAddRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
436
|
+
return localVarFp.energyCostMonthSettingSummaryAdd(requestParameters.energyCostSettingSummyAddDTO, options).then((request) => request(axios, basePath));
|
|
627
437
|
},
|
|
628
438
|
/**
|
|
629
439
|
*
|
|
630
|
-
* @summary
|
|
631
|
-
* @param {
|
|
440
|
+
* @summary 新增能源费用管理设置-列表-查询园区汇总标准
|
|
441
|
+
* @param {EnergyCostControllerApiEnergyCostMonthSettingSummaryListRequest} requestParameters Request parameters.
|
|
632
442
|
* @param {*} [options] Override http request option.
|
|
633
443
|
* @throws {RequiredError}
|
|
634
444
|
*/
|
|
635
|
-
|
|
636
|
-
return localVarFp.
|
|
445
|
+
energyCostMonthSettingSummaryList(requestParameters: EnergyCostControllerApiEnergyCostMonthSettingSummaryListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListEnergyCostMonthSettingListSummaryStandardsVO> {
|
|
446
|
+
return localVarFp.energyCostMonthSettingSummaryList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(axios, basePath));
|
|
637
447
|
},
|
|
638
448
|
/**
|
|
639
449
|
*
|
|
640
|
-
* @summary
|
|
641
|
-
* @param {
|
|
450
|
+
* @summary 新增能源费用管理设置-园区汇总标准修改
|
|
451
|
+
* @param {EnergyCostControllerApiEnergyCostMonthSettingSummaryUpdateRequest} requestParameters Request parameters.
|
|
642
452
|
* @param {*} [options] Override http request option.
|
|
643
453
|
* @throws {RequiredError}
|
|
644
454
|
*/
|
|
645
|
-
|
|
646
|
-
return localVarFp.
|
|
647
|
-
},
|
|
648
|
-
/**
|
|
649
|
-
*
|
|
650
|
-
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
651
|
-
* @param {EnergyCostControllerApiEnergyCostMonthSettingListRequest} requestParameters Request parameters.
|
|
652
|
-
* @param {*} [options] Override http request option.
|
|
653
|
-
* @throws {RequiredError}
|
|
654
|
-
*/
|
|
655
|
-
energyCostMonthSettingList(requestParameters: EnergyCostControllerApiEnergyCostMonthSettingListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListEnergyCostMonthSettingListVO> {
|
|
656
|
-
return localVarFp.energyCostMonthSettingList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(axios, basePath));
|
|
455
|
+
energyCostMonthSettingSummaryUpdate(requestParameters: EnergyCostControllerApiEnergyCostMonthSettingSummaryUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
456
|
+
return localVarFp.energyCostMonthSettingSummaryUpdate(requestParameters.energyCostSettingSummyUpdateDTO, options).then((request) => request(axios, basePath));
|
|
657
457
|
},
|
|
658
458
|
/**
|
|
659
459
|
*
|
|
@@ -665,199 +465,119 @@ export const EnergyCostControllerApiFactory = function (configuration?: Configur
|
|
|
665
465
|
energyCostMonthSettingUpdate(requestParameters: EnergyCostControllerApiEnergyCostMonthSettingUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
666
466
|
return localVarFp.energyCostMonthSettingUpdate(requestParameters.energyCostUpdateSettingDTO, options).then((request) => request(axios, basePath));
|
|
667
467
|
},
|
|
668
|
-
/**
|
|
669
|
-
*
|
|
670
|
-
* @summary 获取下拉框内容
|
|
671
|
-
* @param {EnergyCostControllerApiGetOptionsRequest} requestParameters Request parameters.
|
|
672
|
-
* @param {*} [options] Override http request option.
|
|
673
|
-
* @throws {RequiredError}
|
|
674
|
-
*/
|
|
675
|
-
getOptions(requestParameters: EnergyCostControllerApiGetOptionsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultMapStringObject> {
|
|
676
|
-
return localVarFp.getOptions(requestParameters.type, options).then((request) => request(axios, basePath));
|
|
677
|
-
},
|
|
678
468
|
};
|
|
679
469
|
};
|
|
680
470
|
|
|
681
471
|
/**
|
|
682
|
-
* Request parameters for
|
|
683
|
-
* @export
|
|
684
|
-
* @interface EnergyCostControllerApiEnergyCostAddRecordDetailRequest
|
|
685
|
-
*/
|
|
686
|
-
export interface EnergyCostControllerApiEnergyCostAddRecordDetailRequest {
|
|
687
|
-
/**
|
|
688
|
-
*
|
|
689
|
-
* @type {number}
|
|
690
|
-
* @memberof EnergyCostControllerApiEnergyCostAddRecordDetail
|
|
691
|
-
*/
|
|
692
|
-
readonly id: number
|
|
693
|
-
}
|
|
694
|
-
|
|
695
|
-
/**
|
|
696
|
-
* Request parameters for energyCostAddRecordInputDraft operation in EnergyCostControllerApi.
|
|
472
|
+
* Request parameters for energyCostMonthSettingAdd operation in EnergyCostControllerApi.
|
|
697
473
|
* @export
|
|
698
|
-
* @interface
|
|
474
|
+
* @interface EnergyCostControllerApiEnergyCostMonthSettingAddRequest
|
|
699
475
|
*/
|
|
700
|
-
export interface
|
|
476
|
+
export interface EnergyCostControllerApiEnergyCostMonthSettingAddRequest {
|
|
701
477
|
/**
|
|
702
478
|
*
|
|
703
|
-
* @type {
|
|
704
|
-
* @memberof
|
|
479
|
+
* @type {EnergyCostAddSettingDTO}
|
|
480
|
+
* @memberof EnergyCostControllerApiEnergyCostMonthSettingAdd
|
|
705
481
|
*/
|
|
706
|
-
readonly
|
|
482
|
+
readonly energyCostAddSettingDTO: EnergyCostAddSettingDTO
|
|
707
483
|
}
|
|
708
484
|
|
|
709
485
|
/**
|
|
710
|
-
* Request parameters for
|
|
486
|
+
* Request parameters for energyCostMonthSettingList operation in EnergyCostControllerApi.
|
|
711
487
|
* @export
|
|
712
|
-
* @interface
|
|
488
|
+
* @interface EnergyCostControllerApiEnergyCostMonthSettingListRequest
|
|
713
489
|
*/
|
|
714
|
-
export interface
|
|
715
|
-
/**
|
|
716
|
-
*
|
|
717
|
-
* @type {number}
|
|
718
|
-
* @memberof EnergyCostControllerApiEnergyCostAddRecordList
|
|
719
|
-
*/
|
|
720
|
-
readonly page?: number
|
|
721
|
-
|
|
722
|
-
/**
|
|
723
|
-
*
|
|
724
|
-
* @type {number}
|
|
725
|
-
* @memberof EnergyCostControllerApiEnergyCostAddRecordList
|
|
726
|
-
*/
|
|
727
|
-
readonly size?: number
|
|
728
|
-
|
|
490
|
+
export interface EnergyCostControllerApiEnergyCostMonthSettingListRequest {
|
|
729
491
|
/**
|
|
730
492
|
*
|
|
731
|
-
* @type {
|
|
732
|
-
* @memberof
|
|
493
|
+
* @type {'ELECTRIC' | 'WATER'}
|
|
494
|
+
* @memberof EnergyCostControllerApiEnergyCostMonthSettingList
|
|
733
495
|
*/
|
|
734
|
-
readonly
|
|
496
|
+
readonly energyType: EnergyCostMonthSettingListEnergyTypeEnum
|
|
735
497
|
|
|
736
498
|
/**
|
|
737
499
|
*
|
|
738
500
|
* @type {string}
|
|
739
|
-
* @memberof
|
|
501
|
+
* @memberof EnergyCostControllerApiEnergyCostMonthSettingList
|
|
740
502
|
*/
|
|
741
503
|
readonly startTime?: string
|
|
742
504
|
|
|
743
505
|
/**
|
|
744
506
|
*
|
|
745
507
|
* @type {string}
|
|
746
|
-
* @memberof
|
|
508
|
+
* @memberof EnergyCostControllerApiEnergyCostMonthSettingList
|
|
747
509
|
*/
|
|
748
510
|
readonly endTime?: string
|
|
749
|
-
|
|
750
|
-
/**
|
|
751
|
-
*
|
|
752
|
-
* @type {'ELECTRIC' | 'WATER'}
|
|
753
|
-
* @memberof EnergyCostControllerApiEnergyCostAddRecordList
|
|
754
|
-
*/
|
|
755
|
-
readonly energyType?: EnergyCostAddRecordListEnergyTypeEnum
|
|
756
|
-
|
|
757
|
-
/**
|
|
758
|
-
*
|
|
759
|
-
* @type {number}
|
|
760
|
-
* @memberof EnergyCostControllerApiEnergyCostAddRecordList
|
|
761
|
-
*/
|
|
762
|
-
readonly status?: number
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
/**
|
|
766
|
-
* Request parameters for energyCostAddRecordNext operation in EnergyCostControllerApi.
|
|
767
|
-
* @export
|
|
768
|
-
* @interface EnergyCostControllerApiEnergyCostAddRecordNextRequest
|
|
769
|
-
*/
|
|
770
|
-
export interface EnergyCostControllerApiEnergyCostAddRecordNextRequest {
|
|
771
|
-
/**
|
|
772
|
-
*
|
|
773
|
-
* @type {EnergyCostAddRecordDTO}
|
|
774
|
-
* @memberof EnergyCostControllerApiEnergyCostAddRecordNext
|
|
775
|
-
*/
|
|
776
|
-
readonly energyCostAddRecordDTO: EnergyCostAddRecordDTO
|
|
777
511
|
}
|
|
778
512
|
|
|
779
513
|
/**
|
|
780
|
-
* Request parameters for
|
|
514
|
+
* Request parameters for energyCostMonthSettingSummaryAdd operation in EnergyCostControllerApi.
|
|
781
515
|
* @export
|
|
782
|
-
* @interface
|
|
516
|
+
* @interface EnergyCostControllerApiEnergyCostMonthSettingSummaryAddRequest
|
|
783
517
|
*/
|
|
784
|
-
export interface
|
|
785
|
-
/**
|
|
786
|
-
*
|
|
787
|
-
* @type {EnergyCostAddRecordDTO}
|
|
788
|
-
* @memberof EnergyCostControllerApiEnergyCostAddRecordSubmit
|
|
789
|
-
*/
|
|
790
|
-
readonly energyCostAddRecordDTO: EnergyCostAddRecordDTO
|
|
791
|
-
}
|
|
792
|
-
|
|
793
|
-
/**
|
|
794
|
-
* Request parameters for energyCostMonthSettingAdd operation in EnergyCostControllerApi.
|
|
795
|
-
* @export
|
|
796
|
-
* @interface EnergyCostControllerApiEnergyCostMonthSettingAddRequest
|
|
797
|
-
*/
|
|
798
|
-
export interface EnergyCostControllerApiEnergyCostMonthSettingAddRequest {
|
|
518
|
+
export interface EnergyCostControllerApiEnergyCostMonthSettingSummaryAddRequest {
|
|
799
519
|
/**
|
|
800
520
|
*
|
|
801
|
-
* @type {
|
|
802
|
-
* @memberof
|
|
521
|
+
* @type {EnergyCostSettingSummyAddDTO}
|
|
522
|
+
* @memberof EnergyCostControllerApiEnergyCostMonthSettingSummaryAdd
|
|
803
523
|
*/
|
|
804
|
-
readonly
|
|
524
|
+
readonly energyCostSettingSummyAddDTO: EnergyCostSettingSummyAddDTO
|
|
805
525
|
}
|
|
806
526
|
|
|
807
527
|
/**
|
|
808
|
-
* Request parameters for
|
|
528
|
+
* Request parameters for energyCostMonthSettingSummaryList operation in EnergyCostControllerApi.
|
|
809
529
|
* @export
|
|
810
|
-
* @interface
|
|
530
|
+
* @interface EnergyCostControllerApiEnergyCostMonthSettingSummaryListRequest
|
|
811
531
|
*/
|
|
812
|
-
export interface
|
|
532
|
+
export interface EnergyCostControllerApiEnergyCostMonthSettingSummaryListRequest {
|
|
813
533
|
/**
|
|
814
534
|
*
|
|
815
535
|
* @type {'ELECTRIC' | 'WATER'}
|
|
816
|
-
* @memberof
|
|
536
|
+
* @memberof EnergyCostControllerApiEnergyCostMonthSettingSummaryList
|
|
817
537
|
*/
|
|
818
|
-
readonly energyType:
|
|
538
|
+
readonly energyType: EnergyCostMonthSettingSummaryListEnergyTypeEnum
|
|
819
539
|
|
|
820
540
|
/**
|
|
821
541
|
*
|
|
822
542
|
* @type {string}
|
|
823
|
-
* @memberof
|
|
543
|
+
* @memberof EnergyCostControllerApiEnergyCostMonthSettingSummaryList
|
|
824
544
|
*/
|
|
825
545
|
readonly startTime?: string
|
|
826
546
|
|
|
827
547
|
/**
|
|
828
548
|
*
|
|
829
549
|
* @type {string}
|
|
830
|
-
* @memberof
|
|
550
|
+
* @memberof EnergyCostControllerApiEnergyCostMonthSettingSummaryList
|
|
831
551
|
*/
|
|
832
552
|
readonly endTime?: string
|
|
833
553
|
}
|
|
834
554
|
|
|
835
555
|
/**
|
|
836
|
-
* Request parameters for
|
|
556
|
+
* Request parameters for energyCostMonthSettingSummaryUpdate operation in EnergyCostControllerApi.
|
|
837
557
|
* @export
|
|
838
|
-
* @interface
|
|
558
|
+
* @interface EnergyCostControllerApiEnergyCostMonthSettingSummaryUpdateRequest
|
|
839
559
|
*/
|
|
840
|
-
export interface
|
|
560
|
+
export interface EnergyCostControllerApiEnergyCostMonthSettingSummaryUpdateRequest {
|
|
841
561
|
/**
|
|
842
562
|
*
|
|
843
|
-
* @type {
|
|
844
|
-
* @memberof
|
|
563
|
+
* @type {EnergyCostSettingSummyUpdateDTO}
|
|
564
|
+
* @memberof EnergyCostControllerApiEnergyCostMonthSettingSummaryUpdate
|
|
845
565
|
*/
|
|
846
|
-
readonly
|
|
566
|
+
readonly energyCostSettingSummyUpdateDTO: EnergyCostSettingSummyUpdateDTO
|
|
847
567
|
}
|
|
848
568
|
|
|
849
569
|
/**
|
|
850
|
-
* Request parameters for
|
|
570
|
+
* Request parameters for energyCostMonthSettingUpdate operation in EnergyCostControllerApi.
|
|
851
571
|
* @export
|
|
852
|
-
* @interface
|
|
572
|
+
* @interface EnergyCostControllerApiEnergyCostMonthSettingUpdateRequest
|
|
853
573
|
*/
|
|
854
|
-
export interface
|
|
574
|
+
export interface EnergyCostControllerApiEnergyCostMonthSettingUpdateRequest {
|
|
855
575
|
/**
|
|
856
|
-
*
|
|
857
|
-
* @type {
|
|
858
|
-
* @memberof
|
|
576
|
+
*
|
|
577
|
+
* @type {EnergyCostUpdateSettingDTO}
|
|
578
|
+
* @memberof EnergyCostControllerApiEnergyCostMonthSettingUpdate
|
|
859
579
|
*/
|
|
860
|
-
readonly
|
|
580
|
+
readonly energyCostUpdateSettingDTO: EnergyCostUpdateSettingDTO
|
|
861
581
|
}
|
|
862
582
|
|
|
863
583
|
/**
|
|
@@ -869,86 +589,62 @@ export interface EnergyCostControllerApiGetOptionsRequest {
|
|
|
869
589
|
export class EnergyCostControllerApi extends BaseAPI {
|
|
870
590
|
/**
|
|
871
591
|
*
|
|
872
|
-
* @summary
|
|
873
|
-
* @param {
|
|
874
|
-
* @param {*} [options] Override http request option.
|
|
875
|
-
* @throws {RequiredError}
|
|
876
|
-
* @memberof EnergyCostControllerApi
|
|
877
|
-
*/
|
|
878
|
-
public energyCostAddRecordDetail(requestParameters: EnergyCostControllerApiEnergyCostAddRecordDetailRequest, options?: RawAxiosRequestConfig) {
|
|
879
|
-
return EnergyCostControllerApiFp(this.configuration).energyCostAddRecordDetail(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
880
|
-
}
|
|
881
|
-
|
|
882
|
-
/**
|
|
883
|
-
*
|
|
884
|
-
* @summary 新增能源消耗-录入保存为草稿
|
|
885
|
-
* @param {EnergyCostControllerApiEnergyCostAddRecordInputDraftRequest} requestParameters Request parameters.
|
|
886
|
-
* @param {*} [options] Override http request option.
|
|
887
|
-
* @throws {RequiredError}
|
|
888
|
-
* @memberof EnergyCostControllerApi
|
|
889
|
-
*/
|
|
890
|
-
public energyCostAddRecordInputDraft(requestParameters: EnergyCostControllerApiEnergyCostAddRecordInputDraftRequest, options?: RawAxiosRequestConfig) {
|
|
891
|
-
return EnergyCostControllerApiFp(this.configuration).energyCostAddRecordInputDraft(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
|
|
892
|
-
}
|
|
893
|
-
|
|
894
|
-
/**
|
|
895
|
-
*
|
|
896
|
-
* @summary 新增能源消耗-列表
|
|
897
|
-
* @param {EnergyCostControllerApiEnergyCostAddRecordListRequest} requestParameters Request parameters.
|
|
592
|
+
* @summary 新增能源费用管理设置-单条新增
|
|
593
|
+
* @param {EnergyCostControllerApiEnergyCostMonthSettingAddRequest} requestParameters Request parameters.
|
|
898
594
|
* @param {*} [options] Override http request option.
|
|
899
595
|
* @throws {RequiredError}
|
|
900
596
|
* @memberof EnergyCostControllerApi
|
|
901
597
|
*/
|
|
902
|
-
public
|
|
903
|
-
return EnergyCostControllerApiFp(this.configuration).
|
|
598
|
+
public energyCostMonthSettingAdd(requestParameters: EnergyCostControllerApiEnergyCostMonthSettingAddRequest, options?: RawAxiosRequestConfig) {
|
|
599
|
+
return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingAdd(requestParameters.energyCostAddSettingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
904
600
|
}
|
|
905
601
|
|
|
906
602
|
/**
|
|
907
603
|
*
|
|
908
|
-
* @summary
|
|
909
|
-
* @param {
|
|
604
|
+
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
605
|
+
* @param {EnergyCostControllerApiEnergyCostMonthSettingListRequest} requestParameters Request parameters.
|
|
910
606
|
* @param {*} [options] Override http request option.
|
|
911
607
|
* @throws {RequiredError}
|
|
912
608
|
* @memberof EnergyCostControllerApi
|
|
913
609
|
*/
|
|
914
|
-
public
|
|
915
|
-
return EnergyCostControllerApiFp(this.configuration).
|
|
610
|
+
public energyCostMonthSettingList(requestParameters: EnergyCostControllerApiEnergyCostMonthSettingListRequest, options?: RawAxiosRequestConfig) {
|
|
611
|
+
return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(this.axios, this.basePath));
|
|
916
612
|
}
|
|
917
613
|
|
|
918
614
|
/**
|
|
919
615
|
*
|
|
920
|
-
* @summary
|
|
921
|
-
* @param {
|
|
616
|
+
* @summary 新增能源费用管理设置-园区汇总标准新增
|
|
617
|
+
* @param {EnergyCostControllerApiEnergyCostMonthSettingSummaryAddRequest} requestParameters Request parameters.
|
|
922
618
|
* @param {*} [options] Override http request option.
|
|
923
619
|
* @throws {RequiredError}
|
|
924
620
|
* @memberof EnergyCostControllerApi
|
|
925
621
|
*/
|
|
926
|
-
public
|
|
927
|
-
return EnergyCostControllerApiFp(this.configuration).
|
|
622
|
+
public energyCostMonthSettingSummaryAdd(requestParameters: EnergyCostControllerApiEnergyCostMonthSettingSummaryAddRequest, options?: RawAxiosRequestConfig) {
|
|
623
|
+
return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingSummaryAdd(requestParameters.energyCostSettingSummyAddDTO, options).then((request) => request(this.axios, this.basePath));
|
|
928
624
|
}
|
|
929
625
|
|
|
930
626
|
/**
|
|
931
627
|
*
|
|
932
|
-
* @summary
|
|
933
|
-
* @param {
|
|
628
|
+
* @summary 新增能源费用管理设置-列表-查询园区汇总标准
|
|
629
|
+
* @param {EnergyCostControllerApiEnergyCostMonthSettingSummaryListRequest} requestParameters Request parameters.
|
|
934
630
|
* @param {*} [options] Override http request option.
|
|
935
631
|
* @throws {RequiredError}
|
|
936
632
|
* @memberof EnergyCostControllerApi
|
|
937
633
|
*/
|
|
938
|
-
public
|
|
939
|
-
return EnergyCostControllerApiFp(this.configuration).
|
|
634
|
+
public energyCostMonthSettingSummaryList(requestParameters: EnergyCostControllerApiEnergyCostMonthSettingSummaryListRequest, options?: RawAxiosRequestConfig) {
|
|
635
|
+
return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingSummaryList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(this.axios, this.basePath));
|
|
940
636
|
}
|
|
941
637
|
|
|
942
638
|
/**
|
|
943
639
|
*
|
|
944
|
-
* @summary
|
|
945
|
-
* @param {
|
|
640
|
+
* @summary 新增能源费用管理设置-园区汇总标准修改
|
|
641
|
+
* @param {EnergyCostControllerApiEnergyCostMonthSettingSummaryUpdateRequest} requestParameters Request parameters.
|
|
946
642
|
* @param {*} [options] Override http request option.
|
|
947
643
|
* @throws {RequiredError}
|
|
948
644
|
* @memberof EnergyCostControllerApi
|
|
949
645
|
*/
|
|
950
|
-
public
|
|
951
|
-
return EnergyCostControllerApiFp(this.configuration).
|
|
646
|
+
public energyCostMonthSettingSummaryUpdate(requestParameters: EnergyCostControllerApiEnergyCostMonthSettingSummaryUpdateRequest, options?: RawAxiosRequestConfig) {
|
|
647
|
+
return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingSummaryUpdate(requestParameters.energyCostSettingSummyUpdateDTO, options).then((request) => request(this.axios, this.basePath));
|
|
952
648
|
}
|
|
953
649
|
|
|
954
650
|
/**
|
|
@@ -962,33 +658,21 @@ export class EnergyCostControllerApi extends BaseAPI {
|
|
|
962
658
|
public energyCostMonthSettingUpdate(requestParameters: EnergyCostControllerApiEnergyCostMonthSettingUpdateRequest, options?: RawAxiosRequestConfig) {
|
|
963
659
|
return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingUpdate(requestParameters.energyCostUpdateSettingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
964
660
|
}
|
|
965
|
-
|
|
966
|
-
/**
|
|
967
|
-
*
|
|
968
|
-
* @summary 获取下拉框内容
|
|
969
|
-
* @param {EnergyCostControllerApiGetOptionsRequest} requestParameters Request parameters.
|
|
970
|
-
* @param {*} [options] Override http request option.
|
|
971
|
-
* @throws {RequiredError}
|
|
972
|
-
* @memberof EnergyCostControllerApi
|
|
973
|
-
*/
|
|
974
|
-
public getOptions(requestParameters: EnergyCostControllerApiGetOptionsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
975
|
-
return EnergyCostControllerApiFp(this.configuration).getOptions(requestParameters.type, options).then((request) => request(this.axios, this.basePath));
|
|
976
|
-
}
|
|
977
661
|
}
|
|
978
662
|
|
|
979
663
|
/**
|
|
980
664
|
* @export
|
|
981
665
|
*/
|
|
982
|
-
export const
|
|
666
|
+
export const EnergyCostMonthSettingListEnergyTypeEnum = {
|
|
983
667
|
Electric: 'ELECTRIC',
|
|
984
668
|
Water: 'WATER'
|
|
985
669
|
} as const;
|
|
986
|
-
export type
|
|
670
|
+
export type EnergyCostMonthSettingListEnergyTypeEnum = typeof EnergyCostMonthSettingListEnergyTypeEnum[keyof typeof EnergyCostMonthSettingListEnergyTypeEnum];
|
|
987
671
|
/**
|
|
988
672
|
* @export
|
|
989
673
|
*/
|
|
990
|
-
export const
|
|
674
|
+
export const EnergyCostMonthSettingSummaryListEnergyTypeEnum = {
|
|
991
675
|
Electric: 'ELECTRIC',
|
|
992
676
|
Water: 'WATER'
|
|
993
677
|
} as const;
|
|
994
|
-
export type
|
|
678
|
+
export type EnergyCostMonthSettingSummaryListEnergyTypeEnum = typeof EnergyCostMonthSettingSummaryListEnergyTypeEnum[keyof typeof EnergyCostMonthSettingSummaryListEnergyTypeEnum];
|