From 137441e2396cf231f9d41e5c399038dbfe01433f Mon Sep 17 00:00:00 2001
From: yinbentan <yinbentan@live.com>
Date: 星期二, 16 七月 2024 20:24:55 +0800
Subject: [PATCH] 添加字段,库存报表统计返回结果添加productType(产品类别)、productSpecs(产品规格),产品类别由原来的productType改为productCategory

---
 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