|
|
@@ -115,10 +115,11 @@ export const SysOrgApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
* @param {number} id 主键Id
|
|
|
* @param {string} [name] 名称
|
|
|
* @param {string} [code] 编码
|
|
|
+ * @param {string} [orgType] 机构类型
|
|
|
* @param {*} [options] Override http request option.
|
|
|
* @throws {RequiredError}
|
|
|
*/
|
|
|
- apiSysOrgListGet: async (id: number, name?: string, code?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
+ apiSysOrgListGet: async (id: number, name?: string, code?: string, orgType?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
// verify required parameter 'id' is not null or undefined
|
|
|
if (id === null || id === undefined) {
|
|
|
throw new RequiredError('id','Required parameter id was null or undefined when calling apiSysOrgListGet.');
|
|
|
@@ -144,6 +145,10 @@ export const SysOrgApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
localVarQueryParameter['Code'] = code;
|
|
|
}
|
|
|
|
|
|
+ if (orgType !== undefined) {
|
|
|
+ localVarQueryParameter['OrgType'] = orgType;
|
|
|
+ }
|
|
|
+
|
|
|
if (id !== undefined) {
|
|
|
localVarQueryParameter['Id'] = id;
|
|
|
}
|
|
|
@@ -248,11 +253,12 @@ export const SysOrgApiFp = function(configuration?: Configuration) {
|
|
|
* @param {number} id 主键Id
|
|
|
* @param {string} [name] 名称
|
|
|
* @param {string} [code] 编码
|
|
|
+ * @param {string} [orgType] 机构类型
|
|
|
* @param {*} [options] Override http request option.
|
|
|
* @throws {RequiredError}
|
|
|
*/
|
|
|
- async apiSysOrgListGet(id: number, name?: string, code?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultListSysOrg>>> {
|
|
|
- const localVarAxiosArgs = await SysOrgApiAxiosParamCreator(configuration).apiSysOrgListGet(id, name, code, options);
|
|
|
+ async apiSysOrgListGet(id: number, name?: string, code?: string, orgType?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultListSysOrg>>> {
|
|
|
+ const localVarAxiosArgs = await SysOrgApiAxiosParamCreator(configuration).apiSysOrgListGet(id, name, code, orgType, options);
|
|
|
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
|
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
|
return axios.request(axiosRequestArgs);
|
|
|
@@ -307,11 +313,12 @@ export const SysOrgApiFactory = function (configuration?: Configuration, basePat
|
|
|
* @param {number} id 主键Id
|
|
|
* @param {string} [name] 名称
|
|
|
* @param {string} [code] 编码
|
|
|
+ * @param {string} [orgType] 机构类型
|
|
|
* @param {*} [options] Override http request option.
|
|
|
* @throws {RequiredError}
|
|
|
*/
|
|
|
- async apiSysOrgListGet(id: number, name?: string, code?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultListSysOrg>> {
|
|
|
- return SysOrgApiFp(configuration).apiSysOrgListGet(id, name, code, options).then((request) => request(axios, basePath));
|
|
|
+ async apiSysOrgListGet(id: number, name?: string, code?: string, orgType?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultListSysOrg>> {
|
|
|
+ return SysOrgApiFp(configuration).apiSysOrgListGet(id, name, code, orgType, options).then((request) => request(axios, basePath));
|
|
|
},
|
|
|
/**
|
|
|
*
|
|
|
@@ -361,12 +368,13 @@ export class SysOrgApi extends BaseAPI {
|
|
|
* @param {number} id 主键Id
|
|
|
* @param {string} [name] 名称
|
|
|
* @param {string} [code] 编码
|
|
|
+ * @param {string} [orgType] 机构类型
|
|
|
* @param {*} [options] Override http request option.
|
|
|
* @throws {RequiredError}
|
|
|
* @memberof SysOrgApi
|
|
|
*/
|
|
|
- public async apiSysOrgListGet(id: number, name?: string, code?: string, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultListSysOrg>> {
|
|
|
- return SysOrgApiFp(this.configuration).apiSysOrgListGet(id, name, code, options).then((request) => request(this.axios, this.basePath));
|
|
|
+ public async apiSysOrgListGet(id: number, name?: string, code?: string, orgType?: string, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultListSysOrg>> {
|
|
|
+ return SysOrgApiFp(this.configuration).apiSysOrgListGet(id, name, code, orgType, options).then((request) => request(this.axios, this.basePath));
|
|
|
}
|
|
|
/**
|
|
|
*
|