| | |
| | | params: API.APIgetDictionaryDataSelectParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.SelectOptionGuidGetDictionaryDataSelectQueryResultOption[]>( |
| | | return request<API.SelectOptionStringGetDictionaryDataSelectQueryResultOption[]>( |
| | | '/api/main/dictionary/getDictionaryDataSelect', |
| | | { |
| | | method: 'GET', |
| | |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 同步人力资源地区字典数据 POST /api/main/dictionary/syncHumanResourcesAreaDictionaryData */ |
| | | export async function syncHumanResourcesAreaDictionaryData( |
| | | body: API.SyncHumanResourcesAreaDictionaryDataCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/main/dictionary/syncHumanResourcesAreaDictionaryData', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |