From 53e13e20bdf8f3ce26d67ae9c2c1ed7212a183d9 Mon Sep 17 00:00:00 2001
From: jiangshuai <291802688@qq.com>
Date: 星期五, 20 十月 2023 14:55:37 +0800
Subject: [PATCH] 1.修改库存盘点bug
---
models/db.go | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/models/db.go b/models/db.go
index e32a28e..a1570c8 100644
--- a/models/db.go
+++ b/models/db.go
@@ -82,8 +82,11 @@
OperationDetails{},
Scrap{},
MoveHistory{},
- Product{},
+ //Product{},
ProductCategory{},
+ Material{},
+ LocationProduct{},
+ LocationProductAmount{},
)
return err
}
@@ -95,6 +98,7 @@
func InsertDefaultData() {
models := []interface{}{
NewDepartmentSearch(),
+ NewLocationSearch(),
}
for _, model := range models {
if id, ok := model.(InitDefaultData); ok {
--
Gitblit v1.8.0