From a472fa1f44b9976ce7e2b502814b130ec72e0f29 Mon Sep 17 00:00:00 2001
From: yuxc <653031404@qq.com>
Date: 星期三, 19 七月 2023 11:31:11 +0800
Subject: [PATCH] 1、主要解决在批量插入的时候通过业务类型去获取字段信息,对比字段没有的则不进行插入。

---
 Source/UBCS-WEB/src/api/batchImport/index.js |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/Source/UBCS-WEB/src/api/batchImport/index.js b/Source/UBCS-WEB/src/api/batchImport/index.js
index 23a4323..de47980 100644
--- a/Source/UBCS-WEB/src/api/batchImport/index.js
+++ b/Source/UBCS-WEB/src/api/batchImport/index.js
@@ -45,16 +45,16 @@
     params: {redisOid: redisOid + "-class"}
   })
 }
-// 鑾峰彇鍘嗗彶鏁版嵁姝g‘鏁版嵁
-export const getHistorySuccessTable = (params) => {
+// 鑾峰彇姝g‘鏁版嵁
+export const getSuccessTable = (params) => {
   return request({
     url: '/api/ubcs-code/mdmEngineController/gridValidata',
     method: 'get',
     params: params
   })
 }
-// 鑾峰彇鍘嗗彶鐩镐技椤�
-export const getHistoryResembleTable = (params) => {
+// 鑾峰彇鐩镐技椤�
+export const getResembleTable = (params) => {
   return request({
     url: '/api/ubcs-code/mdmEngineController/gridResemble',
     method: 'get',
@@ -87,3 +87,11 @@
   })
 }
 
+// 鏂板鏁版嵁
+export function addSaveCode(data) {
+  return request({
+    url: 'api/ubcs-code/ubcs-code/mdmEngineController/addSaveCode',
+    method: 'post',
+    data
+  })
+}

--
Gitblit v1.9.3