@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
|
@@ -34,47 +34,15 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration)
|
|
|
34
34
|
return {
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @summary
|
|
38
|
-
* @param {
|
|
39
|
-
* @param {*} [options] Override http request option.
|
|
40
|
-
* @throws {RequiredError}
|
|
41
|
-
*/
|
|
42
|
-
energyCostAddRecordDetail: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
43
|
-
// verify required parameter 'id' is not null or undefined
|
|
44
|
-
assertParamExists('energyCostAddRecordDetail', 'id', id);
|
|
45
|
-
const localVarPath = `/gizone/energy/cost/record/detail/{id}`
|
|
46
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
47
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
49
|
-
let baseOptions;
|
|
50
|
-
if (configuration) {
|
|
51
|
-
baseOptions = configuration.baseOptions;
|
|
52
|
-
}
|
|
53
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
54
|
-
const localVarHeaderParameter = {};
|
|
55
|
-
const localVarQueryParameter = {};
|
|
56
|
-
// authentication tokenScheme required
|
|
57
|
-
// http bearer authentication required
|
|
58
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
59
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
60
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
62
|
-
return {
|
|
63
|
-
url: toPathString(localVarUrlObj),
|
|
64
|
-
options: localVarRequestOptions,
|
|
65
|
-
};
|
|
66
|
-
}),
|
|
67
|
-
/**
|
|
68
|
-
*
|
|
69
|
-
* @summary 新增能源消耗-录入保存为草稿
|
|
70
|
-
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
37
|
+
* @summary 新增能源费用管理设置-单条新增
|
|
38
|
+
* @param {EnergyCostAddSettingDTO} energyCostAddSettingDTO
|
|
71
39
|
* @param {*} [options] Override http request option.
|
|
72
40
|
* @throws {RequiredError}
|
|
73
41
|
*/
|
|
74
|
-
|
|
75
|
-
// verify required parameter '
|
|
76
|
-
assertParamExists('
|
|
77
|
-
const localVarPath = `/gizone/energy/cost/
|
|
42
|
+
energyCostMonthSettingAdd: (energyCostAddSettingDTO_1, ...args_1) => __awaiter(this, [energyCostAddSettingDTO_1, ...args_1], void 0, function* (energyCostAddSettingDTO, options = {}) {
|
|
43
|
+
// verify required parameter 'energyCostAddSettingDTO' is not null or undefined
|
|
44
|
+
assertParamExists('energyCostMonthSettingAdd', 'energyCostAddSettingDTO', energyCostAddSettingDTO);
|
|
45
|
+
const localVarPath = `/gizone/energy/cost/month/setting`;
|
|
78
46
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
79
47
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
80
48
|
let baseOptions;
|
|
@@ -91,7 +59,7 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration)
|
|
|
91
59
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
92
60
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
93
61
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
94
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
62
|
+
localVarRequestOptions.data = serializeDataIfNeeded(energyCostAddSettingDTO, localVarRequestOptions, configuration);
|
|
95
63
|
return {
|
|
96
64
|
url: toPathString(localVarUrlObj),
|
|
97
65
|
options: localVarRequestOptions,
|
|
@@ -99,19 +67,17 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration)
|
|
|
99
67
|
}),
|
|
100
68
|
/**
|
|
101
69
|
*
|
|
102
|
-
* @summary
|
|
103
|
-
* @param {
|
|
104
|
-
* @param {number} [size]
|
|
105
|
-
* @param {string} [billCode]
|
|
70
|
+
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
71
|
+
* @param {EnergyCostMonthSettingListEnergyTypeEnum} energyType
|
|
106
72
|
* @param {string} [startTime]
|
|
107
73
|
* @param {string} [endTime]
|
|
108
|
-
* @param {EnergyCostAddRecordListEnergyTypeEnum} [energyType]
|
|
109
|
-
* @param {number} [status]
|
|
110
74
|
* @param {*} [options] Override http request option.
|
|
111
75
|
* @throws {RequiredError}
|
|
112
76
|
*/
|
|
113
|
-
|
|
114
|
-
|
|
77
|
+
energyCostMonthSettingList: (energyType_1, startTime_1, endTime_1, ...args_1) => __awaiter(this, [energyType_1, startTime_1, endTime_1, ...args_1], void 0, function* (energyType, startTime, endTime, options = {}) {
|
|
78
|
+
// verify required parameter 'energyType' is not null or undefined
|
|
79
|
+
assertParamExists('energyCostMonthSettingList', 'energyType', energyType);
|
|
80
|
+
const localVarPath = `/gizone/energy/cost/month/setting`;
|
|
115
81
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
116
82
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
117
83
|
let baseOptions;
|
|
@@ -124,15 +90,6 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration)
|
|
|
124
90
|
// authentication tokenScheme required
|
|
125
91
|
// http bearer authentication required
|
|
126
92
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
127
|
-
if (page !== undefined) {
|
|
128
|
-
localVarQueryParameter['page'] = page;
|
|
129
|
-
}
|
|
130
|
-
if (size !== undefined) {
|
|
131
|
-
localVarQueryParameter['size'] = size;
|
|
132
|
-
}
|
|
133
|
-
if (billCode !== undefined) {
|
|
134
|
-
localVarQueryParameter['billCode'] = billCode;
|
|
135
|
-
}
|
|
136
93
|
if (startTime !== undefined) {
|
|
137
94
|
localVarQueryParameter['startTime'] = startTime;
|
|
138
95
|
}
|
|
@@ -142,9 +99,6 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration)
|
|
|
142
99
|
if (energyType !== undefined) {
|
|
143
100
|
localVarQueryParameter['energyType'] = energyType;
|
|
144
101
|
}
|
|
145
|
-
if (status !== undefined) {
|
|
146
|
-
localVarQueryParameter['status'] = status;
|
|
147
|
-
}
|
|
148
102
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
149
103
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
150
104
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -155,15 +109,15 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration)
|
|
|
155
109
|
}),
|
|
156
110
|
/**
|
|
157
111
|
*
|
|
158
|
-
* @summary
|
|
159
|
-
* @param {
|
|
112
|
+
* @summary 新增能源费用管理设置-园区汇总标准新增
|
|
113
|
+
* @param {EnergyCostSettingSummyAddDTO} energyCostSettingSummyAddDTO
|
|
160
114
|
* @param {*} [options] Override http request option.
|
|
161
115
|
* @throws {RequiredError}
|
|
162
116
|
*/
|
|
163
|
-
|
|
164
|
-
// verify required parameter '
|
|
165
|
-
assertParamExists('
|
|
166
|
-
const localVarPath = `/gizone/energy/cost/
|
|
117
|
+
energyCostMonthSettingSummaryAdd: (energyCostSettingSummyAddDTO_1, ...args_1) => __awaiter(this, [energyCostSettingSummyAddDTO_1, ...args_1], void 0, function* (energyCostSettingSummyAddDTO, options = {}) {
|
|
118
|
+
// verify required parameter 'energyCostSettingSummyAddDTO' is not null or undefined
|
|
119
|
+
assertParamExists('energyCostMonthSettingSummaryAdd', 'energyCostSettingSummyAddDTO', energyCostSettingSummyAddDTO);
|
|
120
|
+
const localVarPath = `/gizone/energy/cost/month/setting/summaryStandards`;
|
|
167
121
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
168
122
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
169
123
|
let baseOptions;
|
|
@@ -180,7 +134,7 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration)
|
|
|
180
134
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
181
135
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
182
136
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
183
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
137
|
+
localVarRequestOptions.data = serializeDataIfNeeded(energyCostSettingSummyAddDTO, localVarRequestOptions, configuration);
|
|
184
138
|
return {
|
|
185
139
|
url: toPathString(localVarUrlObj),
|
|
186
140
|
options: localVarRequestOptions,
|
|
@@ -188,83 +142,17 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration)
|
|
|
188
142
|
}),
|
|
189
143
|
/**
|
|
190
144
|
*
|
|
191
|
-
* @summary
|
|
192
|
-
* @param {
|
|
193
|
-
* @param {*} [options] Override http request option.
|
|
194
|
-
* @throws {RequiredError}
|
|
195
|
-
*/
|
|
196
|
-
energyCostAddRecordSubmit: (energyCostAddRecordDTO_1, ...args_1) => __awaiter(this, [energyCostAddRecordDTO_1, ...args_1], void 0, function* (energyCostAddRecordDTO, options = {}) {
|
|
197
|
-
// verify required parameter 'energyCostAddRecordDTO' is not null or undefined
|
|
198
|
-
assertParamExists('energyCostAddRecordSubmit', 'energyCostAddRecordDTO', energyCostAddRecordDTO);
|
|
199
|
-
const localVarPath = `/gizone/energy/cost/record/submit`;
|
|
200
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
201
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
202
|
-
let baseOptions;
|
|
203
|
-
if (configuration) {
|
|
204
|
-
baseOptions = configuration.baseOptions;
|
|
205
|
-
}
|
|
206
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
207
|
-
const localVarHeaderParameter = {};
|
|
208
|
-
const localVarQueryParameter = {};
|
|
209
|
-
// authentication tokenScheme required
|
|
210
|
-
// http bearer authentication required
|
|
211
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
212
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
213
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
214
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
215
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
216
|
-
localVarRequestOptions.data = serializeDataIfNeeded(energyCostAddRecordDTO, localVarRequestOptions, configuration);
|
|
217
|
-
return {
|
|
218
|
-
url: toPathString(localVarUrlObj),
|
|
219
|
-
options: localVarRequestOptions,
|
|
220
|
-
};
|
|
221
|
-
}),
|
|
222
|
-
/**
|
|
223
|
-
*
|
|
224
|
-
* @summary 新增能源费用管理设置-单条新增
|
|
225
|
-
* @param {EnergyCostAddSettingDTO} energyCostAddSettingDTO
|
|
226
|
-
* @param {*} [options] Override http request option.
|
|
227
|
-
* @throws {RequiredError}
|
|
228
|
-
*/
|
|
229
|
-
energyCostMonthSettingAdd: (energyCostAddSettingDTO_1, ...args_1) => __awaiter(this, [energyCostAddSettingDTO_1, ...args_1], void 0, function* (energyCostAddSettingDTO, options = {}) {
|
|
230
|
-
// verify required parameter 'energyCostAddSettingDTO' is not null or undefined
|
|
231
|
-
assertParamExists('energyCostMonthSettingAdd', 'energyCostAddSettingDTO', energyCostAddSettingDTO);
|
|
232
|
-
const localVarPath = `/gizone/energy/cost/month/setting`;
|
|
233
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
234
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
235
|
-
let baseOptions;
|
|
236
|
-
if (configuration) {
|
|
237
|
-
baseOptions = configuration.baseOptions;
|
|
238
|
-
}
|
|
239
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
240
|
-
const localVarHeaderParameter = {};
|
|
241
|
-
const localVarQueryParameter = {};
|
|
242
|
-
// authentication tokenScheme required
|
|
243
|
-
// http bearer authentication required
|
|
244
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
245
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
246
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
247
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
248
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
249
|
-
localVarRequestOptions.data = serializeDataIfNeeded(energyCostAddSettingDTO, localVarRequestOptions, configuration);
|
|
250
|
-
return {
|
|
251
|
-
url: toPathString(localVarUrlObj),
|
|
252
|
-
options: localVarRequestOptions,
|
|
253
|
-
};
|
|
254
|
-
}),
|
|
255
|
-
/**
|
|
256
|
-
*
|
|
257
|
-
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
258
|
-
* @param {EnergyCostMonthSettingListEnergyTypeEnum} energyType
|
|
145
|
+
* @summary 新增能源费用管理设置-列表-查询园区汇总标准
|
|
146
|
+
* @param {EnergyCostMonthSettingSummaryListEnergyTypeEnum} energyType
|
|
259
147
|
* @param {string} [startTime]
|
|
260
148
|
* @param {string} [endTime]
|
|
261
149
|
* @param {*} [options] Override http request option.
|
|
262
150
|
* @throws {RequiredError}
|
|
263
151
|
*/
|
|
264
|
-
|
|
152
|
+
energyCostMonthSettingSummaryList: (energyType_1, startTime_1, endTime_1, ...args_1) => __awaiter(this, [energyType_1, startTime_1, endTime_1, ...args_1], void 0, function* (energyType, startTime, endTime, options = {}) {
|
|
265
153
|
// verify required parameter 'energyType' is not null or undefined
|
|
266
|
-
assertParamExists('
|
|
267
|
-
const localVarPath = `/gizone/energy/cost/month/setting`;
|
|
154
|
+
assertParamExists('energyCostMonthSettingSummaryList', 'energyType', energyType);
|
|
155
|
+
const localVarPath = `/gizone/energy/cost/month/setting/summaryStandards`;
|
|
268
156
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
269
157
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
270
158
|
let baseOptions;
|
|
@@ -296,15 +184,15 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration)
|
|
|
296
184
|
}),
|
|
297
185
|
/**
|
|
298
186
|
*
|
|
299
|
-
* @summary
|
|
300
|
-
* @param {
|
|
187
|
+
* @summary 新增能源费用管理设置-园区汇总标准修改
|
|
188
|
+
* @param {EnergyCostSettingSummyUpdateDTO} energyCostSettingSummyUpdateDTO
|
|
301
189
|
* @param {*} [options] Override http request option.
|
|
302
190
|
* @throws {RequiredError}
|
|
303
191
|
*/
|
|
304
|
-
|
|
305
|
-
// verify required parameter '
|
|
306
|
-
assertParamExists('
|
|
307
|
-
const localVarPath = `/gizone/energy/cost/month/setting`;
|
|
192
|
+
energyCostMonthSettingSummaryUpdate: (energyCostSettingSummyUpdateDTO_1, ...args_1) => __awaiter(this, [energyCostSettingSummyUpdateDTO_1, ...args_1], void 0, function* (energyCostSettingSummyUpdateDTO, options = {}) {
|
|
193
|
+
// verify required parameter 'energyCostSettingSummyUpdateDTO' is not null or undefined
|
|
194
|
+
assertParamExists('energyCostMonthSettingSummaryUpdate', 'energyCostSettingSummyUpdateDTO', energyCostSettingSummyUpdateDTO);
|
|
195
|
+
const localVarPath = `/gizone/energy/cost/month/setting/summaryStandards`;
|
|
308
196
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
309
197
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
310
198
|
let baseOptions;
|
|
@@ -321,7 +209,7 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration)
|
|
|
321
209
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
322
210
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
323
211
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
324
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
212
|
+
localVarRequestOptions.data = serializeDataIfNeeded(energyCostSettingSummyUpdateDTO, localVarRequestOptions, configuration);
|
|
325
213
|
return {
|
|
326
214
|
url: toPathString(localVarUrlObj),
|
|
327
215
|
options: localVarRequestOptions,
|
|
@@ -329,31 +217,32 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration)
|
|
|
329
217
|
}),
|
|
330
218
|
/**
|
|
331
219
|
*
|
|
332
|
-
* @summary
|
|
333
|
-
* @param {
|
|
220
|
+
* @summary 新增能源费用管理设置-单条修改
|
|
221
|
+
* @param {EnergyCostUpdateSettingDTO} energyCostUpdateSettingDTO
|
|
334
222
|
* @param {*} [options] Override http request option.
|
|
335
223
|
* @throws {RequiredError}
|
|
336
224
|
*/
|
|
337
|
-
|
|
338
|
-
|
|
225
|
+
energyCostMonthSettingUpdate: (energyCostUpdateSettingDTO_1, ...args_1) => __awaiter(this, [energyCostUpdateSettingDTO_1, ...args_1], void 0, function* (energyCostUpdateSettingDTO, options = {}) {
|
|
226
|
+
// verify required parameter 'energyCostUpdateSettingDTO' is not null or undefined
|
|
227
|
+
assertParamExists('energyCostMonthSettingUpdate', 'energyCostUpdateSettingDTO', energyCostUpdateSettingDTO);
|
|
228
|
+
const localVarPath = `/gizone/energy/cost/month/setting`;
|
|
339
229
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
340
230
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
341
231
|
let baseOptions;
|
|
342
232
|
if (configuration) {
|
|
343
233
|
baseOptions = configuration.baseOptions;
|
|
344
234
|
}
|
|
345
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
235
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
346
236
|
const localVarHeaderParameter = {};
|
|
347
237
|
const localVarQueryParameter = {};
|
|
348
238
|
// authentication tokenScheme required
|
|
349
239
|
// http bearer authentication required
|
|
350
240
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
351
|
-
|
|
352
|
-
localVarQueryParameter['type'] = type;
|
|
353
|
-
}
|
|
241
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
354
242
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
355
243
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
356
244
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
245
|
+
localVarRequestOptions.data = serializeDataIfNeeded(energyCostUpdateSettingDTO, localVarRequestOptions, configuration);
|
|
357
246
|
return {
|
|
358
247
|
url: toPathString(localVarUrlObj),
|
|
359
248
|
options: localVarRequestOptions,
|
|
@@ -370,121 +259,85 @@ export const EnergyCostControllerApiFp = function (configuration) {
|
|
|
370
259
|
return {
|
|
371
260
|
/**
|
|
372
261
|
*
|
|
373
|
-
* @summary
|
|
374
|
-
* @param {
|
|
375
|
-
* @param {*} [options] Override http request option.
|
|
376
|
-
* @throws {RequiredError}
|
|
377
|
-
*/
|
|
378
|
-
energyCostAddRecordDetail(id, options) {
|
|
379
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
380
|
-
var _a, _b, _c;
|
|
381
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordDetail(id, options);
|
|
382
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
383
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostAddRecordDetail']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
384
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
385
|
-
});
|
|
386
|
-
},
|
|
387
|
-
/**
|
|
388
|
-
*
|
|
389
|
-
* @summary 新增能源消耗-录入保存为草稿
|
|
390
|
-
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
262
|
+
* @summary 新增能源费用管理设置-单条新增
|
|
263
|
+
* @param {EnergyCostAddSettingDTO} energyCostAddSettingDTO
|
|
391
264
|
* @param {*} [options] Override http request option.
|
|
392
265
|
* @throws {RequiredError}
|
|
393
266
|
*/
|
|
394
|
-
|
|
267
|
+
energyCostMonthSettingAdd(energyCostAddSettingDTO, options) {
|
|
395
268
|
return __awaiter(this, void 0, void 0, function* () {
|
|
396
269
|
var _a, _b, _c;
|
|
397
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
270
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingAdd(energyCostAddSettingDTO, options);
|
|
398
271
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
399
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.
|
|
272
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostMonthSettingAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
400
273
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
401
274
|
});
|
|
402
275
|
},
|
|
403
276
|
/**
|
|
404
277
|
*
|
|
405
|
-
* @summary
|
|
406
|
-
* @param {
|
|
407
|
-
* @param {number} [size]
|
|
408
|
-
* @param {string} [billCode]
|
|
278
|
+
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
279
|
+
* @param {EnergyCostMonthSettingListEnergyTypeEnum} energyType
|
|
409
280
|
* @param {string} [startTime]
|
|
410
281
|
* @param {string} [endTime]
|
|
411
|
-
* @param {EnergyCostAddRecordListEnergyTypeEnum} [energyType]
|
|
412
|
-
* @param {number} [status]
|
|
413
|
-
* @param {*} [options] Override http request option.
|
|
414
|
-
* @throws {RequiredError}
|
|
415
|
-
*/
|
|
416
|
-
energyCostAddRecordList(page, size, billCode, startTime, endTime, energyType, status, options) {
|
|
417
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
418
|
-
var _a, _b, _c;
|
|
419
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordList(page, size, billCode, startTime, endTime, energyType, status, options);
|
|
420
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
421
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostAddRecordList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
422
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
423
|
-
});
|
|
424
|
-
},
|
|
425
|
-
/**
|
|
426
|
-
*
|
|
427
|
-
* @summary 新增能源消耗-next
|
|
428
|
-
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
429
282
|
* @param {*} [options] Override http request option.
|
|
430
283
|
* @throws {RequiredError}
|
|
431
284
|
*/
|
|
432
|
-
|
|
285
|
+
energyCostMonthSettingList(energyType, startTime, endTime, options) {
|
|
433
286
|
return __awaiter(this, void 0, void 0, function* () {
|
|
434
287
|
var _a, _b, _c;
|
|
435
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
288
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingList(energyType, startTime, endTime, options);
|
|
436
289
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
437
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.
|
|
290
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostMonthSettingList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
438
291
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
439
292
|
});
|
|
440
293
|
},
|
|
441
294
|
/**
|
|
442
295
|
*
|
|
443
|
-
* @summary
|
|
444
|
-
* @param {
|
|
296
|
+
* @summary 新增能源费用管理设置-园区汇总标准新增
|
|
297
|
+
* @param {EnergyCostSettingSummyAddDTO} energyCostSettingSummyAddDTO
|
|
445
298
|
* @param {*} [options] Override http request option.
|
|
446
299
|
* @throws {RequiredError}
|
|
447
300
|
*/
|
|
448
|
-
|
|
301
|
+
energyCostMonthSettingSummaryAdd(energyCostSettingSummyAddDTO, options) {
|
|
449
302
|
return __awaiter(this, void 0, void 0, function* () {
|
|
450
303
|
var _a, _b, _c;
|
|
451
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
304
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingSummaryAdd(energyCostSettingSummyAddDTO, options);
|
|
452
305
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
453
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.
|
|
306
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostMonthSettingSummaryAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
454
307
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
455
308
|
});
|
|
456
309
|
},
|
|
457
310
|
/**
|
|
458
311
|
*
|
|
459
|
-
* @summary
|
|
460
|
-
* @param {
|
|
312
|
+
* @summary 新增能源费用管理设置-列表-查询园区汇总标准
|
|
313
|
+
* @param {EnergyCostMonthSettingSummaryListEnergyTypeEnum} energyType
|
|
314
|
+
* @param {string} [startTime]
|
|
315
|
+
* @param {string} [endTime]
|
|
461
316
|
* @param {*} [options] Override http request option.
|
|
462
317
|
* @throws {RequiredError}
|
|
463
318
|
*/
|
|
464
|
-
|
|
319
|
+
energyCostMonthSettingSummaryList(energyType, startTime, endTime, options) {
|
|
465
320
|
return __awaiter(this, void 0, void 0, function* () {
|
|
466
321
|
var _a, _b, _c;
|
|
467
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
322
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingSummaryList(energyType, startTime, endTime, options);
|
|
468
323
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
469
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.
|
|
324
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostMonthSettingSummaryList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
470
325
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
471
326
|
});
|
|
472
327
|
},
|
|
473
328
|
/**
|
|
474
329
|
*
|
|
475
|
-
* @summary
|
|
476
|
-
* @param {
|
|
477
|
-
* @param {string} [startTime]
|
|
478
|
-
* @param {string} [endTime]
|
|
330
|
+
* @summary 新增能源费用管理设置-园区汇总标准修改
|
|
331
|
+
* @param {EnergyCostSettingSummyUpdateDTO} energyCostSettingSummyUpdateDTO
|
|
479
332
|
* @param {*} [options] Override http request option.
|
|
480
333
|
* @throws {RequiredError}
|
|
481
334
|
*/
|
|
482
|
-
|
|
335
|
+
energyCostMonthSettingSummaryUpdate(energyCostSettingSummyUpdateDTO, options) {
|
|
483
336
|
return __awaiter(this, void 0, void 0, function* () {
|
|
484
337
|
var _a, _b, _c;
|
|
485
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
338
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingSummaryUpdate(energyCostSettingSummyUpdateDTO, options);
|
|
486
339
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
487
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.
|
|
340
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostMonthSettingSummaryUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
488
341
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
489
342
|
});
|
|
490
343
|
},
|
|
@@ -504,22 +357,6 @@ export const EnergyCostControllerApiFp = function (configuration) {
|
|
|
504
357
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
505
358
|
});
|
|
506
359
|
},
|
|
507
|
-
/**
|
|
508
|
-
*
|
|
509
|
-
* @summary 获取下拉框内容
|
|
510
|
-
* @param {string} [type] 能源类型<energyType> 账单来源(类型电)<billSourceElectric> 账单来源(类型水)<billSourceWater> 单价类型 <pricingTypeEnum>
|
|
511
|
-
* @param {*} [options] Override http request option.
|
|
512
|
-
* @throws {RequiredError}
|
|
513
|
-
*/
|
|
514
|
-
getOptions(type, options) {
|
|
515
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
516
|
-
var _a, _b, _c;
|
|
517
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOptions(type, options);
|
|
518
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
519
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.getOptions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
520
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
521
|
-
});
|
|
522
|
-
},
|
|
523
360
|
};
|
|
524
361
|
};
|
|
525
362
|
/**
|
|
@@ -531,73 +368,53 @@ export const EnergyCostControllerApiFactory = function (configuration, basePath,
|
|
|
531
368
|
return {
|
|
532
369
|
/**
|
|
533
370
|
*
|
|
534
|
-
* @summary
|
|
535
|
-
* @param {
|
|
536
|
-
* @param {*} [options] Override http request option.
|
|
537
|
-
* @throws {RequiredError}
|
|
538
|
-
*/
|
|
539
|
-
energyCostAddRecordDetail(requestParameters, options) {
|
|
540
|
-
return localVarFp.energyCostAddRecordDetail(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
541
|
-
},
|
|
542
|
-
/**
|
|
543
|
-
*
|
|
544
|
-
* @summary 新增能源消耗-录入保存为草稿
|
|
545
|
-
* @param {EnergyCostControllerApiEnergyCostAddRecordInputDraftRequest} requestParameters Request parameters.
|
|
546
|
-
* @param {*} [options] Override http request option.
|
|
547
|
-
* @throws {RequiredError}
|
|
548
|
-
*/
|
|
549
|
-
energyCostAddRecordInputDraft(requestParameters, options) {
|
|
550
|
-
return localVarFp.energyCostAddRecordInputDraft(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
|
|
551
|
-
},
|
|
552
|
-
/**
|
|
553
|
-
*
|
|
554
|
-
* @summary 新增能源消耗-列表
|
|
555
|
-
* @param {EnergyCostControllerApiEnergyCostAddRecordListRequest} requestParameters Request parameters.
|
|
371
|
+
* @summary 新增能源费用管理设置-单条新增
|
|
372
|
+
* @param {EnergyCostControllerApiEnergyCostMonthSettingAddRequest} requestParameters Request parameters.
|
|
556
373
|
* @param {*} [options] Override http request option.
|
|
557
374
|
* @throws {RequiredError}
|
|
558
375
|
*/
|
|
559
|
-
|
|
560
|
-
return localVarFp.
|
|
376
|
+
energyCostMonthSettingAdd(requestParameters, options) {
|
|
377
|
+
return localVarFp.energyCostMonthSettingAdd(requestParameters.energyCostAddSettingDTO, options).then((request) => request(axios, basePath));
|
|
561
378
|
},
|
|
562
379
|
/**
|
|
563
380
|
*
|
|
564
|
-
* @summary
|
|
565
|
-
* @param {
|
|
381
|
+
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
382
|
+
* @param {EnergyCostControllerApiEnergyCostMonthSettingListRequest} requestParameters Request parameters.
|
|
566
383
|
* @param {*} [options] Override http request option.
|
|
567
384
|
* @throws {RequiredError}
|
|
568
385
|
*/
|
|
569
|
-
|
|
570
|
-
return localVarFp.
|
|
386
|
+
energyCostMonthSettingList(requestParameters, options) {
|
|
387
|
+
return localVarFp.energyCostMonthSettingList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(axios, basePath));
|
|
571
388
|
},
|
|
572
389
|
/**
|
|
573
390
|
*
|
|
574
|
-
* @summary
|
|
575
|
-
* @param {
|
|
391
|
+
* @summary 新增能源费用管理设置-园区汇总标准新增
|
|
392
|
+
* @param {EnergyCostControllerApiEnergyCostMonthSettingSummaryAddRequest} requestParameters Request parameters.
|
|
576
393
|
* @param {*} [options] Override http request option.
|
|
577
394
|
* @throws {RequiredError}
|
|
578
395
|
*/
|
|
579
|
-
|
|
580
|
-
return localVarFp.
|
|
396
|
+
energyCostMonthSettingSummaryAdd(requestParameters, options) {
|
|
397
|
+
return localVarFp.energyCostMonthSettingSummaryAdd(requestParameters.energyCostSettingSummyAddDTO, options).then((request) => request(axios, basePath));
|
|
581
398
|
},
|
|
582
399
|
/**
|
|
583
400
|
*
|
|
584
|
-
* @summary
|
|
585
|
-
* @param {
|
|
401
|
+
* @summary 新增能源费用管理设置-列表-查询园区汇总标准
|
|
402
|
+
* @param {EnergyCostControllerApiEnergyCostMonthSettingSummaryListRequest} requestParameters Request parameters.
|
|
586
403
|
* @param {*} [options] Override http request option.
|
|
587
404
|
* @throws {RequiredError}
|
|
588
405
|
*/
|
|
589
|
-
|
|
590
|
-
return localVarFp.
|
|
406
|
+
energyCostMonthSettingSummaryList(requestParameters, options) {
|
|
407
|
+
return localVarFp.energyCostMonthSettingSummaryList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(axios, basePath));
|
|
591
408
|
},
|
|
592
409
|
/**
|
|
593
410
|
*
|
|
594
|
-
* @summary
|
|
595
|
-
* @param {
|
|
411
|
+
* @summary 新增能源费用管理设置-园区汇总标准修改
|
|
412
|
+
* @param {EnergyCostControllerApiEnergyCostMonthSettingSummaryUpdateRequest} requestParameters Request parameters.
|
|
596
413
|
* @param {*} [options] Override http request option.
|
|
597
414
|
* @throws {RequiredError}
|
|
598
415
|
*/
|
|
599
|
-
|
|
600
|
-
return localVarFp.
|
|
416
|
+
energyCostMonthSettingSummaryUpdate(requestParameters, options) {
|
|
417
|
+
return localVarFp.energyCostMonthSettingSummaryUpdate(requestParameters.energyCostSettingSummyUpdateDTO, options).then((request) => request(axios, basePath));
|
|
601
418
|
},
|
|
602
419
|
/**
|
|
603
420
|
*
|
|
@@ -609,16 +426,6 @@ export const EnergyCostControllerApiFactory = function (configuration, basePath,
|
|
|
609
426
|
energyCostMonthSettingUpdate(requestParameters, options) {
|
|
610
427
|
return localVarFp.energyCostMonthSettingUpdate(requestParameters.energyCostUpdateSettingDTO, options).then((request) => request(axios, basePath));
|
|
611
428
|
},
|
|
612
|
-
/**
|
|
613
|
-
*
|
|
614
|
-
* @summary 获取下拉框内容
|
|
615
|
-
* @param {EnergyCostControllerApiGetOptionsRequest} requestParameters Request parameters.
|
|
616
|
-
* @param {*} [options] Override http request option.
|
|
617
|
-
* @throws {RequiredError}
|
|
618
|
-
*/
|
|
619
|
-
getOptions(requestParameters = {}, options) {
|
|
620
|
-
return localVarFp.getOptions(requestParameters.type, options).then((request) => request(axios, basePath));
|
|
621
|
-
},
|
|
622
429
|
};
|
|
623
430
|
};
|
|
624
431
|
/**
|
|
@@ -630,80 +437,58 @@ export const EnergyCostControllerApiFactory = function (configuration, basePath,
|
|
|
630
437
|
export class EnergyCostControllerApi extends BaseAPI {
|
|
631
438
|
/**
|
|
632
439
|
*
|
|
633
|
-
* @summary
|
|
634
|
-
* @param {
|
|
635
|
-
* @param {*} [options] Override http request option.
|
|
636
|
-
* @throws {RequiredError}
|
|
637
|
-
* @memberof EnergyCostControllerApi
|
|
638
|
-
*/
|
|
639
|
-
energyCostAddRecordDetail(requestParameters, options) {
|
|
640
|
-
return EnergyCostControllerApiFp(this.configuration).energyCostAddRecordDetail(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
641
|
-
}
|
|
642
|
-
/**
|
|
643
|
-
*
|
|
644
|
-
* @summary 新增能源消耗-录入保存为草稿
|
|
645
|
-
* @param {EnergyCostControllerApiEnergyCostAddRecordInputDraftRequest} requestParameters Request parameters.
|
|
646
|
-
* @param {*} [options] Override http request option.
|
|
647
|
-
* @throws {RequiredError}
|
|
648
|
-
* @memberof EnergyCostControllerApi
|
|
649
|
-
*/
|
|
650
|
-
energyCostAddRecordInputDraft(requestParameters, options) {
|
|
651
|
-
return EnergyCostControllerApiFp(this.configuration).energyCostAddRecordInputDraft(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
|
|
652
|
-
}
|
|
653
|
-
/**
|
|
654
|
-
*
|
|
655
|
-
* @summary 新增能源消耗-列表
|
|
656
|
-
* @param {EnergyCostControllerApiEnergyCostAddRecordListRequest} requestParameters Request parameters.
|
|
440
|
+
* @summary 新增能源费用管理设置-单条新增
|
|
441
|
+
* @param {EnergyCostControllerApiEnergyCostMonthSettingAddRequest} requestParameters Request parameters.
|
|
657
442
|
* @param {*} [options] Override http request option.
|
|
658
443
|
* @throws {RequiredError}
|
|
659
444
|
* @memberof EnergyCostControllerApi
|
|
660
445
|
*/
|
|
661
|
-
|
|
662
|
-
return EnergyCostControllerApiFp(this.configuration).
|
|
446
|
+
energyCostMonthSettingAdd(requestParameters, options) {
|
|
447
|
+
return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingAdd(requestParameters.energyCostAddSettingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
663
448
|
}
|
|
664
449
|
/**
|
|
665
450
|
*
|
|
666
|
-
* @summary
|
|
667
|
-
* @param {
|
|
451
|
+
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
452
|
+
* @param {EnergyCostControllerApiEnergyCostMonthSettingListRequest} requestParameters Request parameters.
|
|
668
453
|
* @param {*} [options] Override http request option.
|
|
669
454
|
* @throws {RequiredError}
|
|
670
455
|
* @memberof EnergyCostControllerApi
|
|
671
456
|
*/
|
|
672
|
-
|
|
673
|
-
return EnergyCostControllerApiFp(this.configuration).
|
|
457
|
+
energyCostMonthSettingList(requestParameters, options) {
|
|
458
|
+
return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(this.axios, this.basePath));
|
|
674
459
|
}
|
|
675
460
|
/**
|
|
676
461
|
*
|
|
677
|
-
* @summary
|
|
678
|
-
* @param {
|
|
462
|
+
* @summary 新增能源费用管理设置-园区汇总标准新增
|
|
463
|
+
* @param {EnergyCostControllerApiEnergyCostMonthSettingSummaryAddRequest} requestParameters Request parameters.
|
|
679
464
|
* @param {*} [options] Override http request option.
|
|
680
465
|
* @throws {RequiredError}
|
|
681
466
|
* @memberof EnergyCostControllerApi
|
|
682
467
|
*/
|
|
683
|
-
|
|
684
|
-
return EnergyCostControllerApiFp(this.configuration).
|
|
468
|
+
energyCostMonthSettingSummaryAdd(requestParameters, options) {
|
|
469
|
+
return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingSummaryAdd(requestParameters.energyCostSettingSummyAddDTO, options).then((request) => request(this.axios, this.basePath));
|
|
685
470
|
}
|
|
686
471
|
/**
|
|
687
472
|
*
|
|
688
|
-
* @summary
|
|
689
|
-
* @param {
|
|
473
|
+
* @summary 新增能源费用管理设置-列表-查询园区汇总标准
|
|
474
|
+
* @param {EnergyCostControllerApiEnergyCostMonthSettingSummaryListRequest} requestParameters Request parameters.
|
|
690
475
|
* @param {*} [options] Override http request option.
|
|
691
476
|
* @throws {RequiredError}
|
|
692
477
|
* @memberof EnergyCostControllerApi
|
|
693
478
|
*/
|
|
694
|
-
|
|
695
|
-
return EnergyCostControllerApiFp(this.configuration).
|
|
479
|
+
energyCostMonthSettingSummaryList(requestParameters, options) {
|
|
480
|
+
return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingSummaryList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(this.axios, this.basePath));
|
|
696
481
|
}
|
|
697
482
|
/**
|
|
698
483
|
*
|
|
699
|
-
* @summary
|
|
700
|
-
* @param {
|
|
484
|
+
* @summary 新增能源费用管理设置-园区汇总标准修改
|
|
485
|
+
* @param {EnergyCostControllerApiEnergyCostMonthSettingSummaryUpdateRequest} requestParameters Request parameters.
|
|
701
486
|
* @param {*} [options] Override http request option.
|
|
702
487
|
* @throws {RequiredError}
|
|
703
488
|
* @memberof EnergyCostControllerApi
|
|
704
489
|
*/
|
|
705
|
-
|
|
706
|
-
return EnergyCostControllerApiFp(this.configuration).
|
|
490
|
+
energyCostMonthSettingSummaryUpdate(requestParameters, options) {
|
|
491
|
+
return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingSummaryUpdate(requestParameters.energyCostSettingSummyUpdateDTO, options).then((request) => request(this.axios, this.basePath));
|
|
707
492
|
}
|
|
708
493
|
/**
|
|
709
494
|
*
|
|
@@ -716,29 +501,18 @@ export class EnergyCostControllerApi extends BaseAPI {
|
|
|
716
501
|
energyCostMonthSettingUpdate(requestParameters, options) {
|
|
717
502
|
return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingUpdate(requestParameters.energyCostUpdateSettingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
718
503
|
}
|
|
719
|
-
/**
|
|
720
|
-
*
|
|
721
|
-
* @summary 获取下拉框内容
|
|
722
|
-
* @param {EnergyCostControllerApiGetOptionsRequest} requestParameters Request parameters.
|
|
723
|
-
* @param {*} [options] Override http request option.
|
|
724
|
-
* @throws {RequiredError}
|
|
725
|
-
* @memberof EnergyCostControllerApi
|
|
726
|
-
*/
|
|
727
|
-
getOptions(requestParameters = {}, options) {
|
|
728
|
-
return EnergyCostControllerApiFp(this.configuration).getOptions(requestParameters.type, options).then((request) => request(this.axios, this.basePath));
|
|
729
|
-
}
|
|
730
504
|
}
|
|
731
505
|
/**
|
|
732
506
|
* @export
|
|
733
507
|
*/
|
|
734
|
-
export const
|
|
508
|
+
export const EnergyCostMonthSettingListEnergyTypeEnum = {
|
|
735
509
|
Electric: 'ELECTRIC',
|
|
736
510
|
Water: 'WATER'
|
|
737
511
|
};
|
|
738
512
|
/**
|
|
739
513
|
* @export
|
|
740
514
|
*/
|
|
741
|
-
export const
|
|
515
|
+
export const EnergyCostMonthSettingSummaryListEnergyTypeEnum = {
|
|
742
516
|
Electric: 'ELECTRIC',
|
|
743
517
|
Water: 'WATER'
|
|
744
518
|
};
|