From acaec313ab0e3c9381060e36bf3ce4abc606dc9a Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期五, 28 三月 2025 14:07:11 +0800
Subject: [PATCH] feat: 接口对接

---
 src/services/api/InsureBatchBill.ts |   59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 55 insertions(+), 4 deletions(-)

diff --git a/src/services/api/InsureBatchBill.ts b/src/services/api/InsureBatchBill.ts
index 3dd1b7a..37a76df 100644
--- a/src/services/api/InsureBatchBill.ts
+++ b/src/services/api/InsureBatchBill.ts
@@ -80,12 +80,63 @@
   );
 }
 
+/** 瀹㈡埛绔�-鎵规敼璇︽儏 GET /api/InsureBatchBill/GetInsureBatchDetail */
+export async function getInsureBatchDetail(
+  // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+  params: API.APIgetInsureBatchDetailParams,
+  options?: API.RequestConfig
+) {
+  return request<API.InsureBatchDetailDto>('/api/InsureBatchBill/GetInsureBatchDetail', {
+    method: 'GET',
+    params: {
+      ...params,
+    },
+    ...(options || {}),
+  });
+}
+
 /** 瀹㈡埛绔�-鎵瑰崟澧炲憳鍑忓憳淇濆崟鏁版嵁瀵煎叆 POST /api/InsureBatchBill/ImportBatchAddOrSubOrderData */
 export async function importBatchAddOrSubOrderData(
   body: API.ImportBatchAddOrSubOrderInput,
   options?: API.RequestConfig
 ) {
-  return request<any>('/api/InsureBatchBill/ImportBatchAddOrSubOrderData', {
+  return request<API.CheckImportBatchAddOrSubOrderDataOutput>(
+    '/api/InsureBatchBill/ImportBatchAddOrSubOrderData',
+    {
+      method: 'POST',
+      headers: {
+        'Content-Type': 'application/json',
+      },
+      data: body,
+      ...(options || {}),
+    }
+  );
+}
+
+/** 瀹㈡埛绔�-鎵瑰崟鏇挎崲鏁版嵁瀵煎叆 POST /api/InsureBatchBill/ImportBatchUpdateOrderData */
+export async function importBatchUpdateOrderData(
+  body: API.ImportBatchAddOrSubOrderInput,
+  options?: API.RequestConfig
+) {
+  return request<API.CheckImportBatchUpdateOrderDataOutput>(
+    '/api/InsureBatchBill/ImportBatchUpdateOrderData',
+    {
+      method: 'POST',
+      headers: {
+        'Content-Type': 'application/json',
+      },
+      data: body,
+      ...(options || {}),
+    }
+  );
+}
+
+/** 瀹㈡埛绔�-妫�鏌ユ壒鍗曞鍛樺噺鍛樹繚鍗曟暟鎹鍏� POST /api/InsureBatchBill/ImportCheckBatchAddOrSubOrderData */
+export async function importCheckBatchAddOrSubOrderData(
+  body: API.ImportBatchAddOrSubOrderInput,
+  options?: API.RequestConfig
+) {
+  return request<any>('/api/InsureBatchBill/ImportCheckBatchAddOrSubOrderData', {
     method: 'POST',
     headers: {
       'Content-Type': 'application/json',
@@ -95,12 +146,12 @@
   });
 }
 
-/** 瀹㈡埛绔�-鎵瑰崟鏇挎崲鏁版嵁瀵煎叆 POST /api/InsureBatchBill/ImportBatchUpdateOrderData */
-export async function importBatchUpdateOrderData(
+/** 瀹㈡埛绔�-妫�鏌ユ壒鍗曟浛鎹㈡暟鎹鍏� POST /api/InsureBatchBill/ImportCheckBatchUpdateOrderData */
+export async function importCheckBatchUpdateOrderData(
   body: API.ImportBatchAddOrSubOrderInput,
   options?: API.RequestConfig
 ) {
-  return request<any>('/api/InsureBatchBill/ImportBatchUpdateOrderData', {
+  return request<any>('/api/InsureBatchBill/ImportCheckBatchUpdateOrderData', {
     method: 'POST',
     headers: {
       'Content-Type': 'application/json',

--
Gitblit v1.9.1