@gizone/rrs-client 4.2.9-alpha.480 → 4.2.9-alpha.482
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/common-api.ts +33 -5
- package/dist/apis/common-api.d.ts +18 -2
- package/dist/apis/common-api.js +17 -5
- package/dist/esm/apis/common-api.d.ts +18 -2
- package/dist/esm/apis/common-api.js +17 -5
- package/dist/esm/models/calendar-entity.d.ts +1 -1
- package/dist/esm/models/park-info-dto.d.ts +6 -0
- package/dist/esm/models/park-info-edit-vo.d.ts +6 -0
- package/dist/esm/models/park-list-dto.d.ts +6 -0
- package/dist/esm/models/sys-user.d.ts +4 -4
- package/dist/models/calendar-entity.d.ts +1 -1
- package/dist/models/park-info-dto.d.ts +6 -0
- package/dist/models/park-info-edit-vo.d.ts +6 -0
- package/dist/models/park-list-dto.d.ts +6 -0
- package/dist/models/sys-user.d.ts +4 -4
- package/models/calendar-entity.ts +1 -1
- package/models/park-info-dto.ts +6 -0
- package/models/park-info-edit-vo.ts +6 -0
- package/models/park-list-dto.ts +6 -0
- package/models/sys-user.ts +4 -4
- package/package.json +1 -1
package/apis/common-api.ts
CHANGED
|
@@ -1594,10 +1594,12 @@ export const CommonApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
1594
1594
|
* @param {string} [centerCode] 中心编码
|
|
1595
1595
|
* @param {boolean} [isSrm] 是否查询srm数据
|
|
1596
1596
|
* @param {ParkCenterAttributeEnum} [parkCenterAttribute] 园区属性
|
|
1597
|
+
* @param {string} [contractEndTime] 合同到期时间(合同结束时间小于此时间)
|
|
1598
|
+
* @param {string} [status] 园区状态 0:启用 1:停用
|
|
1597
1599
|
* @param {*} [options] Override http request option.
|
|
1598
1600
|
* @throws {RequiredError}
|
|
1599
1601
|
*/
|
|
1600
|
-
selectParkList: async (centerCode?: string, isSrm?: boolean, parkCenterAttribute?: ParkCenterAttributeEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1602
|
+
selectParkList: async (centerCode?: string, isSrm?: boolean, parkCenterAttribute?: ParkCenterAttributeEnum, contractEndTime?: string, status?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1601
1603
|
const localVarPath = `/system/dept/park`;
|
|
1602
1604
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1603
1605
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1626,6 +1628,16 @@ export const CommonApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
1626
1628
|
localVarQueryParameter['parkCenterAttribute'] = parkCenterAttribute;
|
|
1627
1629
|
}
|
|
1628
1630
|
|
|
1631
|
+
if (contractEndTime !== undefined) {
|
|
1632
|
+
localVarQueryParameter['contractEndTime'] = (contractEndTime as any instanceof Date) ?
|
|
1633
|
+
(contractEndTime as any).toISOString() :
|
|
1634
|
+
contractEndTime;
|
|
1635
|
+
}
|
|
1636
|
+
|
|
1637
|
+
if (status !== undefined) {
|
|
1638
|
+
localVarQueryParameter['status'] = status;
|
|
1639
|
+
}
|
|
1640
|
+
|
|
1629
1641
|
|
|
1630
1642
|
|
|
1631
1643
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -2544,11 +2556,13 @@ export const CommonApiFp = function(configuration?: Configuration) {
|
|
|
2544
2556
|
* @param {string} [centerCode] 中心编码
|
|
2545
2557
|
* @param {boolean} [isSrm] 是否查询srm数据
|
|
2546
2558
|
* @param {ParkCenterAttributeEnum} [parkCenterAttribute] 园区属性
|
|
2559
|
+
* @param {string} [contractEndTime] 合同到期时间(合同结束时间小于此时间)
|
|
2560
|
+
* @param {string} [status] 园区状态 0:启用 1:停用
|
|
2547
2561
|
* @param {*} [options] Override http request option.
|
|
2548
2562
|
* @throws {RequiredError}
|
|
2549
2563
|
*/
|
|
2550
|
-
async selectParkList(centerCode?: string, isSrm?: boolean, parkCenterAttribute?: ParkCenterAttributeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListParkListDTO>> {
|
|
2551
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.selectParkList(centerCode, isSrm, parkCenterAttribute, options);
|
|
2564
|
+
async selectParkList(centerCode?: string, isSrm?: boolean, parkCenterAttribute?: ParkCenterAttributeEnum, contractEndTime?: string, status?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListParkListDTO>> {
|
|
2565
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.selectParkList(centerCode, isSrm, parkCenterAttribute, contractEndTime, status, options);
|
|
2552
2566
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2553
2567
|
const localVarOperationServerBasePath = operationServerMap['CommonApi.selectParkList']?.[localVarOperationServerIndex]?.url;
|
|
2554
2568
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3054,7 +3068,7 @@ export const CommonApiFactory = function (configuration?: Configuration, basePat
|
|
|
3054
3068
|
* @throws {RequiredError}
|
|
3055
3069
|
*/
|
|
3056
3070
|
selectParkList(requestParameters: CommonApiSelectParkListRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListParkListDTO> {
|
|
3057
|
-
return localVarFp.selectParkList(requestParameters.centerCode, requestParameters.isSrm, requestParameters.parkCenterAttribute, options).then((request) => request(axios, basePath));
|
|
3071
|
+
return localVarFp.selectParkList(requestParameters.centerCode, requestParameters.isSrm, requestParameters.parkCenterAttribute, requestParameters.contractEndTime, requestParameters.status, options).then((request) => request(axios, basePath));
|
|
3058
3072
|
},
|
|
3059
3073
|
/**
|
|
3060
3074
|
*
|
|
@@ -3691,6 +3705,20 @@ export interface CommonApiSelectParkListRequest {
|
|
|
3691
3705
|
* @memberof CommonApiSelectParkList
|
|
3692
3706
|
*/
|
|
3693
3707
|
readonly parkCenterAttribute?: ParkCenterAttributeEnum
|
|
3708
|
+
|
|
3709
|
+
/**
|
|
3710
|
+
* 合同到期时间(合同结束时间小于此时间)
|
|
3711
|
+
* @type {string}
|
|
3712
|
+
* @memberof CommonApiSelectParkList
|
|
3713
|
+
*/
|
|
3714
|
+
readonly contractEndTime?: string
|
|
3715
|
+
|
|
3716
|
+
/**
|
|
3717
|
+
* 园区状态 0:启用 1:停用
|
|
3718
|
+
* @type {string}
|
|
3719
|
+
* @memberof CommonApiSelectParkList
|
|
3720
|
+
*/
|
|
3721
|
+
readonly status?: string
|
|
3694
3722
|
}
|
|
3695
3723
|
|
|
3696
3724
|
/**
|
|
@@ -4301,7 +4329,7 @@ export class CommonApi extends BaseAPI {
|
|
|
4301
4329
|
* @memberof CommonApi
|
|
4302
4330
|
*/
|
|
4303
4331
|
public selectParkList(requestParameters: CommonApiSelectParkListRequest = {}, options?: RawAxiosRequestConfig) {
|
|
4304
|
-
return CommonApiFp(this.configuration).selectParkList(requestParameters.centerCode, requestParameters.isSrm, requestParameters.parkCenterAttribute, options).then((request) => request(this.axios, this.basePath));
|
|
4332
|
+
return CommonApiFp(this.configuration).selectParkList(requestParameters.centerCode, requestParameters.isSrm, requestParameters.parkCenterAttribute, requestParameters.contractEndTime, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
|
|
4305
4333
|
}
|
|
4306
4334
|
|
|
4307
4335
|
/**
|
|
@@ -331,10 +331,12 @@ export declare const CommonApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
331
331
|
* @param {string} [centerCode] 中心编码
|
|
332
332
|
* @param {boolean} [isSrm] 是否查询srm数据
|
|
333
333
|
* @param {ParkCenterAttributeEnum} [parkCenterAttribute] 园区属性
|
|
334
|
+
* @param {string} [contractEndTime] 合同到期时间(合同结束时间小于此时间)
|
|
335
|
+
* @param {string} [status] 园区状态 0:启用 1:停用
|
|
334
336
|
* @param {*} [options] Override http request option.
|
|
335
337
|
* @throws {RequiredError}
|
|
336
338
|
*/
|
|
337
|
-
selectParkList: (centerCode?: string, isSrm?: boolean, parkCenterAttribute?: ParkCenterAttributeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
339
|
+
selectParkList: (centerCode?: string, isSrm?: boolean, parkCenterAttribute?: ParkCenterAttributeEnum, contractEndTime?: string, status?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
338
340
|
/**
|
|
339
341
|
*
|
|
340
342
|
* @summary 通过权限标识查询用户所有园区
|
|
@@ -741,10 +743,12 @@ export declare const CommonApiFp: (configuration?: Configuration) => {
|
|
|
741
743
|
* @param {string} [centerCode] 中心编码
|
|
742
744
|
* @param {boolean} [isSrm] 是否查询srm数据
|
|
743
745
|
* @param {ParkCenterAttributeEnum} [parkCenterAttribute] 园区属性
|
|
746
|
+
* @param {string} [contractEndTime] 合同到期时间(合同结束时间小于此时间)
|
|
747
|
+
* @param {string} [status] 园区状态 0:启用 1:停用
|
|
744
748
|
* @param {*} [options] Override http request option.
|
|
745
749
|
* @throws {RequiredError}
|
|
746
750
|
*/
|
|
747
|
-
selectParkList(centerCode?: string, isSrm?: boolean, parkCenterAttribute?: ParkCenterAttributeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListParkListDTO>>;
|
|
751
|
+
selectParkList(centerCode?: string, isSrm?: boolean, parkCenterAttribute?: ParkCenterAttributeEnum, contractEndTime?: string, status?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListParkListDTO>>;
|
|
748
752
|
/**
|
|
749
753
|
*
|
|
750
754
|
* @summary 通过权限标识查询用户所有园区
|
|
@@ -1739,6 +1743,18 @@ export interface CommonApiSelectParkListRequest {
|
|
|
1739
1743
|
* @memberof CommonApiSelectParkList
|
|
1740
1744
|
*/
|
|
1741
1745
|
readonly parkCenterAttribute?: ParkCenterAttributeEnum;
|
|
1746
|
+
/**
|
|
1747
|
+
* 合同到期时间(合同结束时间小于此时间)
|
|
1748
|
+
* @type {string}
|
|
1749
|
+
* @memberof CommonApiSelectParkList
|
|
1750
|
+
*/
|
|
1751
|
+
readonly contractEndTime?: string;
|
|
1752
|
+
/**
|
|
1753
|
+
* 园区状态 0:启用 1:停用
|
|
1754
|
+
* @type {string}
|
|
1755
|
+
* @memberof CommonApiSelectParkList
|
|
1756
|
+
*/
|
|
1757
|
+
readonly status?: string;
|
|
1742
1758
|
}
|
|
1743
1759
|
/**
|
|
1744
1760
|
* Request parameters for selectParkListByPermission operation in CommonApi.
|
package/dist/apis/common-api.js
CHANGED
|
@@ -1294,10 +1294,12 @@ const CommonApiAxiosParamCreator = function (configuration) {
|
|
|
1294
1294
|
* @param {string} [centerCode] 中心编码
|
|
1295
1295
|
* @param {boolean} [isSrm] 是否查询srm数据
|
|
1296
1296
|
* @param {ParkCenterAttributeEnum} [parkCenterAttribute] 园区属性
|
|
1297
|
+
* @param {string} [contractEndTime] 合同到期时间(合同结束时间小于此时间)
|
|
1298
|
+
* @param {string} [status] 园区状态 0:启用 1:停用
|
|
1297
1299
|
* @param {*} [options] Override http request option.
|
|
1298
1300
|
* @throws {RequiredError}
|
|
1299
1301
|
*/
|
|
1300
|
-
selectParkList: (centerCode_1, isSrm_1, parkCenterAttribute_1, ...args_1) => __awaiter(this, [centerCode_1, isSrm_1, parkCenterAttribute_1, ...args_1], void 0, function* (centerCode, isSrm, parkCenterAttribute, options = {}) {
|
|
1302
|
+
selectParkList: (centerCode_1, isSrm_1, parkCenterAttribute_1, contractEndTime_1, status_1, ...args_1) => __awaiter(this, [centerCode_1, isSrm_1, parkCenterAttribute_1, contractEndTime_1, status_1, ...args_1], void 0, function* (centerCode, isSrm, parkCenterAttribute, contractEndTime, status, options = {}) {
|
|
1301
1303
|
const localVarPath = `/system/dept/park`;
|
|
1302
1304
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1303
1305
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1320,6 +1322,14 @@ const CommonApiAxiosParamCreator = function (configuration) {
|
|
|
1320
1322
|
if (parkCenterAttribute !== undefined) {
|
|
1321
1323
|
localVarQueryParameter['parkCenterAttribute'] = parkCenterAttribute;
|
|
1322
1324
|
}
|
|
1325
|
+
if (contractEndTime !== undefined) {
|
|
1326
|
+
localVarQueryParameter['contractEndTime'] = (contractEndTime instanceof Date) ?
|
|
1327
|
+
contractEndTime.toISOString() :
|
|
1328
|
+
contractEndTime;
|
|
1329
|
+
}
|
|
1330
|
+
if (status !== undefined) {
|
|
1331
|
+
localVarQueryParameter['status'] = status;
|
|
1332
|
+
}
|
|
1323
1333
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1324
1334
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1325
1335
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2275,13 +2285,15 @@ const CommonApiFp = function (configuration) {
|
|
|
2275
2285
|
* @param {string} [centerCode] 中心编码
|
|
2276
2286
|
* @param {boolean} [isSrm] 是否查询srm数据
|
|
2277
2287
|
* @param {ParkCenterAttributeEnum} [parkCenterAttribute] 园区属性
|
|
2288
|
+
* @param {string} [contractEndTime] 合同到期时间(合同结束时间小于此时间)
|
|
2289
|
+
* @param {string} [status] 园区状态 0:启用 1:停用
|
|
2278
2290
|
* @param {*} [options] Override http request option.
|
|
2279
2291
|
* @throws {RequiredError}
|
|
2280
2292
|
*/
|
|
2281
|
-
selectParkList(centerCode, isSrm, parkCenterAttribute, options) {
|
|
2293
|
+
selectParkList(centerCode, isSrm, parkCenterAttribute, contractEndTime, status, options) {
|
|
2282
2294
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2283
2295
|
var _a, _b, _c;
|
|
2284
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.selectParkList(centerCode, isSrm, parkCenterAttribute, options);
|
|
2296
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.selectParkList(centerCode, isSrm, parkCenterAttribute, contractEndTime, status, options);
|
|
2285
2297
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2286
2298
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CommonApi.selectParkList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2287
2299
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2818,7 +2830,7 @@ const CommonApiFactory = function (configuration, basePath, axios) {
|
|
|
2818
2830
|
* @throws {RequiredError}
|
|
2819
2831
|
*/
|
|
2820
2832
|
selectParkList(requestParameters = {}, options) {
|
|
2821
|
-
return localVarFp.selectParkList(requestParameters.centerCode, requestParameters.isSrm, requestParameters.parkCenterAttribute, options).then((request) => request(axios, basePath));
|
|
2833
|
+
return localVarFp.selectParkList(requestParameters.centerCode, requestParameters.isSrm, requestParameters.parkCenterAttribute, requestParameters.contractEndTime, requestParameters.status, options).then((request) => request(axios, basePath));
|
|
2822
2834
|
},
|
|
2823
2835
|
/**
|
|
2824
2836
|
*
|
|
@@ -3327,7 +3339,7 @@ class CommonApi extends base_1.BaseAPI {
|
|
|
3327
3339
|
* @memberof CommonApi
|
|
3328
3340
|
*/
|
|
3329
3341
|
selectParkList(requestParameters = {}, options) {
|
|
3330
|
-
return (0, exports.CommonApiFp)(this.configuration).selectParkList(requestParameters.centerCode, requestParameters.isSrm, requestParameters.parkCenterAttribute, options).then((request) => request(this.axios, this.basePath));
|
|
3342
|
+
return (0, exports.CommonApiFp)(this.configuration).selectParkList(requestParameters.centerCode, requestParameters.isSrm, requestParameters.parkCenterAttribute, requestParameters.contractEndTime, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
|
|
3331
3343
|
}
|
|
3332
3344
|
/**
|
|
3333
3345
|
*
|
|
@@ -331,10 +331,12 @@ export declare const CommonApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
331
331
|
* @param {string} [centerCode] 中心编码
|
|
332
332
|
* @param {boolean} [isSrm] 是否查询srm数据
|
|
333
333
|
* @param {ParkCenterAttributeEnum} [parkCenterAttribute] 园区属性
|
|
334
|
+
* @param {string} [contractEndTime] 合同到期时间(合同结束时间小于此时间)
|
|
335
|
+
* @param {string} [status] 园区状态 0:启用 1:停用
|
|
334
336
|
* @param {*} [options] Override http request option.
|
|
335
337
|
* @throws {RequiredError}
|
|
336
338
|
*/
|
|
337
|
-
selectParkList: (centerCode?: string, isSrm?: boolean, parkCenterAttribute?: ParkCenterAttributeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
339
|
+
selectParkList: (centerCode?: string, isSrm?: boolean, parkCenterAttribute?: ParkCenterAttributeEnum, contractEndTime?: string, status?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
338
340
|
/**
|
|
339
341
|
*
|
|
340
342
|
* @summary 通过权限标识查询用户所有园区
|
|
@@ -741,10 +743,12 @@ export declare const CommonApiFp: (configuration?: Configuration) => {
|
|
|
741
743
|
* @param {string} [centerCode] 中心编码
|
|
742
744
|
* @param {boolean} [isSrm] 是否查询srm数据
|
|
743
745
|
* @param {ParkCenterAttributeEnum} [parkCenterAttribute] 园区属性
|
|
746
|
+
* @param {string} [contractEndTime] 合同到期时间(合同结束时间小于此时间)
|
|
747
|
+
* @param {string} [status] 园区状态 0:启用 1:停用
|
|
744
748
|
* @param {*} [options] Override http request option.
|
|
745
749
|
* @throws {RequiredError}
|
|
746
750
|
*/
|
|
747
|
-
selectParkList(centerCode?: string, isSrm?: boolean, parkCenterAttribute?: ParkCenterAttributeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListParkListDTO>>;
|
|
751
|
+
selectParkList(centerCode?: string, isSrm?: boolean, parkCenterAttribute?: ParkCenterAttributeEnum, contractEndTime?: string, status?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListParkListDTO>>;
|
|
748
752
|
/**
|
|
749
753
|
*
|
|
750
754
|
* @summary 通过权限标识查询用户所有园区
|
|
@@ -1739,6 +1743,18 @@ export interface CommonApiSelectParkListRequest {
|
|
|
1739
1743
|
* @memberof CommonApiSelectParkList
|
|
1740
1744
|
*/
|
|
1741
1745
|
readonly parkCenterAttribute?: ParkCenterAttributeEnum;
|
|
1746
|
+
/**
|
|
1747
|
+
* 合同到期时间(合同结束时间小于此时间)
|
|
1748
|
+
* @type {string}
|
|
1749
|
+
* @memberof CommonApiSelectParkList
|
|
1750
|
+
*/
|
|
1751
|
+
readonly contractEndTime?: string;
|
|
1752
|
+
/**
|
|
1753
|
+
* 园区状态 0:启用 1:停用
|
|
1754
|
+
* @type {string}
|
|
1755
|
+
* @memberof CommonApiSelectParkList
|
|
1756
|
+
*/
|
|
1757
|
+
readonly status?: string;
|
|
1742
1758
|
}
|
|
1743
1759
|
/**
|
|
1744
1760
|
* Request parameters for selectParkListByPermission operation in CommonApi.
|
|
@@ -1291,10 +1291,12 @@ export const CommonApiAxiosParamCreator = function (configuration) {
|
|
|
1291
1291
|
* @param {string} [centerCode] 中心编码
|
|
1292
1292
|
* @param {boolean} [isSrm] 是否查询srm数据
|
|
1293
1293
|
* @param {ParkCenterAttributeEnum} [parkCenterAttribute] 园区属性
|
|
1294
|
+
* @param {string} [contractEndTime] 合同到期时间(合同结束时间小于此时间)
|
|
1295
|
+
* @param {string} [status] 园区状态 0:启用 1:停用
|
|
1294
1296
|
* @param {*} [options] Override http request option.
|
|
1295
1297
|
* @throws {RequiredError}
|
|
1296
1298
|
*/
|
|
1297
|
-
selectParkList: (centerCode_1, isSrm_1, parkCenterAttribute_1, ...args_1) => __awaiter(this, [centerCode_1, isSrm_1, parkCenterAttribute_1, ...args_1], void 0, function* (centerCode, isSrm, parkCenterAttribute, options = {}) {
|
|
1299
|
+
selectParkList: (centerCode_1, isSrm_1, parkCenterAttribute_1, contractEndTime_1, status_1, ...args_1) => __awaiter(this, [centerCode_1, isSrm_1, parkCenterAttribute_1, contractEndTime_1, status_1, ...args_1], void 0, function* (centerCode, isSrm, parkCenterAttribute, contractEndTime, status, options = {}) {
|
|
1298
1300
|
const localVarPath = `/system/dept/park`;
|
|
1299
1301
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1300
1302
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1317,6 +1319,14 @@ export const CommonApiAxiosParamCreator = function (configuration) {
|
|
|
1317
1319
|
if (parkCenterAttribute !== undefined) {
|
|
1318
1320
|
localVarQueryParameter['parkCenterAttribute'] = parkCenterAttribute;
|
|
1319
1321
|
}
|
|
1322
|
+
if (contractEndTime !== undefined) {
|
|
1323
|
+
localVarQueryParameter['contractEndTime'] = (contractEndTime instanceof Date) ?
|
|
1324
|
+
contractEndTime.toISOString() :
|
|
1325
|
+
contractEndTime;
|
|
1326
|
+
}
|
|
1327
|
+
if (status !== undefined) {
|
|
1328
|
+
localVarQueryParameter['status'] = status;
|
|
1329
|
+
}
|
|
1320
1330
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1321
1331
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1322
1332
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2271,13 +2281,15 @@ export const CommonApiFp = function (configuration) {
|
|
|
2271
2281
|
* @param {string} [centerCode] 中心编码
|
|
2272
2282
|
* @param {boolean} [isSrm] 是否查询srm数据
|
|
2273
2283
|
* @param {ParkCenterAttributeEnum} [parkCenterAttribute] 园区属性
|
|
2284
|
+
* @param {string} [contractEndTime] 合同到期时间(合同结束时间小于此时间)
|
|
2285
|
+
* @param {string} [status] 园区状态 0:启用 1:停用
|
|
2274
2286
|
* @param {*} [options] Override http request option.
|
|
2275
2287
|
* @throws {RequiredError}
|
|
2276
2288
|
*/
|
|
2277
|
-
selectParkList(centerCode, isSrm, parkCenterAttribute, options) {
|
|
2289
|
+
selectParkList(centerCode, isSrm, parkCenterAttribute, contractEndTime, status, options) {
|
|
2278
2290
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2279
2291
|
var _a, _b, _c;
|
|
2280
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.selectParkList(centerCode, isSrm, parkCenterAttribute, options);
|
|
2292
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.selectParkList(centerCode, isSrm, parkCenterAttribute, contractEndTime, status, options);
|
|
2281
2293
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2282
2294
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CommonApi.selectParkList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2283
2295
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2813,7 +2825,7 @@ export const CommonApiFactory = function (configuration, basePath, axios) {
|
|
|
2813
2825
|
* @throws {RequiredError}
|
|
2814
2826
|
*/
|
|
2815
2827
|
selectParkList(requestParameters = {}, options) {
|
|
2816
|
-
return localVarFp.selectParkList(requestParameters.centerCode, requestParameters.isSrm, requestParameters.parkCenterAttribute, options).then((request) => request(axios, basePath));
|
|
2828
|
+
return localVarFp.selectParkList(requestParameters.centerCode, requestParameters.isSrm, requestParameters.parkCenterAttribute, requestParameters.contractEndTime, requestParameters.status, options).then((request) => request(axios, basePath));
|
|
2817
2829
|
},
|
|
2818
2830
|
/**
|
|
2819
2831
|
*
|
|
@@ -3321,7 +3333,7 @@ export class CommonApi extends BaseAPI {
|
|
|
3321
3333
|
* @memberof CommonApi
|
|
3322
3334
|
*/
|
|
3323
3335
|
selectParkList(requestParameters = {}, options) {
|
|
3324
|
-
return CommonApiFp(this.configuration).selectParkList(requestParameters.centerCode, requestParameters.isSrm, requestParameters.parkCenterAttribute, options).then((request) => request(this.axios, this.basePath));
|
|
3336
|
+
return CommonApiFp(this.configuration).selectParkList(requestParameters.centerCode, requestParameters.isSrm, requestParameters.parkCenterAttribute, requestParameters.contractEndTime, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
|
|
3325
3337
|
}
|
|
3326
3338
|
/**
|
|
3327
3339
|
*
|
|
@@ -377,14 +377,14 @@ export interface SysUser {
|
|
|
377
377
|
'sourceUserId'?: string;
|
|
378
378
|
/**
|
|
379
379
|
*
|
|
380
|
-
* @type {
|
|
380
|
+
* @type {number}
|
|
381
381
|
* @memberof SysUser
|
|
382
382
|
*/
|
|
383
|
-
'
|
|
383
|
+
'cuserId'?: number;
|
|
384
384
|
/**
|
|
385
385
|
*
|
|
386
|
-
* @type {
|
|
386
|
+
* @type {string}
|
|
387
387
|
* @memberof SysUser
|
|
388
388
|
*/
|
|
389
|
-
'
|
|
389
|
+
'cid'?: string;
|
|
390
390
|
}
|
|
@@ -377,14 +377,14 @@ export interface SysUser {
|
|
|
377
377
|
'sourceUserId'?: string;
|
|
378
378
|
/**
|
|
379
379
|
*
|
|
380
|
-
* @type {
|
|
380
|
+
* @type {number}
|
|
381
381
|
* @memberof SysUser
|
|
382
382
|
*/
|
|
383
|
-
'
|
|
383
|
+
'cuserId'?: number;
|
|
384
384
|
/**
|
|
385
385
|
*
|
|
386
|
-
* @type {
|
|
386
|
+
* @type {string}
|
|
387
387
|
* @memberof SysUser
|
|
388
388
|
*/
|
|
389
|
-
'
|
|
389
|
+
'cid'?: string;
|
|
390
390
|
}
|
package/models/park-info-dto.ts
CHANGED
package/models/park-list-dto.ts
CHANGED
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 {number}
|
|
392
392
|
* @memberof SysUser
|
|
393
393
|
*/
|
|
394
|
-
'
|
|
394
|
+
'cuserId'?: number;
|
|
395
395
|
/**
|
|
396
396
|
*
|
|
397
|
-
* @type {
|
|
397
|
+
* @type {string}
|
|
398
398
|
* @memberof SysUser
|
|
399
399
|
*/
|
|
400
|
-
'
|
|
400
|
+
'cid'?: string;
|
|
401
401
|
}
|
|
402
402
|
|
|
403
403
|
|