@gizone/rrs-client 4.2.9-alpha.590 → 4.2.9-alpha.594
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/apis/energy-cost-analysis-controller-api.ts +444 -0
- package/apis/energy-cost-controller-api.ts +19 -14
- package/apis/energy-cost-record-controller-api.ts +174 -0
- package/dist/apis/energy-cost-analysis-controller-api.d.ts +252 -0
- package/dist/apis/energy-cost-analysis-controller-api.js +246 -0
- package/dist/apis/energy-cost-controller-api.d.ts +6 -7
- package/dist/apis/energy-cost-controller-api.js +15 -9
- package/dist/apis/energy-cost-record-controller-api.d.ts +102 -0
- package/dist/apis/energy-cost-record-controller-api.js +107 -1
- package/dist/esm/apis/energy-cost-analysis-controller-api.d.ts +252 -0
- package/dist/esm/apis/energy-cost-analysis-controller-api.js +246 -0
- package/dist/esm/apis/energy-cost-controller-api.d.ts +6 -7
- package/dist/esm/apis/energy-cost-controller-api.js +15 -9
- package/dist/esm/apis/energy-cost-record-controller-api.d.ts +102 -0
- package/dist/esm/apis/energy-cost-record-controller-api.js +106 -0
- package/dist/esm/models/energy-cost-add-record-dto.d.ts +3 -3
- package/dist/esm/models/ipage-energy-cost-record-info-vo.d.ts +4 -4
- package/dist/esm/models/sys-user.d.ts +4 -4
- package/dist/models/energy-cost-add-record-dto.d.ts +3 -3
- package/dist/models/ipage-energy-cost-record-info-vo.d.ts +4 -4
- package/dist/models/sys-user.d.ts +4 -4
- package/models/energy-cost-add-record-dto.ts +3 -3
- package/models/ipage-energy-cost-record-info-vo.ts +4 -4
- package/models/sys-user.ts +4 -4
- package/ossutil.log +1122 -1116
- package/package.json +1 -1
|
@@ -195,6 +195,62 @@ export const EnergyCostRecordControllerApiAxiosParamCreator = function (configur
|
|
|
195
195
|
options: localVarRequestOptions,
|
|
196
196
|
};
|
|
197
197
|
}),
|
|
198
|
+
/**
|
|
199
|
+
*
|
|
200
|
+
* @summary 新增能源消耗-列表导出
|
|
201
|
+
* @param {number} [page]
|
|
202
|
+
* @param {number} [size]
|
|
203
|
+
* @param {string} [billCode]
|
|
204
|
+
* @param {string} [startTime]
|
|
205
|
+
* @param {string} [endTime]
|
|
206
|
+
* @param {Array<EnergyCostAddRecordListExportEnergyTypesEnum>} [energyTypes]
|
|
207
|
+
* @param {Array<number>} [status]
|
|
208
|
+
* @param {*} [options] Override http request option.
|
|
209
|
+
* @throws {RequiredError}
|
|
210
|
+
*/
|
|
211
|
+
energyCostAddRecordListExport: (page_1, size_1, billCode_1, startTime_1, endTime_1, energyTypes_1, status_1, ...args_1) => __awaiter(this, [page_1, size_1, billCode_1, startTime_1, endTime_1, energyTypes_1, status_1, ...args_1], void 0, function* (page, size, billCode, startTime, endTime, energyTypes, status, options = {}) {
|
|
212
|
+
const localVarPath = `/gizone/energy/cost/record/list/export`;
|
|
213
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
214
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
215
|
+
let baseOptions;
|
|
216
|
+
if (configuration) {
|
|
217
|
+
baseOptions = configuration.baseOptions;
|
|
218
|
+
}
|
|
219
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
220
|
+
const localVarHeaderParameter = {};
|
|
221
|
+
const localVarQueryParameter = {};
|
|
222
|
+
// authentication tokenScheme required
|
|
223
|
+
// http bearer authentication required
|
|
224
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
225
|
+
if (page !== undefined) {
|
|
226
|
+
localVarQueryParameter['page'] = page;
|
|
227
|
+
}
|
|
228
|
+
if (size !== undefined) {
|
|
229
|
+
localVarQueryParameter['size'] = size;
|
|
230
|
+
}
|
|
231
|
+
if (billCode !== undefined) {
|
|
232
|
+
localVarQueryParameter['billCode'] = billCode;
|
|
233
|
+
}
|
|
234
|
+
if (startTime !== undefined) {
|
|
235
|
+
localVarQueryParameter['startTime'] = startTime;
|
|
236
|
+
}
|
|
237
|
+
if (endTime !== undefined) {
|
|
238
|
+
localVarQueryParameter['endTime'] = endTime;
|
|
239
|
+
}
|
|
240
|
+
if (energyTypes) {
|
|
241
|
+
localVarQueryParameter['energyTypes'] = energyTypes;
|
|
242
|
+
}
|
|
243
|
+
if (status) {
|
|
244
|
+
localVarQueryParameter['status'] = status;
|
|
245
|
+
}
|
|
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
|
+
return {
|
|
250
|
+
url: toPathString(localVarUrlObj),
|
|
251
|
+
options: localVarRequestOptions,
|
|
252
|
+
};
|
|
253
|
+
}),
|
|
198
254
|
/**
|
|
199
255
|
* 用于前端实时计算,返回计算结果,但不会将数据存入数据库。
|
|
200
256
|
* @summary 计算能源消耗(不保存)
|
|
@@ -407,6 +463,28 @@ export const EnergyCostRecordControllerApiFp = function (configuration) {
|
|
|
407
463
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
408
464
|
});
|
|
409
465
|
},
|
|
466
|
+
/**
|
|
467
|
+
*
|
|
468
|
+
* @summary 新增能源消耗-列表导出
|
|
469
|
+
* @param {number} [page]
|
|
470
|
+
* @param {number} [size]
|
|
471
|
+
* @param {string} [billCode]
|
|
472
|
+
* @param {string} [startTime]
|
|
473
|
+
* @param {string} [endTime]
|
|
474
|
+
* @param {Array<EnergyCostAddRecordListExportEnergyTypesEnum>} [energyTypes]
|
|
475
|
+
* @param {Array<number>} [status]
|
|
476
|
+
* @param {*} [options] Override http request option.
|
|
477
|
+
* @throws {RequiredError}
|
|
478
|
+
*/
|
|
479
|
+
energyCostAddRecordListExport(page, size, billCode, startTime, endTime, energyTypes, status, options) {
|
|
480
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
481
|
+
var _a, _b, _c;
|
|
482
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordListExport(page, size, billCode, startTime, endTime, energyTypes, status, options);
|
|
483
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
484
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostRecordControllerApi.energyCostAddRecordListExport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
485
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
486
|
+
});
|
|
487
|
+
},
|
|
410
488
|
/**
|
|
411
489
|
* 用于前端实时计算,返回计算结果,但不会将数据存入数据库。
|
|
412
490
|
* @summary 计算能源消耗(不保存)
|
|
@@ -520,6 +598,16 @@ export const EnergyCostRecordControllerApiFactory = function (configuration, bas
|
|
|
520
598
|
energyCostAddRecordList(requestParameters = {}, options) {
|
|
521
599
|
return localVarFp.energyCostAddRecordList(requestParameters.page, requestParameters.size, requestParameters.billCode, requestParameters.startTime, requestParameters.endTime, requestParameters.energyTypes, requestParameters.status, options).then((request) => request(axios, basePath));
|
|
522
600
|
},
|
|
601
|
+
/**
|
|
602
|
+
*
|
|
603
|
+
* @summary 新增能源消耗-列表导出
|
|
604
|
+
* @param {EnergyCostRecordControllerApiEnergyCostAddRecordListExportRequest} requestParameters Request parameters.
|
|
605
|
+
* @param {*} [options] Override http request option.
|
|
606
|
+
* @throws {RequiredError}
|
|
607
|
+
*/
|
|
608
|
+
energyCostAddRecordListExport(requestParameters = {}, options) {
|
|
609
|
+
return localVarFp.energyCostAddRecordListExport(requestParameters.page, requestParameters.size, requestParameters.billCode, requestParameters.startTime, requestParameters.endTime, requestParameters.energyTypes, requestParameters.status, options).then((request) => request(axios, basePath));
|
|
610
|
+
},
|
|
523
611
|
/**
|
|
524
612
|
* 用于前端实时计算,返回计算结果,但不会将数据存入数据库。
|
|
525
613
|
* @summary 计算能源消耗(不保存)
|
|
@@ -613,6 +701,17 @@ export class EnergyCostRecordControllerApi extends BaseAPI {
|
|
|
613
701
|
energyCostAddRecordList(requestParameters = {}, options) {
|
|
614
702
|
return EnergyCostRecordControllerApiFp(this.configuration).energyCostAddRecordList(requestParameters.page, requestParameters.size, requestParameters.billCode, requestParameters.startTime, requestParameters.endTime, requestParameters.energyTypes, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
|
|
615
703
|
}
|
|
704
|
+
/**
|
|
705
|
+
*
|
|
706
|
+
* @summary 新增能源消耗-列表导出
|
|
707
|
+
* @param {EnergyCostRecordControllerApiEnergyCostAddRecordListExportRequest} requestParameters Request parameters.
|
|
708
|
+
* @param {*} [options] Override http request option.
|
|
709
|
+
* @throws {RequiredError}
|
|
710
|
+
* @memberof EnergyCostRecordControllerApi
|
|
711
|
+
*/
|
|
712
|
+
energyCostAddRecordListExport(requestParameters = {}, options) {
|
|
713
|
+
return EnergyCostRecordControllerApiFp(this.configuration).energyCostAddRecordListExport(requestParameters.page, requestParameters.size, requestParameters.billCode, requestParameters.startTime, requestParameters.endTime, requestParameters.energyTypes, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
|
|
714
|
+
}
|
|
616
715
|
/**
|
|
617
716
|
* 用于前端实时计算,返回计算结果,但不会将数据存入数据库。
|
|
618
717
|
* @summary 计算能源消耗(不保存)
|
|
@@ -665,3 +764,10 @@ export const EnergyCostAddRecordListEnergyTypesEnum = {
|
|
|
665
764
|
Electric: 'ELECTRIC',
|
|
666
765
|
Water: 'WATER'
|
|
667
766
|
};
|
|
767
|
+
/**
|
|
768
|
+
* @export
|
|
769
|
+
*/
|
|
770
|
+
export const EnergyCostAddRecordListExportEnergyTypesEnum = {
|
|
771
|
+
Electric: 'ELECTRIC',
|
|
772
|
+
Water: 'WATER'
|
|
773
|
+
};
|
|
@@ -94,15 +94,15 @@ export interface EnergyCostAddRecordDTO {
|
|
|
94
94
|
* @type {number}
|
|
95
95
|
* @memberof EnergyCostAddRecordDTO
|
|
96
96
|
*/
|
|
97
|
-
'unitPrice'
|
|
97
|
+
'unitPrice'?: number;
|
|
98
98
|
/**
|
|
99
|
-
*
|
|
99
|
+
* 单平单价
|
|
100
100
|
* @type {number}
|
|
101
101
|
* @memberof EnergyCostAddRecordDTO
|
|
102
102
|
*/
|
|
103
103
|
'pricePerSquareMeter'?: number;
|
|
104
104
|
/**
|
|
105
|
-
*
|
|
105
|
+
* 单平单耗
|
|
106
106
|
* @type {number}
|
|
107
107
|
* @memberof EnergyCostAddRecordDTO
|
|
108
108
|
*/
|
|
@@ -30,16 +30,16 @@ export interface IPageEnergyCostRecordInfoVO {
|
|
|
30
30
|
'current'?: number;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
|
-
* @type {
|
|
33
|
+
* @type {Array<EnergyCostRecordInfoVO>}
|
|
34
34
|
* @memberof IPageEnergyCostRecordInfoVO
|
|
35
35
|
*/
|
|
36
|
-
'
|
|
36
|
+
'records'?: Array<EnergyCostRecordInfoVO>;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
-
* @type {
|
|
39
|
+
* @type {boolean}
|
|
40
40
|
* @memberof IPageEnergyCostRecordInfoVO
|
|
41
41
|
*/
|
|
42
|
-
'
|
|
42
|
+
'searchCount'?: boolean;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
45
|
* @type {number}
|
|
@@ -377,14 +377,14 @@ export interface SysUser {
|
|
|
377
377
|
'sourceUserId'?: string;
|
|
378
378
|
/**
|
|
379
379
|
*
|
|
380
|
-
* @type {
|
|
380
|
+
* @type {string}
|
|
381
381
|
* @memberof SysUser
|
|
382
382
|
*/
|
|
383
|
-
'
|
|
383
|
+
'cid'?: string;
|
|
384
384
|
/**
|
|
385
385
|
*
|
|
386
|
-
* @type {
|
|
386
|
+
* @type {number}
|
|
387
387
|
* @memberof SysUser
|
|
388
388
|
*/
|
|
389
|
-
'
|
|
389
|
+
'cuserId'?: number;
|
|
390
390
|
}
|
|
@@ -94,15 +94,15 @@ export interface EnergyCostAddRecordDTO {
|
|
|
94
94
|
* @type {number}
|
|
95
95
|
* @memberof EnergyCostAddRecordDTO
|
|
96
96
|
*/
|
|
97
|
-
'unitPrice'
|
|
97
|
+
'unitPrice'?: number;
|
|
98
98
|
/**
|
|
99
|
-
*
|
|
99
|
+
* 单平单价
|
|
100
100
|
* @type {number}
|
|
101
101
|
* @memberof EnergyCostAddRecordDTO
|
|
102
102
|
*/
|
|
103
103
|
'pricePerSquareMeter'?: number;
|
|
104
104
|
/**
|
|
105
|
-
*
|
|
105
|
+
* 单平单耗
|
|
106
106
|
* @type {number}
|
|
107
107
|
* @memberof EnergyCostAddRecordDTO
|
|
108
108
|
*/
|
|
@@ -30,16 +30,16 @@ export interface IPageEnergyCostRecordInfoVO {
|
|
|
30
30
|
'current'?: number;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
|
-
* @type {
|
|
33
|
+
* @type {Array<EnergyCostRecordInfoVO>}
|
|
34
34
|
* @memberof IPageEnergyCostRecordInfoVO
|
|
35
35
|
*/
|
|
36
|
-
'
|
|
36
|
+
'records'?: Array<EnergyCostRecordInfoVO>;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
-
* @type {
|
|
39
|
+
* @type {boolean}
|
|
40
40
|
* @memberof IPageEnergyCostRecordInfoVO
|
|
41
41
|
*/
|
|
42
|
-
'
|
|
42
|
+
'searchCount'?: boolean;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
45
|
* @type {number}
|
|
@@ -377,14 +377,14 @@ export interface SysUser {
|
|
|
377
377
|
'sourceUserId'?: string;
|
|
378
378
|
/**
|
|
379
379
|
*
|
|
380
|
-
* @type {
|
|
380
|
+
* @type {string}
|
|
381
381
|
* @memberof SysUser
|
|
382
382
|
*/
|
|
383
|
-
'
|
|
383
|
+
'cid'?: string;
|
|
384
384
|
/**
|
|
385
385
|
*
|
|
386
|
-
* @type {
|
|
386
|
+
* @type {number}
|
|
387
387
|
* @memberof SysUser
|
|
388
388
|
*/
|
|
389
|
-
'
|
|
389
|
+
'cuserId'?: number;
|
|
390
390
|
}
|
|
@@ -103,15 +103,15 @@ export interface EnergyCostAddRecordDTO {
|
|
|
103
103
|
* @type {number}
|
|
104
104
|
* @memberof EnergyCostAddRecordDTO
|
|
105
105
|
*/
|
|
106
|
-
'unitPrice'
|
|
106
|
+
'unitPrice'?: number;
|
|
107
107
|
/**
|
|
108
|
-
*
|
|
108
|
+
* 单平单价
|
|
109
109
|
* @type {number}
|
|
110
110
|
* @memberof EnergyCostAddRecordDTO
|
|
111
111
|
*/
|
|
112
112
|
'pricePerSquareMeter'?: number;
|
|
113
113
|
/**
|
|
114
|
-
*
|
|
114
|
+
* 单平单耗
|
|
115
115
|
* @type {number}
|
|
116
116
|
* @memberof EnergyCostAddRecordDTO
|
|
117
117
|
*/
|
|
@@ -37,16 +37,16 @@ export interface IPageEnergyCostRecordInfoVO {
|
|
|
37
37
|
'current'?: number;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
|
-
* @type {
|
|
40
|
+
* @type {Array<EnergyCostRecordInfoVO>}
|
|
41
41
|
* @memberof IPageEnergyCostRecordInfoVO
|
|
42
42
|
*/
|
|
43
|
-
'
|
|
43
|
+
'records'?: Array<EnergyCostRecordInfoVO>;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
|
-
* @type {
|
|
46
|
+
* @type {boolean}
|
|
47
47
|
* @memberof IPageEnergyCostRecordInfoVO
|
|
48
48
|
*/
|
|
49
|
-
'
|
|
49
|
+
'searchCount'?: boolean;
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
52
|
* @type {number}
|
package/models/sys-user.ts
CHANGED
|
@@ -388,16 +388,16 @@ export interface SysUser {
|
|
|
388
388
|
'sourceUserId'?: string;
|
|
389
389
|
/**
|
|
390
390
|
*
|
|
391
|
-
* @type {
|
|
391
|
+
* @type {string}
|
|
392
392
|
* @memberof SysUser
|
|
393
393
|
*/
|
|
394
|
-
'
|
|
394
|
+
'cid'?: string;
|
|
395
395
|
/**
|
|
396
396
|
*
|
|
397
|
-
* @type {
|
|
397
|
+
* @type {number}
|
|
398
398
|
* @memberof SysUser
|
|
399
399
|
*/
|
|
400
|
-
'
|
|
400
|
+
'cuserId'?: number;
|
|
401
401
|
}
|
|
402
402
|
|
|
403
403
|
|