From 79aef24a785581d95343ccd99e9cb362b2bc9c97 Mon Sep 17 00:00:00 2001
From: yinbentan <yinbentan@live.com>
Date: 星期六, 06 七月 2024 21:31:59 +0800
Subject: [PATCH] 调整库存商品位置错误

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

diff --git a/models/db.go b/models/db.go
index de0c2d2..eaa23cc 100644
--- a/models/db.go
+++ b/models/db.go
@@ -122,6 +122,9 @@
 		MonthStats{},
 		Attribute{},
 		AttributeValue{},
+		SystemConfig{},
+		WarehouseMonthStats{},
+		WarehouseStatsItems{},
 	)
 	return err
 }
@@ -132,7 +135,6 @@
 
 func InsertDefaultData() {
 	models := []interface{}{
-		NewDepartmentSearch(),
 		NewLocationSearch(),
 	}
 	for _, model := range models {

--
Gitblit v1.8.0