@gizone/rrs-client 4.2.9-alpha.548 → 4.2.9-alpha.549
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/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/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/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/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/json-result-energy-cost-record-bill-info-vo.ts +72 -0
- package/ossutil.log +1074 -1071
- package/package.json +1 -1
|
@@ -33,17 +33,50 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
|
33
33
|
export const EnergyCostRecordControllerApiAxiosParamCreator = function (configuration) {
|
|
34
34
|
return {
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
37
|
-
* @summary
|
|
36
|
+
* 获取园区用量,账单时间
|
|
37
|
+
* @summary 新增能源消耗-获取账单园区基本信息
|
|
38
38
|
* @param {number} id
|
|
39
39
|
* @param {*} [options] Override http request option.
|
|
40
40
|
* @throws {RequiredError}
|
|
41
41
|
*/
|
|
42
|
-
|
|
42
|
+
billBaseInfo: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
43
43
|
// verify required parameter 'id' is not null or undefined
|
|
44
|
-
assertParamExists('
|
|
45
|
-
const localVarPath = `/gizone/energy/cost/record/
|
|
46
|
-
|
|
44
|
+
assertParamExists('billBaseInfo', 'id', id);
|
|
45
|
+
const localVarPath = `/gizone/energy/cost/record/billBaseInfo`;
|
|
46
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
48
|
+
let baseOptions;
|
|
49
|
+
if (configuration) {
|
|
50
|
+
baseOptions = configuration.baseOptions;
|
|
51
|
+
}
|
|
52
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
53
|
+
const localVarHeaderParameter = {};
|
|
54
|
+
const localVarQueryParameter = {};
|
|
55
|
+
// authentication tokenScheme required
|
|
56
|
+
// http bearer authentication required
|
|
57
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
58
|
+
if (id !== undefined) {
|
|
59
|
+
localVarQueryParameter['id'] = id;
|
|
60
|
+
}
|
|
61
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
62
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
63
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
64
|
+
return {
|
|
65
|
+
url: toPathString(localVarUrlObj),
|
|
66
|
+
options: localVarRequestOptions,
|
|
67
|
+
};
|
|
68
|
+
}),
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @summary 新增能源消耗-返回详情
|
|
72
|
+
* @param {number} [id]
|
|
73
|
+
* @param {number} [billId]
|
|
74
|
+
* @param {string} [billCode]
|
|
75
|
+
* @param {*} [options] Override http request option.
|
|
76
|
+
* @throws {RequiredError}
|
|
77
|
+
*/
|
|
78
|
+
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 = {}) {
|
|
79
|
+
const localVarPath = `/gizone/energy/cost/record/detail`;
|
|
47
80
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48
81
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
49
82
|
let baseOptions;
|
|
@@ -56,6 +89,15 @@ export const EnergyCostRecordControllerApiAxiosParamCreator = function (configur
|
|
|
56
89
|
// authentication tokenScheme required
|
|
57
90
|
// http bearer authentication required
|
|
58
91
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
92
|
+
if (id !== undefined) {
|
|
93
|
+
localVarQueryParameter['id'] = id;
|
|
94
|
+
}
|
|
95
|
+
if (billId !== undefined) {
|
|
96
|
+
localVarQueryParameter['billId'] = billId;
|
|
97
|
+
}
|
|
98
|
+
if (billCode !== undefined) {
|
|
99
|
+
localVarQueryParameter['billCode'] = billCode;
|
|
100
|
+
}
|
|
59
101
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
60
102
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61
103
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -219,6 +261,39 @@ export const EnergyCostRecordControllerApiAxiosParamCreator = function (configur
|
|
|
219
261
|
options: localVarRequestOptions,
|
|
220
262
|
};
|
|
221
263
|
}),
|
|
264
|
+
/**
|
|
265
|
+
*
|
|
266
|
+
* @summary 编辑能源消耗
|
|
267
|
+
* @param {EnergyCostEditRecordDTO} energyCostEditRecordDTO
|
|
268
|
+
* @param {*} [options] Override http request option.
|
|
269
|
+
* @throws {RequiredError}
|
|
270
|
+
*/
|
|
271
|
+
energyCostEditRecord: (energyCostEditRecordDTO_1, ...args_1) => __awaiter(this, [energyCostEditRecordDTO_1, ...args_1], void 0, function* (energyCostEditRecordDTO, options = {}) {
|
|
272
|
+
// verify required parameter 'energyCostEditRecordDTO' is not null or undefined
|
|
273
|
+
assertParamExists('energyCostEditRecord', 'energyCostEditRecordDTO', energyCostEditRecordDTO);
|
|
274
|
+
const localVarPath = `/gizone/energy/cost/record/edit`;
|
|
275
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
276
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
277
|
+
let baseOptions;
|
|
278
|
+
if (configuration) {
|
|
279
|
+
baseOptions = configuration.baseOptions;
|
|
280
|
+
}
|
|
281
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
282
|
+
const localVarHeaderParameter = {};
|
|
283
|
+
const localVarQueryParameter = {};
|
|
284
|
+
// authentication tokenScheme required
|
|
285
|
+
// http bearer authentication required
|
|
286
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
287
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
288
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
289
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
290
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
291
|
+
localVarRequestOptions.data = serializeDataIfNeeded(energyCostEditRecordDTO, localVarRequestOptions, configuration);
|
|
292
|
+
return {
|
|
293
|
+
url: toPathString(localVarUrlObj),
|
|
294
|
+
options: localVarRequestOptions,
|
|
295
|
+
};
|
|
296
|
+
}),
|
|
222
297
|
/**
|
|
223
298
|
*
|
|
224
299
|
* @summary 获取下拉框内容
|
|
@@ -260,17 +335,35 @@ export const EnergyCostRecordControllerApiAxiosParamCreator = function (configur
|
|
|
260
335
|
export const EnergyCostRecordControllerApiFp = function (configuration) {
|
|
261
336
|
const localVarAxiosParamCreator = EnergyCostRecordControllerApiAxiosParamCreator(configuration);
|
|
262
337
|
return {
|
|
338
|
+
/**
|
|
339
|
+
* 获取园区用量,账单时间
|
|
340
|
+
* @summary 新增能源消耗-获取账单园区基本信息
|
|
341
|
+
* @param {number} id
|
|
342
|
+
* @param {*} [options] Override http request option.
|
|
343
|
+
* @throws {RequiredError}
|
|
344
|
+
*/
|
|
345
|
+
billBaseInfo(id, options) {
|
|
346
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
347
|
+
var _a, _b, _c;
|
|
348
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.billBaseInfo(id, options);
|
|
349
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
350
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostRecordControllerApi.billBaseInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
351
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
352
|
+
});
|
|
353
|
+
},
|
|
263
354
|
/**
|
|
264
355
|
*
|
|
265
356
|
* @summary 新增能源消耗-返回详情
|
|
266
|
-
* @param {number} id
|
|
357
|
+
* @param {number} [id]
|
|
358
|
+
* @param {number} [billId]
|
|
359
|
+
* @param {string} [billCode]
|
|
267
360
|
* @param {*} [options] Override http request option.
|
|
268
361
|
* @throws {RequiredError}
|
|
269
362
|
*/
|
|
270
|
-
energyCostAddRecordDetail(id, options) {
|
|
363
|
+
energyCostAddRecordDetail(id, billId, billCode, options) {
|
|
271
364
|
return __awaiter(this, void 0, void 0, function* () {
|
|
272
365
|
var _a, _b, _c;
|
|
273
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordDetail(id, options);
|
|
366
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordDetail(id, billId, billCode, options);
|
|
274
367
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
275
368
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostRecordControllerApi.energyCostAddRecordDetail']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
276
369
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -346,6 +439,22 @@ export const EnergyCostRecordControllerApiFp = function (configuration) {
|
|
|
346
439
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
347
440
|
});
|
|
348
441
|
},
|
|
442
|
+
/**
|
|
443
|
+
*
|
|
444
|
+
* @summary 编辑能源消耗
|
|
445
|
+
* @param {EnergyCostEditRecordDTO} energyCostEditRecordDTO
|
|
446
|
+
* @param {*} [options] Override http request option.
|
|
447
|
+
* @throws {RequiredError}
|
|
448
|
+
*/
|
|
449
|
+
energyCostEditRecord(energyCostEditRecordDTO, options) {
|
|
450
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
451
|
+
var _a, _b, _c;
|
|
452
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostEditRecord(energyCostEditRecordDTO, options);
|
|
453
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
454
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostRecordControllerApi.energyCostEditRecord']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
455
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
456
|
+
});
|
|
457
|
+
},
|
|
349
458
|
/**
|
|
350
459
|
*
|
|
351
460
|
* @summary 获取下拉框内容
|
|
@@ -371,6 +480,16 @@ export const EnergyCostRecordControllerApiFp = function (configuration) {
|
|
|
371
480
|
export const EnergyCostRecordControllerApiFactory = function (configuration, basePath, axios) {
|
|
372
481
|
const localVarFp = EnergyCostRecordControllerApiFp(configuration);
|
|
373
482
|
return {
|
|
483
|
+
/**
|
|
484
|
+
* 获取园区用量,账单时间
|
|
485
|
+
* @summary 新增能源消耗-获取账单园区基本信息
|
|
486
|
+
* @param {EnergyCostRecordControllerApiBillBaseInfoRequest} requestParameters Request parameters.
|
|
487
|
+
* @param {*} [options] Override http request option.
|
|
488
|
+
* @throws {RequiredError}
|
|
489
|
+
*/
|
|
490
|
+
billBaseInfo(requestParameters, options) {
|
|
491
|
+
return localVarFp.billBaseInfo(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
492
|
+
},
|
|
374
493
|
/**
|
|
375
494
|
*
|
|
376
495
|
* @summary 新增能源消耗-返回详情
|
|
@@ -378,8 +497,8 @@ export const EnergyCostRecordControllerApiFactory = function (configuration, bas
|
|
|
378
497
|
* @param {*} [options] Override http request option.
|
|
379
498
|
* @throws {RequiredError}
|
|
380
499
|
*/
|
|
381
|
-
energyCostAddRecordDetail(requestParameters, options) {
|
|
382
|
-
return localVarFp.energyCostAddRecordDetail(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
500
|
+
energyCostAddRecordDetail(requestParameters = {}, options) {
|
|
501
|
+
return localVarFp.energyCostAddRecordDetail(requestParameters.id, requestParameters.billId, requestParameters.billCode, options).then((request) => request(axios, basePath));
|
|
383
502
|
},
|
|
384
503
|
/**
|
|
385
504
|
*
|
|
@@ -421,6 +540,16 @@ export const EnergyCostRecordControllerApiFactory = function (configuration, bas
|
|
|
421
540
|
energyCostAddRecordSubmit(requestParameters, options) {
|
|
422
541
|
return localVarFp.energyCostAddRecordSubmit(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
|
|
423
542
|
},
|
|
543
|
+
/**
|
|
544
|
+
*
|
|
545
|
+
* @summary 编辑能源消耗
|
|
546
|
+
* @param {EnergyCostRecordControllerApiEnergyCostEditRecordRequest} requestParameters Request parameters.
|
|
547
|
+
* @param {*} [options] Override http request option.
|
|
548
|
+
* @throws {RequiredError}
|
|
549
|
+
*/
|
|
550
|
+
energyCostEditRecord(requestParameters, options) {
|
|
551
|
+
return localVarFp.energyCostEditRecord(requestParameters.energyCostEditRecordDTO, options).then((request) => request(axios, basePath));
|
|
552
|
+
},
|
|
424
553
|
/**
|
|
425
554
|
*
|
|
426
555
|
* @summary 获取下拉框内容
|
|
@@ -440,6 +569,17 @@ export const EnergyCostRecordControllerApiFactory = function (configuration, bas
|
|
|
440
569
|
* @extends {BaseAPI}
|
|
441
570
|
*/
|
|
442
571
|
export class EnergyCostRecordControllerApi extends BaseAPI {
|
|
572
|
+
/**
|
|
573
|
+
* 获取园区用量,账单时间
|
|
574
|
+
* @summary 新增能源消耗-获取账单园区基本信息
|
|
575
|
+
* @param {EnergyCostRecordControllerApiBillBaseInfoRequest} requestParameters Request parameters.
|
|
576
|
+
* @param {*} [options] Override http request option.
|
|
577
|
+
* @throws {RequiredError}
|
|
578
|
+
* @memberof EnergyCostRecordControllerApi
|
|
579
|
+
*/
|
|
580
|
+
billBaseInfo(requestParameters, options) {
|
|
581
|
+
return EnergyCostRecordControllerApiFp(this.configuration).billBaseInfo(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
582
|
+
}
|
|
443
583
|
/**
|
|
444
584
|
*
|
|
445
585
|
* @summary 新增能源消耗-返回详情
|
|
@@ -448,8 +588,8 @@ export class EnergyCostRecordControllerApi extends BaseAPI {
|
|
|
448
588
|
* @throws {RequiredError}
|
|
449
589
|
* @memberof EnergyCostRecordControllerApi
|
|
450
590
|
*/
|
|
451
|
-
energyCostAddRecordDetail(requestParameters, options) {
|
|
452
|
-
return EnergyCostRecordControllerApiFp(this.configuration).energyCostAddRecordDetail(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
591
|
+
energyCostAddRecordDetail(requestParameters = {}, options) {
|
|
592
|
+
return EnergyCostRecordControllerApiFp(this.configuration).energyCostAddRecordDetail(requestParameters.id, requestParameters.billId, requestParameters.billCode, options).then((request) => request(this.axios, this.basePath));
|
|
453
593
|
}
|
|
454
594
|
/**
|
|
455
595
|
*
|
|
@@ -495,6 +635,17 @@ export class EnergyCostRecordControllerApi extends BaseAPI {
|
|
|
495
635
|
energyCostAddRecordSubmit(requestParameters, options) {
|
|
496
636
|
return EnergyCostRecordControllerApiFp(this.configuration).energyCostAddRecordSubmit(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
|
|
497
637
|
}
|
|
638
|
+
/**
|
|
639
|
+
*
|
|
640
|
+
* @summary 编辑能源消耗
|
|
641
|
+
* @param {EnergyCostRecordControllerApiEnergyCostEditRecordRequest} requestParameters Request parameters.
|
|
642
|
+
* @param {*} [options] Override http request option.
|
|
643
|
+
* @throws {RequiredError}
|
|
644
|
+
* @memberof EnergyCostRecordControllerApi
|
|
645
|
+
*/
|
|
646
|
+
energyCostEditRecord(requestParameters, options) {
|
|
647
|
+
return EnergyCostRecordControllerApiFp(this.configuration).energyCostEditRecord(requestParameters.energyCostEditRecordDTO, options).then((request) => request(this.axios, this.basePath));
|
|
648
|
+
}
|
|
498
649
|
/**
|
|
499
650
|
*
|
|
500
651
|
* @summary 获取下拉框内容
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Item } from './item';
|
|
13
|
+
import type { PricingItem } from './pricing-item';
|
|
14
|
+
/**
|
|
15
|
+
* 编辑能源消耗记录-入参
|
|
16
|
+
* @export
|
|
17
|
+
* @interface EnergyCostEditRecordDTO
|
|
18
|
+
*/
|
|
19
|
+
export interface EnergyCostEditRecordDTO {
|
|
20
|
+
/**
|
|
21
|
+
* 记录ID
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof EnergyCostEditRecordDTO
|
|
24
|
+
*/
|
|
25
|
+
'id': number;
|
|
26
|
+
/**
|
|
27
|
+
* 园区id
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof EnergyCostEditRecordDTO
|
|
30
|
+
*/
|
|
31
|
+
'parkId': number;
|
|
32
|
+
/**
|
|
33
|
+
* 账单id
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof EnergyCostEditRecordDTO
|
|
36
|
+
*/
|
|
37
|
+
'billId': number;
|
|
38
|
+
/**
|
|
39
|
+
* 能源类型
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof EnergyCostEditRecordDTO
|
|
42
|
+
*/
|
|
43
|
+
'energyType': EnergyCostEditRecordDTOEnergyTypeEnum;
|
|
44
|
+
/**
|
|
45
|
+
* 账单开始日
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof EnergyCostEditRecordDTO
|
|
48
|
+
*/
|
|
49
|
+
'billDateStart': string;
|
|
50
|
+
/**
|
|
51
|
+
* 账单结束日
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof EnergyCostEditRecordDTO
|
|
54
|
+
*/
|
|
55
|
+
'billDateEnd': string;
|
|
56
|
+
/**
|
|
57
|
+
* 账单月
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof EnergyCostEditRecordDTO
|
|
60
|
+
*/
|
|
61
|
+
'billMonth': string;
|
|
62
|
+
/**
|
|
63
|
+
* 账单来源
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof EnergyCostEditRecordDTO
|
|
66
|
+
*/
|
|
67
|
+
'billSource': EnergyCostEditRecordDTOBillSourceEnum;
|
|
68
|
+
/**
|
|
69
|
+
* 单价类型
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof EnergyCostEditRecordDTO
|
|
72
|
+
*/
|
|
73
|
+
'pricingType': EnergyCostEditRecordDTOPricingTypeEnum;
|
|
74
|
+
/**
|
|
75
|
+
* 园区用量
|
|
76
|
+
* @type {number}
|
|
77
|
+
* @memberof EnergyCostEditRecordDTO
|
|
78
|
+
*/
|
|
79
|
+
'parkUtilityUsage': number;
|
|
80
|
+
/**
|
|
81
|
+
* 园区费用(电费/水费)
|
|
82
|
+
* @type {number}
|
|
83
|
+
* @memberof EnergyCostEditRecordDTO
|
|
84
|
+
*/
|
|
85
|
+
'billCharges': number;
|
|
86
|
+
/**
|
|
87
|
+
* 力调电费
|
|
88
|
+
* @type {number}
|
|
89
|
+
* @memberof EnergyCostEditRecordDTO
|
|
90
|
+
*/
|
|
91
|
+
'powerFactorSurcharge': number;
|
|
92
|
+
/**
|
|
93
|
+
* 调前电费
|
|
94
|
+
* @type {number}
|
|
95
|
+
* @memberof EnergyCostEditRecordDTO
|
|
96
|
+
*/
|
|
97
|
+
'billAmountBefore': number;
|
|
98
|
+
/**
|
|
99
|
+
* 单价
|
|
100
|
+
* @type {number}
|
|
101
|
+
* @memberof EnergyCostEditRecordDTO
|
|
102
|
+
*/
|
|
103
|
+
'unitPrice': number;
|
|
104
|
+
/**
|
|
105
|
+
* 园区总面积
|
|
106
|
+
* @type {number}
|
|
107
|
+
* @memberof EnergyCostEditRecordDTO
|
|
108
|
+
*/
|
|
109
|
+
'totalParkArea': number;
|
|
110
|
+
/**
|
|
111
|
+
* 总空仓面积
|
|
112
|
+
* @type {number}
|
|
113
|
+
* @memberof EnergyCostEditRecordDTO
|
|
114
|
+
*/
|
|
115
|
+
'totalVacantArea': number;
|
|
116
|
+
/**
|
|
117
|
+
* 超标原因
|
|
118
|
+
* @type {string}
|
|
119
|
+
* @memberof EnergyCostEditRecordDTO
|
|
120
|
+
*/
|
|
121
|
+
'overrunReason'?: EnergyCostEditRecordDTOOverrunReasonEnum;
|
|
122
|
+
/**
|
|
123
|
+
* 备注
|
|
124
|
+
* @type {string}
|
|
125
|
+
* @memberof EnergyCostEditRecordDTO
|
|
126
|
+
*/
|
|
127
|
+
'remark'?: string;
|
|
128
|
+
/**
|
|
129
|
+
* 附件
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof EnergyCostEditRecordDTO
|
|
132
|
+
*/
|
|
133
|
+
'attachment'?: string;
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @type {Array<Item>}
|
|
137
|
+
* @memberof EnergyCostEditRecordDTO
|
|
138
|
+
*/
|
|
139
|
+
'scenarios'?: Array<Item>;
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @type {Array<PricingItem>}
|
|
143
|
+
* @memberof EnergyCostEditRecordDTO
|
|
144
|
+
*/
|
|
145
|
+
'pricingItem'?: Array<PricingItem>;
|
|
146
|
+
}
|
|
147
|
+
export declare const EnergyCostEditRecordDTOEnergyTypeEnum: {
|
|
148
|
+
readonly Electric: "ELECTRIC";
|
|
149
|
+
readonly Water: "WATER";
|
|
150
|
+
};
|
|
151
|
+
export type EnergyCostEditRecordDTOEnergyTypeEnum = typeof EnergyCostEditRecordDTOEnergyTypeEnum[keyof typeof EnergyCostEditRecordDTOEnergyTypeEnum];
|
|
152
|
+
export declare const EnergyCostEditRecordDTOBillSourceEnum: {
|
|
153
|
+
readonly StateGrid: "STATE_GRID";
|
|
154
|
+
readonly Photovoltaic: "PHOTOVOLTAIC";
|
|
155
|
+
readonly GroupEnergyRealEstate: "GROUP_ENERGY_REAL_ESTATE";
|
|
156
|
+
readonly WaterSupplyCompany: "WATER_SUPPLY_COMPANY";
|
|
157
|
+
};
|
|
158
|
+
export type EnergyCostEditRecordDTOBillSourceEnum = typeof EnergyCostEditRecordDTOBillSourceEnum[keyof typeof EnergyCostEditRecordDTOBillSourceEnum];
|
|
159
|
+
export declare const EnergyCostEditRecordDTOPricingTypeEnum: {
|
|
160
|
+
readonly UniformUnitPrice: "UNIFORM_UNIT_PRICE";
|
|
161
|
+
readonly PeakValleyFlat: "PEAK_VALLEY_FLAT";
|
|
162
|
+
};
|
|
163
|
+
export type EnergyCostEditRecordDTOPricingTypeEnum = typeof EnergyCostEditRecordDTOPricingTypeEnum[keyof typeof EnergyCostEditRecordDTOPricingTypeEnum];
|
|
164
|
+
export declare const EnergyCostEditRecordDTOOverrunReasonEnum: {
|
|
165
|
+
readonly BusinessVolumeOperationTimeIncrease: "BUSINESS_VOLUME_OPERATION_TIME_INCREASE";
|
|
166
|
+
readonly BusinessVolumeChargingDeviceIncrease: "BUSINESS_VOLUME_CHARGING_DEVICE_INCREASE";
|
|
167
|
+
readonly BusinessVolumeAreaIncrease: "BUSINESS_VOLUME_AREA_INCREASE";
|
|
168
|
+
readonly SocialCustomerEnergyConsumptionIncrease: "SOCIAL_CUSTOMER_ENERGY_CONSUMPTION_INCREASE";
|
|
169
|
+
readonly EnergyConsumingEquipmentIncrease: "ENERGY_CONSUMING_EQUIPMENT_INCREASE";
|
|
170
|
+
readonly AbnormalWeather: "ABNORMAL_WEATHER";
|
|
171
|
+
readonly Other: "OTHER";
|
|
172
|
+
};
|
|
173
|
+
export type EnergyCostEditRecordDTOOverrunReasonEnum = typeof EnergyCostEditRecordDTOOverrunReasonEnum[keyof typeof EnergyCostEditRecordDTOOverrunReasonEnum];
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenAPI definition
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export const EnergyCostEditRecordDTOEnergyTypeEnum = {
|
|
15
|
+
Electric: 'ELECTRIC',
|
|
16
|
+
Water: 'WATER'
|
|
17
|
+
};
|
|
18
|
+
export const EnergyCostEditRecordDTOBillSourceEnum = {
|
|
19
|
+
StateGrid: 'STATE_GRID',
|
|
20
|
+
Photovoltaic: 'PHOTOVOLTAIC',
|
|
21
|
+
GroupEnergyRealEstate: 'GROUP_ENERGY_REAL_ESTATE',
|
|
22
|
+
WaterSupplyCompany: 'WATER_SUPPLY_COMPANY'
|
|
23
|
+
};
|
|
24
|
+
export const EnergyCostEditRecordDTOPricingTypeEnum = {
|
|
25
|
+
UniformUnitPrice: 'UNIFORM_UNIT_PRICE',
|
|
26
|
+
PeakValleyFlat: 'PEAK_VALLEY_FLAT'
|
|
27
|
+
};
|
|
28
|
+
export const EnergyCostEditRecordDTOOverrunReasonEnum = {
|
|
29
|
+
BusinessVolumeOperationTimeIncrease: 'BUSINESS_VOLUME_OPERATION_TIME_INCREASE',
|
|
30
|
+
BusinessVolumeChargingDeviceIncrease: 'BUSINESS_VOLUME_CHARGING_DEVICE_INCREASE',
|
|
31
|
+
BusinessVolumeAreaIncrease: 'BUSINESS_VOLUME_AREA_INCREASE',
|
|
32
|
+
SocialCustomerEnergyConsumptionIncrease: 'SOCIAL_CUSTOMER_ENERGY_CONSUMPTION_INCREASE',
|
|
33
|
+
EnergyConsumingEquipmentIncrease: 'ENERGY_CONSUMING_EQUIPMENT_INCREASE',
|
|
34
|
+
AbnormalWeather: 'ABNORMAL_WEATHER',
|
|
35
|
+
Other: 'OTHER'
|
|
36
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* 返回数据,可以是任意类型的值
|
|
14
|
+
* @export
|
|
15
|
+
* @interface EnergyCostRecordBillInfoVO
|
|
16
|
+
*/
|
|
17
|
+
export interface EnergyCostRecordBillInfoVO {
|
|
18
|
+
/**
|
|
19
|
+
* 主键ID
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof EnergyCostRecordBillInfoVO
|
|
22
|
+
*/
|
|
23
|
+
'id'?: number;
|
|
24
|
+
/**
|
|
25
|
+
* 园区id
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof EnergyCostRecordBillInfoVO
|
|
28
|
+
*/
|
|
29
|
+
'parkId'?: number;
|
|
30
|
+
/**
|
|
31
|
+
* 账单开始日
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof EnergyCostRecordBillInfoVO
|
|
34
|
+
*/
|
|
35
|
+
'billDateStart'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* 账单结束日
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof EnergyCostRecordBillInfoVO
|
|
40
|
+
*/
|
|
41
|
+
'billDateEnd'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* 园区费用(电费/水费)
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof EnergyCostRecordBillInfoVO
|
|
46
|
+
*/
|
|
47
|
+
'billCharges'?: number;
|
|
48
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenAPI definition
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -108,8 +108,10 @@ export * from './energy-cost-add-record-dto';
|
|
|
108
108
|
export * from './energy-cost-add-setting-dto';
|
|
109
109
|
export * from './energy-cost-add-setting-dtopark-setting';
|
|
110
110
|
export * from './energy-cost-add-setting-dtopark-setting-item';
|
|
111
|
+
export * from './energy-cost-edit-record-dto';
|
|
111
112
|
export * from './energy-cost-month-setting-list-summary-standards-vo';
|
|
112
113
|
export * from './energy-cost-month-setting-list-vo';
|
|
114
|
+
export * from './energy-cost-record-bill-info-vo';
|
|
113
115
|
export * from './energy-cost-record-info-not-emun-vo';
|
|
114
116
|
export * from './energy-cost-record-info-vo';
|
|
115
117
|
export * from './energy-cost-scenarios-info-not-enum-vo';
|
|
@@ -197,6 +199,7 @@ export * from './json-result-boolean';
|
|
|
197
199
|
export * from './json-result-calendar-entity';
|
|
198
200
|
export * from './json-result-dashboard-park-statistics-vo';
|
|
199
201
|
export * from './json-result-disaster-warning-standard-entity';
|
|
202
|
+
export * from './json-result-energy-cost-record-bill-info-vo';
|
|
200
203
|
export * from './json-result-energy-cost-record-info-not-emun-vo';
|
|
201
204
|
export * from './json-result-energy-cost-record-info-vo';
|
|
202
205
|
export * from './json-result-equipment-add-redis-list-dto';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -108,8 +108,10 @@ export * from './energy-cost-add-record-dto';
|
|
|
108
108
|
export * from './energy-cost-add-setting-dto';
|
|
109
109
|
export * from './energy-cost-add-setting-dtopark-setting';
|
|
110
110
|
export * from './energy-cost-add-setting-dtopark-setting-item';
|
|
111
|
+
export * from './energy-cost-edit-record-dto';
|
|
111
112
|
export * from './energy-cost-month-setting-list-summary-standards-vo';
|
|
112
113
|
export * from './energy-cost-month-setting-list-vo';
|
|
114
|
+
export * from './energy-cost-record-bill-info-vo';
|
|
113
115
|
export * from './energy-cost-record-info-not-emun-vo';
|
|
114
116
|
export * from './energy-cost-record-info-vo';
|
|
115
117
|
export * from './energy-cost-scenarios-info-not-enum-vo';
|
|
@@ -197,6 +199,7 @@ export * from './json-result-boolean';
|
|
|
197
199
|
export * from './json-result-calendar-entity';
|
|
198
200
|
export * from './json-result-dashboard-park-statistics-vo';
|
|
199
201
|
export * from './json-result-disaster-warning-standard-entity';
|
|
202
|
+
export * from './json-result-energy-cost-record-bill-info-vo';
|
|
200
203
|
export * from './json-result-energy-cost-record-info-not-emun-vo';
|
|
201
204
|
export * from './json-result-energy-cost-record-info-vo';
|
|
202
205
|
export * from './json-result-equipment-add-redis-list-dto';
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { BaseErrorResult } from './base-error-result';
|
|
13
|
+
import type { EnergyCostRecordBillInfoVO } from './energy-cost-record-bill-info-vo';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface JsonResultEnergyCostRecordBillInfoVO
|
|
18
|
+
*/
|
|
19
|
+
export interface JsonResultEnergyCostRecordBillInfoVO {
|
|
20
|
+
/**
|
|
21
|
+
* 错误码,0:成功,其他:失败
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof JsonResultEnergyCostRecordBillInfoVO
|
|
24
|
+
*/
|
|
25
|
+
'code'?: number;
|
|
26
|
+
/**
|
|
27
|
+
* 错误消息
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof JsonResultEnergyCostRecordBillInfoVO
|
|
30
|
+
*/
|
|
31
|
+
'msg'?: string;
|
|
32
|
+
/**
|
|
33
|
+
* 错误堆栈
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof JsonResultEnergyCostRecordBillInfoVO
|
|
36
|
+
*/
|
|
37
|
+
'stacks'?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {EnergyCostRecordBillInfoVO}
|
|
41
|
+
* @memberof JsonResultEnergyCostRecordBillInfoVO
|
|
42
|
+
*/
|
|
43
|
+
'data'?: EnergyCostRecordBillInfoVO | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {BaseErrorResult}
|
|
47
|
+
* @memberof JsonResultEnergyCostRecordBillInfoVO
|
|
48
|
+
*/
|
|
49
|
+
'error'?: BaseErrorResult | null;
|
|
50
|
+
/**
|
|
51
|
+
* 日志追踪ID
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof JsonResultEnergyCostRecordBillInfoVO
|
|
54
|
+
*/
|
|
55
|
+
'traceId'?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* requestId
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof JsonResultEnergyCostRecordBillInfoVO
|
|
60
|
+
*/
|
|
61
|
+
'requestId'?: string | null;
|
|
62
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenAPI definition
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|