From 4a9bc4b7c84985047c7ebe0b991e8c8364bb56a2 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期五, 03 十一月 2023 10:58:25 +0800
Subject: [PATCH] 重订货规则修改

---
 models/db.go |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/models/db.go b/models/db.go
index 8f47201..480edaa 100644
--- a/models/db.go
+++ b/models/db.go
@@ -81,12 +81,11 @@
 		Operation{},
 		OperationDetails{},
 		Scrap{},
-		MoveHistory{},
-		//Product{},
 		ProductCategory{},
 		Material{},
 		LocationProduct{},
 		LocationProductAmount{},
+		ReorderRule{},
 	)
 	return err
 }
@@ -98,6 +97,7 @@
 func InsertDefaultData() {
 	models := []interface{}{
 		NewDepartmentSearch(),
+		NewLocationSearch(),
 	}
 	for _, model := range models {
 		if id, ok := model.(InitDefaultData); ok {

--
Gitblit v1.8.0