From bb455e9304722ad83fd65203c3cd370f5f3844c3 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期二, 23 七月 2024 10:43:39 +0800
Subject: [PATCH] 物料导入分批插入数据库解决数据量大无法导入的问题
---
request/dict.go | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/request/dict.go b/request/dict.go
index f7be713..d11c060 100644
--- a/request/dict.go
+++ b/request/dict.go
@@ -4,6 +4,7 @@
type MiniDict struct {
Name string `json:"name"` // 鍚嶇О
+ Code string `json:"code"` // 缂栫爜
Value string `json:"value"` // 鍊�
IsDefault bool `json:"isDefault"` // 鏄惁榛樿
}
@@ -25,10 +26,12 @@
}
type GetMiniDict struct {
- Type constvar.MiniDictType `json:"type"` // 瀛楀吀绫诲瀷
- Name string `json:"name"` // 瀛楀吀鍚嶇О
+ Type constvar.MiniDictType `json:"type"` // 瀛楀吀绫诲瀷
+ Name string `json:"name"` // 瀛楀吀鍚嶇О
+ Keyword string `json:"keyword"` // 鍏抽敭瀛楁煡璇�
}
type GetMiniDictList struct {
- Type constvar.MiniDictType `json:"type"` // 瀛楀吀绫诲瀷
+ Type constvar.MiniDictType `json:"type"` // 瀛楀吀绫诲瀷
+ Keyword string `json:"keyword"` // 鍏抽敭瀛楁煡璇�
}
--
Gitblit v1.8.0