From 90a68941cad9dbd69d40c773c156110c5688a923 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期四, 07 八月 2025 18:05:02 +0800 Subject: [PATCH] fix: s --- packages/services/apiV2/dictionary.ts | 19 +++++++++++++++++-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/packages/services/apiV2/dictionary.ts b/packages/services/apiV2/dictionary.ts index 22cee24..c48fb89 100644 --- a/packages/services/apiV2/dictionary.ts +++ b/packages/services/apiV2/dictionary.ts @@ -41,7 +41,7 @@ params: API.APIgetDictionaryCategorySelectParams, options?: API.RequestConfig ) { - return request<API.SelectQueryResultOptionGuidGetDictionaryCategorySelectQueryOption[]>( + return request<API.SelectOptionGuidGetDictionaryCategorySelectQueryOption[]>( '/api/main/dictionary/getDictionaryCategorySelect', { method: 'GET', @@ -79,7 +79,7 @@ params: API.APIgetDictionaryDataSelectParams, options?: API.RequestConfig ) { - return request<API.SelectQueryResultOptionGuidGetDictionaryDataSelectQueryResultOption[]>( + return request<API.SelectOptionStringGetDictionaryDataSelectQueryResultOption[]>( '/api/main/dictionary/getDictionaryDataSelect', { method: 'GET', @@ -135,3 +135,18 @@ ...(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 || {}), + }); +} -- Gitblit v1.9.1