@gizone/rrs-client 4.2.9-alpha.548 → 4.2.9-alpha.550
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 +3 -0
- package/apis/energy-cost-record-controller-api.ts +224 -14
- package/dist/apis/energy-cost-record-controller-api.d.ts +117 -7
- package/dist/apis/energy-cost-record-controller-api.js +164 -13
- package/dist/esm/apis/energy-cost-record-controller-api.d.ts +117 -7
- package/dist/esm/apis/energy-cost-record-controller-api.js +164 -13
- package/dist/esm/models/energy-cost-edit-record-dto.d.ts +173 -0
- package/dist/esm/models/energy-cost-edit-record-dto.js +36 -0
- package/dist/esm/models/energy-cost-record-bill-info-vo.d.ts +48 -0
- package/dist/esm/models/energy-cost-record-bill-info-vo.js +14 -0
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/esm/models/ipage-energy-cost-record-info-vo.d.ts +4 -4
- package/dist/esm/models/json-result-energy-cost-record-bill-info-vo.d.ts +62 -0
- package/dist/esm/models/json-result-energy-cost-record-bill-info-vo.js +14 -0
- package/dist/esm/models/sys-user.d.ts +4 -4
- package/dist/models/energy-cost-edit-record-dto.d.ts +173 -0
- package/dist/models/energy-cost-edit-record-dto.js +39 -0
- package/dist/models/energy-cost-record-bill-info-vo.d.ts +48 -0
- package/dist/models/energy-cost-record-bill-info-vo.js +15 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/ipage-energy-cost-record-info-vo.d.ts +4 -4
- package/dist/models/json-result-energy-cost-record-bill-info-vo.d.ts +62 -0
- package/dist/models/json-result-energy-cost-record-bill-info-vo.js +15 -0
- package/dist/models/sys-user.d.ts +4 -4
- package/models/energy-cost-edit-record-dto.ts +189 -0
- package/models/energy-cost-record-bill-info-vo.ts +54 -0
- package/models/index.ts +3 -0
- package/models/ipage-energy-cost-record-info-vo.ts +4 -4
- package/models/json-result-energy-cost-record-bill-info-vo.ts +72 -0
- package/models/sys-user.ts +4 -4
- package/ossutil.log +1077 -1071
- package/package.json +1 -1
|
@@ -36,17 +36,50 @@ const base_1 = require("../base");
|
|
|
36
36
|
const EnergyCostRecordControllerApiAxiosParamCreator = function (configuration) {
|
|
37
37
|
return {
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
40
|
-
* @summary
|
|
39
|
+
* 获取园区用量,账单时间
|
|
40
|
+
* @summary 新增能源消耗-获取账单园区基本信息
|
|
41
41
|
* @param {number} id
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
43
43
|
* @throws {RequiredError}
|
|
44
44
|
*/
|
|
45
|
-
|
|
45
|
+
billBaseInfo: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
46
46
|
// verify required parameter 'id' is not null or undefined
|
|
47
|
-
(0, common_1.assertParamExists)('
|
|
48
|
-
const localVarPath = `/gizone/energy/cost/record/
|
|
49
|
-
|
|
47
|
+
(0, common_1.assertParamExists)('billBaseInfo', 'id', id);
|
|
48
|
+
const localVarPath = `/gizone/energy/cost/record/billBaseInfo`;
|
|
49
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
51
|
+
let baseOptions;
|
|
52
|
+
if (configuration) {
|
|
53
|
+
baseOptions = configuration.baseOptions;
|
|
54
|
+
}
|
|
55
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
56
|
+
const localVarHeaderParameter = {};
|
|
57
|
+
const localVarQueryParameter = {};
|
|
58
|
+
// authentication tokenScheme required
|
|
59
|
+
// http bearer authentication required
|
|
60
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
61
|
+
if (id !== undefined) {
|
|
62
|
+
localVarQueryParameter['id'] = id;
|
|
63
|
+
}
|
|
64
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
65
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
66
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
67
|
+
return {
|
|
68
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
69
|
+
options: localVarRequestOptions,
|
|
70
|
+
};
|
|
71
|
+
}),
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @summary 新增能源消耗-返回详情
|
|
75
|
+
* @param {number} [id]
|
|
76
|
+
* @param {number} [billId]
|
|
77
|
+
* @param {string} [billCode]
|
|
78
|
+
* @param {*} [options] Override http request option.
|
|
79
|
+
* @throws {RequiredError}
|
|
80
|
+
*/
|
|
81
|
+
energyCostAddRecordDetail: (id_1, billId_1, billCode_1, ...args_1) => __awaiter(this, [id_1, billId_1, billCode_1, ...args_1], void 0, function* (id, billId, billCode, options = {}) {
|
|
82
|
+
const localVarPath = `/gizone/energy/cost/record/detail`;
|
|
50
83
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51
84
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
52
85
|
let baseOptions;
|
|
@@ -59,6 +92,15 @@ const EnergyCostRecordControllerApiAxiosParamCreator = function (configuration)
|
|
|
59
92
|
// authentication tokenScheme required
|
|
60
93
|
// http bearer authentication required
|
|
61
94
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
95
|
+
if (id !== undefined) {
|
|
96
|
+
localVarQueryParameter['id'] = id;
|
|
97
|
+
}
|
|
98
|
+
if (billId !== undefined) {
|
|
99
|
+
localVarQueryParameter['billId'] = billId;
|
|
100
|
+
}
|
|
101
|
+
if (billCode !== undefined) {
|
|
102
|
+
localVarQueryParameter['billCode'] = billCode;
|
|
103
|
+
}
|
|
62
104
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
63
105
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64
106
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -222,6 +264,39 @@ const EnergyCostRecordControllerApiAxiosParamCreator = function (configuration)
|
|
|
222
264
|
options: localVarRequestOptions,
|
|
223
265
|
};
|
|
224
266
|
}),
|
|
267
|
+
/**
|
|
268
|
+
*
|
|
269
|
+
* @summary 编辑能源消耗
|
|
270
|
+
* @param {EnergyCostEditRecordDTO} energyCostEditRecordDTO
|
|
271
|
+
* @param {*} [options] Override http request option.
|
|
272
|
+
* @throws {RequiredError}
|
|
273
|
+
*/
|
|
274
|
+
energyCostEditRecord: (energyCostEditRecordDTO_1, ...args_1) => __awaiter(this, [energyCostEditRecordDTO_1, ...args_1], void 0, function* (energyCostEditRecordDTO, options = {}) {
|
|
275
|
+
// verify required parameter 'energyCostEditRecordDTO' is not null or undefined
|
|
276
|
+
(0, common_1.assertParamExists)('energyCostEditRecord', 'energyCostEditRecordDTO', energyCostEditRecordDTO);
|
|
277
|
+
const localVarPath = `/gizone/energy/cost/record/edit`;
|
|
278
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
279
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
280
|
+
let baseOptions;
|
|
281
|
+
if (configuration) {
|
|
282
|
+
baseOptions = configuration.baseOptions;
|
|
283
|
+
}
|
|
284
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
285
|
+
const localVarHeaderParameter = {};
|
|
286
|
+
const localVarQueryParameter = {};
|
|
287
|
+
// authentication tokenScheme required
|
|
288
|
+
// http bearer authentication required
|
|
289
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
290
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
291
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
292
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
293
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
294
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(energyCostEditRecordDTO, localVarRequestOptions, configuration);
|
|
295
|
+
return {
|
|
296
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
297
|
+
options: localVarRequestOptions,
|
|
298
|
+
};
|
|
299
|
+
}),
|
|
225
300
|
/**
|
|
226
301
|
*
|
|
227
302
|
* @summary 获取下拉框内容
|
|
@@ -264,17 +339,35 @@ exports.EnergyCostRecordControllerApiAxiosParamCreator = EnergyCostRecordControl
|
|
|
264
339
|
const EnergyCostRecordControllerApiFp = function (configuration) {
|
|
265
340
|
const localVarAxiosParamCreator = (0, exports.EnergyCostRecordControllerApiAxiosParamCreator)(configuration);
|
|
266
341
|
return {
|
|
342
|
+
/**
|
|
343
|
+
* 获取园区用量,账单时间
|
|
344
|
+
* @summary 新增能源消耗-获取账单园区基本信息
|
|
345
|
+
* @param {number} id
|
|
346
|
+
* @param {*} [options] Override http request option.
|
|
347
|
+
* @throws {RequiredError}
|
|
348
|
+
*/
|
|
349
|
+
billBaseInfo(id, options) {
|
|
350
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
351
|
+
var _a, _b, _c;
|
|
352
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.billBaseInfo(id, options);
|
|
353
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
354
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnergyCostRecordControllerApi.billBaseInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
355
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
356
|
+
});
|
|
357
|
+
},
|
|
267
358
|
/**
|
|
268
359
|
*
|
|
269
360
|
* @summary 新增能源消耗-返回详情
|
|
270
|
-
* @param {number} id
|
|
361
|
+
* @param {number} [id]
|
|
362
|
+
* @param {number} [billId]
|
|
363
|
+
* @param {string} [billCode]
|
|
271
364
|
* @param {*} [options] Override http request option.
|
|
272
365
|
* @throws {RequiredError}
|
|
273
366
|
*/
|
|
274
|
-
energyCostAddRecordDetail(id, options) {
|
|
367
|
+
energyCostAddRecordDetail(id, billId, billCode, options) {
|
|
275
368
|
return __awaiter(this, void 0, void 0, function* () {
|
|
276
369
|
var _a, _b, _c;
|
|
277
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordDetail(id, options);
|
|
370
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordDetail(id, billId, billCode, options);
|
|
278
371
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
279
372
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnergyCostRecordControllerApi.energyCostAddRecordDetail']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
280
373
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -350,6 +443,22 @@ const EnergyCostRecordControllerApiFp = function (configuration) {
|
|
|
350
443
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
351
444
|
});
|
|
352
445
|
},
|
|
446
|
+
/**
|
|
447
|
+
*
|
|
448
|
+
* @summary 编辑能源消耗
|
|
449
|
+
* @param {EnergyCostEditRecordDTO} energyCostEditRecordDTO
|
|
450
|
+
* @param {*} [options] Override http request option.
|
|
451
|
+
* @throws {RequiredError}
|
|
452
|
+
*/
|
|
453
|
+
energyCostEditRecord(energyCostEditRecordDTO, options) {
|
|
454
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
455
|
+
var _a, _b, _c;
|
|
456
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostEditRecord(energyCostEditRecordDTO, options);
|
|
457
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
458
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnergyCostRecordControllerApi.energyCostEditRecord']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
459
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
460
|
+
});
|
|
461
|
+
},
|
|
353
462
|
/**
|
|
354
463
|
*
|
|
355
464
|
* @summary 获取下拉框内容
|
|
@@ -376,6 +485,16 @@ exports.EnergyCostRecordControllerApiFp = EnergyCostRecordControllerApiFp;
|
|
|
376
485
|
const EnergyCostRecordControllerApiFactory = function (configuration, basePath, axios) {
|
|
377
486
|
const localVarFp = (0, exports.EnergyCostRecordControllerApiFp)(configuration);
|
|
378
487
|
return {
|
|
488
|
+
/**
|
|
489
|
+
* 获取园区用量,账单时间
|
|
490
|
+
* @summary 新增能源消耗-获取账单园区基本信息
|
|
491
|
+
* @param {EnergyCostRecordControllerApiBillBaseInfoRequest} requestParameters Request parameters.
|
|
492
|
+
* @param {*} [options] Override http request option.
|
|
493
|
+
* @throws {RequiredError}
|
|
494
|
+
*/
|
|
495
|
+
billBaseInfo(requestParameters, options) {
|
|
496
|
+
return localVarFp.billBaseInfo(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
497
|
+
},
|
|
379
498
|
/**
|
|
380
499
|
*
|
|
381
500
|
* @summary 新增能源消耗-返回详情
|
|
@@ -383,8 +502,8 @@ const EnergyCostRecordControllerApiFactory = function (configuration, basePath,
|
|
|
383
502
|
* @param {*} [options] Override http request option.
|
|
384
503
|
* @throws {RequiredError}
|
|
385
504
|
*/
|
|
386
|
-
energyCostAddRecordDetail(requestParameters, options) {
|
|
387
|
-
return localVarFp.energyCostAddRecordDetail(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
505
|
+
energyCostAddRecordDetail(requestParameters = {}, options) {
|
|
506
|
+
return localVarFp.energyCostAddRecordDetail(requestParameters.id, requestParameters.billId, requestParameters.billCode, options).then((request) => request(axios, basePath));
|
|
388
507
|
},
|
|
389
508
|
/**
|
|
390
509
|
*
|
|
@@ -426,6 +545,16 @@ const EnergyCostRecordControllerApiFactory = function (configuration, basePath,
|
|
|
426
545
|
energyCostAddRecordSubmit(requestParameters, options) {
|
|
427
546
|
return localVarFp.energyCostAddRecordSubmit(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
|
|
428
547
|
},
|
|
548
|
+
/**
|
|
549
|
+
*
|
|
550
|
+
* @summary 编辑能源消耗
|
|
551
|
+
* @param {EnergyCostRecordControllerApiEnergyCostEditRecordRequest} requestParameters Request parameters.
|
|
552
|
+
* @param {*} [options] Override http request option.
|
|
553
|
+
* @throws {RequiredError}
|
|
554
|
+
*/
|
|
555
|
+
energyCostEditRecord(requestParameters, options) {
|
|
556
|
+
return localVarFp.energyCostEditRecord(requestParameters.energyCostEditRecordDTO, options).then((request) => request(axios, basePath));
|
|
557
|
+
},
|
|
429
558
|
/**
|
|
430
559
|
*
|
|
431
560
|
* @summary 获取下拉框内容
|
|
@@ -446,6 +575,17 @@ exports.EnergyCostRecordControllerApiFactory = EnergyCostRecordControllerApiFact
|
|
|
446
575
|
* @extends {BaseAPI}
|
|
447
576
|
*/
|
|
448
577
|
class EnergyCostRecordControllerApi extends base_1.BaseAPI {
|
|
578
|
+
/**
|
|
579
|
+
* 获取园区用量,账单时间
|
|
580
|
+
* @summary 新增能源消耗-获取账单园区基本信息
|
|
581
|
+
* @param {EnergyCostRecordControllerApiBillBaseInfoRequest} requestParameters Request parameters.
|
|
582
|
+
* @param {*} [options] Override http request option.
|
|
583
|
+
* @throws {RequiredError}
|
|
584
|
+
* @memberof EnergyCostRecordControllerApi
|
|
585
|
+
*/
|
|
586
|
+
billBaseInfo(requestParameters, options) {
|
|
587
|
+
return (0, exports.EnergyCostRecordControllerApiFp)(this.configuration).billBaseInfo(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
588
|
+
}
|
|
449
589
|
/**
|
|
450
590
|
*
|
|
451
591
|
* @summary 新增能源消耗-返回详情
|
|
@@ -454,8 +594,8 @@ class EnergyCostRecordControllerApi extends base_1.BaseAPI {
|
|
|
454
594
|
* @throws {RequiredError}
|
|
455
595
|
* @memberof EnergyCostRecordControllerApi
|
|
456
596
|
*/
|
|
457
|
-
energyCostAddRecordDetail(requestParameters, options) {
|
|
458
|
-
return (0, exports.EnergyCostRecordControllerApiFp)(this.configuration).energyCostAddRecordDetail(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
597
|
+
energyCostAddRecordDetail(requestParameters = {}, options) {
|
|
598
|
+
return (0, exports.EnergyCostRecordControllerApiFp)(this.configuration).energyCostAddRecordDetail(requestParameters.id, requestParameters.billId, requestParameters.billCode, options).then((request) => request(this.axios, this.basePath));
|
|
459
599
|
}
|
|
460
600
|
/**
|
|
461
601
|
*
|
|
@@ -501,6 +641,17 @@ class EnergyCostRecordControllerApi extends base_1.BaseAPI {
|
|
|
501
641
|
energyCostAddRecordSubmit(requestParameters, options) {
|
|
502
642
|
return (0, exports.EnergyCostRecordControllerApiFp)(this.configuration).energyCostAddRecordSubmit(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
|
|
503
643
|
}
|
|
644
|
+
/**
|
|
645
|
+
*
|
|
646
|
+
* @summary 编辑能源消耗
|
|
647
|
+
* @param {EnergyCostRecordControllerApiEnergyCostEditRecordRequest} requestParameters Request parameters.
|
|
648
|
+
* @param {*} [options] Override http request option.
|
|
649
|
+
* @throws {RequiredError}
|
|
650
|
+
* @memberof EnergyCostRecordControllerApi
|
|
651
|
+
*/
|
|
652
|
+
energyCostEditRecord(requestParameters, options) {
|
|
653
|
+
return (0, exports.EnergyCostRecordControllerApiFp)(this.configuration).energyCostEditRecord(requestParameters.energyCostEditRecordDTO, options).then((request) => request(this.axios, this.basePath));
|
|
654
|
+
}
|
|
504
655
|
/**
|
|
505
656
|
*
|
|
506
657
|
* @summary 获取下拉框内容
|
|
@@ -13,7 +13,9 @@ import type { Configuration } from '../configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import type { EnergyCostAddRecordDTO } from '../models';
|
|
16
|
+
import type { EnergyCostEditRecordDTO } from '../models';
|
|
16
17
|
import type { JsonResult } from '../models';
|
|
18
|
+
import type { JsonResultEnergyCostRecordBillInfoVO } from '../models';
|
|
17
19
|
import type { JsonResultEnergyCostRecordInfoNotEmunVO } from '../models';
|
|
18
20
|
import type { JsonResultEnergyCostRecordInfoVO } from '../models';
|
|
19
21
|
import type { JsonResultIPageEnergyCostRecordInfoVO } from '../models';
|
|
@@ -23,14 +25,24 @@ import type { JsonResultMapStringObject } from '../models';
|
|
|
23
25
|
* @export
|
|
24
26
|
*/
|
|
25
27
|
export declare const EnergyCostRecordControllerApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
28
|
+
/**
|
|
29
|
+
* 获取园区用量,账单时间
|
|
30
|
+
* @summary 新增能源消耗-获取账单园区基本信息
|
|
31
|
+
* @param {number} id
|
|
32
|
+
* @param {*} [options] Override http request option.
|
|
33
|
+
* @throws {RequiredError}
|
|
34
|
+
*/
|
|
35
|
+
billBaseInfo: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26
36
|
/**
|
|
27
37
|
*
|
|
28
38
|
* @summary 新增能源消耗-返回详情
|
|
29
|
-
* @param {number} id
|
|
39
|
+
* @param {number} [id]
|
|
40
|
+
* @param {number} [billId]
|
|
41
|
+
* @param {string} [billCode]
|
|
30
42
|
* @param {*} [options] Override http request option.
|
|
31
43
|
* @throws {RequiredError}
|
|
32
44
|
*/
|
|
33
|
-
energyCostAddRecordDetail: (id
|
|
45
|
+
energyCostAddRecordDetail: (id?: number, billId?: number, billCode?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
46
|
/**
|
|
35
47
|
*
|
|
36
48
|
* @summary 新增能源消耗-草稿
|
|
@@ -69,6 +81,14 @@ export declare const EnergyCostRecordControllerApiAxiosParamCreator: (configurat
|
|
|
69
81
|
* @throws {RequiredError}
|
|
70
82
|
*/
|
|
71
83
|
energyCostAddRecordSubmit: (energyCostAddRecordDTO: EnergyCostAddRecordDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @summary 编辑能源消耗
|
|
87
|
+
* @param {EnergyCostEditRecordDTO} energyCostEditRecordDTO
|
|
88
|
+
* @param {*} [options] Override http request option.
|
|
89
|
+
* @throws {RequiredError}
|
|
90
|
+
*/
|
|
91
|
+
energyCostEditRecord: (energyCostEditRecordDTO: EnergyCostEditRecordDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
72
92
|
/**
|
|
73
93
|
*
|
|
74
94
|
* @summary 获取下拉框内容
|
|
@@ -83,14 +103,24 @@ export declare const EnergyCostRecordControllerApiAxiosParamCreator: (configurat
|
|
|
83
103
|
* @export
|
|
84
104
|
*/
|
|
85
105
|
export declare const EnergyCostRecordControllerApiFp: (configuration?: Configuration) => {
|
|
106
|
+
/**
|
|
107
|
+
* 获取园区用量,账单时间
|
|
108
|
+
* @summary 新增能源消耗-获取账单园区基本信息
|
|
109
|
+
* @param {number} id
|
|
110
|
+
* @param {*} [options] Override http request option.
|
|
111
|
+
* @throws {RequiredError}
|
|
112
|
+
*/
|
|
113
|
+
billBaseInfo(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultEnergyCostRecordBillInfoVO>>;
|
|
86
114
|
/**
|
|
87
115
|
*
|
|
88
116
|
* @summary 新增能源消耗-返回详情
|
|
89
|
-
* @param {number} id
|
|
117
|
+
* @param {number} [id]
|
|
118
|
+
* @param {number} [billId]
|
|
119
|
+
* @param {string} [billCode]
|
|
90
120
|
* @param {*} [options] Override http request option.
|
|
91
121
|
* @throws {RequiredError}
|
|
92
122
|
*/
|
|
93
|
-
energyCostAddRecordDetail(id
|
|
123
|
+
energyCostAddRecordDetail(id?: number, billId?: number, billCode?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultEnergyCostRecordInfoNotEmunVO>>;
|
|
94
124
|
/**
|
|
95
125
|
*
|
|
96
126
|
* @summary 新增能源消耗-草稿
|
|
@@ -129,6 +159,14 @@ export declare const EnergyCostRecordControllerApiFp: (configuration?: Configura
|
|
|
129
159
|
* @throws {RequiredError}
|
|
130
160
|
*/
|
|
131
161
|
energyCostAddRecordSubmit(energyCostAddRecordDTO: EnergyCostAddRecordDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
* @summary 编辑能源消耗
|
|
165
|
+
* @param {EnergyCostEditRecordDTO} energyCostEditRecordDTO
|
|
166
|
+
* @param {*} [options] Override http request option.
|
|
167
|
+
* @throws {RequiredError}
|
|
168
|
+
*/
|
|
169
|
+
energyCostEditRecord(energyCostEditRecordDTO: EnergyCostEditRecordDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultEnergyCostRecordInfoVO>>;
|
|
132
170
|
/**
|
|
133
171
|
*
|
|
134
172
|
* @summary 获取下拉框内容
|
|
@@ -143,6 +181,14 @@ export declare const EnergyCostRecordControllerApiFp: (configuration?: Configura
|
|
|
143
181
|
* @export
|
|
144
182
|
*/
|
|
145
183
|
export declare const EnergyCostRecordControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
184
|
+
/**
|
|
185
|
+
* 获取园区用量,账单时间
|
|
186
|
+
* @summary 新增能源消耗-获取账单园区基本信息
|
|
187
|
+
* @param {EnergyCostRecordControllerApiBillBaseInfoRequest} requestParameters Request parameters.
|
|
188
|
+
* @param {*} [options] Override http request option.
|
|
189
|
+
* @throws {RequiredError}
|
|
190
|
+
*/
|
|
191
|
+
billBaseInfo(requestParameters: EnergyCostRecordControllerApiBillBaseInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultEnergyCostRecordBillInfoVO>;
|
|
146
192
|
/**
|
|
147
193
|
*
|
|
148
194
|
* @summary 新增能源消耗-返回详情
|
|
@@ -150,7 +196,7 @@ export declare const EnergyCostRecordControllerApiFactory: (configuration?: Conf
|
|
|
150
196
|
* @param {*} [options] Override http request option.
|
|
151
197
|
* @throws {RequiredError}
|
|
152
198
|
*/
|
|
153
|
-
energyCostAddRecordDetail(requestParameters
|
|
199
|
+
energyCostAddRecordDetail(requestParameters?: EnergyCostRecordControllerApiEnergyCostAddRecordDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultEnergyCostRecordInfoNotEmunVO>;
|
|
154
200
|
/**
|
|
155
201
|
*
|
|
156
202
|
* @summary 新增能源消耗-草稿
|
|
@@ -183,6 +229,14 @@ export declare const EnergyCostRecordControllerApiFactory: (configuration?: Conf
|
|
|
183
229
|
* @throws {RequiredError}
|
|
184
230
|
*/
|
|
185
231
|
energyCostAddRecordSubmit(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult>;
|
|
232
|
+
/**
|
|
233
|
+
*
|
|
234
|
+
* @summary 编辑能源消耗
|
|
235
|
+
* @param {EnergyCostRecordControllerApiEnergyCostEditRecordRequest} requestParameters Request parameters.
|
|
236
|
+
* @param {*} [options] Override http request option.
|
|
237
|
+
* @throws {RequiredError}
|
|
238
|
+
*/
|
|
239
|
+
energyCostEditRecord(requestParameters: EnergyCostRecordControllerApiEnergyCostEditRecordRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultEnergyCostRecordInfoVO>;
|
|
186
240
|
/**
|
|
187
241
|
*
|
|
188
242
|
* @summary 获取下拉框内容
|
|
@@ -192,6 +246,19 @@ export declare const EnergyCostRecordControllerApiFactory: (configuration?: Conf
|
|
|
192
246
|
*/
|
|
193
247
|
getOptions(requestParameters?: EnergyCostRecordControllerApiGetOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultMapStringObject>;
|
|
194
248
|
};
|
|
249
|
+
/**
|
|
250
|
+
* Request parameters for billBaseInfo operation in EnergyCostRecordControllerApi.
|
|
251
|
+
* @export
|
|
252
|
+
* @interface EnergyCostRecordControllerApiBillBaseInfoRequest
|
|
253
|
+
*/
|
|
254
|
+
export interface EnergyCostRecordControllerApiBillBaseInfoRequest {
|
|
255
|
+
/**
|
|
256
|
+
*
|
|
257
|
+
* @type {number}
|
|
258
|
+
* @memberof EnergyCostRecordControllerApiBillBaseInfo
|
|
259
|
+
*/
|
|
260
|
+
readonly id: number;
|
|
261
|
+
}
|
|
195
262
|
/**
|
|
196
263
|
* Request parameters for energyCostAddRecordDetail operation in EnergyCostRecordControllerApi.
|
|
197
264
|
* @export
|
|
@@ -203,7 +270,19 @@ export interface EnergyCostRecordControllerApiEnergyCostAddRecordDetailRequest {
|
|
|
203
270
|
* @type {number}
|
|
204
271
|
* @memberof EnergyCostRecordControllerApiEnergyCostAddRecordDetail
|
|
205
272
|
*/
|
|
206
|
-
readonly id
|
|
273
|
+
readonly id?: number;
|
|
274
|
+
/**
|
|
275
|
+
*
|
|
276
|
+
* @type {number}
|
|
277
|
+
* @memberof EnergyCostRecordControllerApiEnergyCostAddRecordDetail
|
|
278
|
+
*/
|
|
279
|
+
readonly billId?: number;
|
|
280
|
+
/**
|
|
281
|
+
*
|
|
282
|
+
* @type {string}
|
|
283
|
+
* @memberof EnergyCostRecordControllerApiEnergyCostAddRecordDetail
|
|
284
|
+
*/
|
|
285
|
+
readonly billCode?: string;
|
|
207
286
|
}
|
|
208
287
|
/**
|
|
209
288
|
* Request parameters for energyCostAddRecordInputDraft operation in EnergyCostRecordControllerApi.
|
|
@@ -293,6 +372,19 @@ export interface EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest {
|
|
|
293
372
|
*/
|
|
294
373
|
readonly energyCostAddRecordDTO: EnergyCostAddRecordDTO;
|
|
295
374
|
}
|
|
375
|
+
/**
|
|
376
|
+
* Request parameters for energyCostEditRecord operation in EnergyCostRecordControllerApi.
|
|
377
|
+
* @export
|
|
378
|
+
* @interface EnergyCostRecordControllerApiEnergyCostEditRecordRequest
|
|
379
|
+
*/
|
|
380
|
+
export interface EnergyCostRecordControllerApiEnergyCostEditRecordRequest {
|
|
381
|
+
/**
|
|
382
|
+
*
|
|
383
|
+
* @type {EnergyCostEditRecordDTO}
|
|
384
|
+
* @memberof EnergyCostRecordControllerApiEnergyCostEditRecord
|
|
385
|
+
*/
|
|
386
|
+
readonly energyCostEditRecordDTO: EnergyCostEditRecordDTO;
|
|
387
|
+
}
|
|
296
388
|
/**
|
|
297
389
|
* Request parameters for getOptions operation in EnergyCostRecordControllerApi.
|
|
298
390
|
* @export
|
|
@@ -313,6 +405,15 @@ export interface EnergyCostRecordControllerApiGetOptionsRequest {
|
|
|
313
405
|
* @extends {BaseAPI}
|
|
314
406
|
*/
|
|
315
407
|
export declare class EnergyCostRecordControllerApi extends BaseAPI {
|
|
408
|
+
/**
|
|
409
|
+
* 获取园区用量,账单时间
|
|
410
|
+
* @summary 新增能源消耗-获取账单园区基本信息
|
|
411
|
+
* @param {EnergyCostRecordControllerApiBillBaseInfoRequest} requestParameters Request parameters.
|
|
412
|
+
* @param {*} [options] Override http request option.
|
|
413
|
+
* @throws {RequiredError}
|
|
414
|
+
* @memberof EnergyCostRecordControllerApi
|
|
415
|
+
*/
|
|
416
|
+
billBaseInfo(requestParameters: EnergyCostRecordControllerApiBillBaseInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultEnergyCostRecordBillInfoVO, any, {}>>;
|
|
316
417
|
/**
|
|
317
418
|
*
|
|
318
419
|
* @summary 新增能源消耗-返回详情
|
|
@@ -321,7 +422,7 @@ export declare class EnergyCostRecordControllerApi extends BaseAPI {
|
|
|
321
422
|
* @throws {RequiredError}
|
|
322
423
|
* @memberof EnergyCostRecordControllerApi
|
|
323
424
|
*/
|
|
324
|
-
energyCostAddRecordDetail(requestParameters
|
|
425
|
+
energyCostAddRecordDetail(requestParameters?: EnergyCostRecordControllerApiEnergyCostAddRecordDetailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultEnergyCostRecordInfoNotEmunVO, any, {}>>;
|
|
325
426
|
/**
|
|
326
427
|
*
|
|
327
428
|
* @summary 新增能源消耗-草稿
|
|
@@ -358,6 +459,15 @@ export declare class EnergyCostRecordControllerApi extends BaseAPI {
|
|
|
358
459
|
* @memberof EnergyCostRecordControllerApi
|
|
359
460
|
*/
|
|
360
461
|
energyCostAddRecordSubmit(requestParameters: EnergyCostRecordControllerApiEnergyCostAddRecordSubmitRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResult, any, {}>>;
|
|
462
|
+
/**
|
|
463
|
+
*
|
|
464
|
+
* @summary 编辑能源消耗
|
|
465
|
+
* @param {EnergyCostRecordControllerApiEnergyCostEditRecordRequest} requestParameters Request parameters.
|
|
466
|
+
* @param {*} [options] Override http request option.
|
|
467
|
+
* @throws {RequiredError}
|
|
468
|
+
* @memberof EnergyCostRecordControllerApi
|
|
469
|
+
*/
|
|
470
|
+
energyCostEditRecord(requestParameters: EnergyCostRecordControllerApiEnergyCostEditRecordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultEnergyCostRecordInfoVO, any, {}>>;
|
|
361
471
|
/**
|
|
362
472
|
*
|
|
363
473
|
* @summary 获取下拉框内容
|