From c950586b718ae6fc198bedf424609a4ac94cb5d1 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期四, 04 七月 2024 18:16:07 +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