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 |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

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

--
Gitblit v1.8.0