From b9a62531fb93aba42d13e62fd1b03d8dba112fa6 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期一, 23 十月 2023 12:04:31 +0800
Subject: [PATCH] 位置修改

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

diff --git a/models/db.go b/models/db.go
index ed1c78b..a1570c8 100644
--- a/models/db.go
+++ b/models/db.go
@@ -85,6 +85,8 @@
 		//Product{},
 		ProductCategory{},
 		Material{},
+		LocationProduct{},
+		LocationProductAmount{},
 	)
 	return err
 }
@@ -96,6 +98,7 @@
 func InsertDefaultData() {
 	models := []interface{}{
 		NewDepartmentSearch(),
+		NewLocationSearch(),
 	}
 	for _, model := range models {
 		if id, ok := model.(InitDefaultData); ok {

--
Gitblit v1.8.0