From 155f70979af20ca520a55b89c6ec8cd46c43f8a5 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期三, 31 七月 2024 15:47:33 +0800
Subject: [PATCH] 产品流水表增加多单位存储

---
 controllers/dict_controller.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/controllers/dict_controller.go b/controllers/dict_controller.go
index fa042a9..2e4826e 100644
--- a/controllers/dict_controller.go
+++ b/controllers/dict_controller.go
@@ -273,7 +273,7 @@
 	default:
 		return "", errors.New("缂栫爜瑙勫垯涓嶅瓨鍦�")
 	}
-	id, err := models.NewMiniDictSearch().SetType(constvar.MiniDictType(dictType)).MaxAutoIncr()
+	id, err := models.NewMiniDictSearch().MaxAutoIncr()
 	if err != nil {
 		return "", errors.New("鑾峰彇鏈�澶у�煎け璐�")
 	}

--
Gitblit v1.8.0