From 5193dcb9336e853502baf8a539d3f45efebe2f86 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期六, 26 八月 2023 21:55:56 +0800
Subject: [PATCH] 采购单增删改查

---
 initialize/gorm.go |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/initialize/gorm.go b/initialize/gorm.go
index e6cfc0a..d8f9c06 100644
--- a/initialize/gorm.go
+++ b/initialize/gorm.go
@@ -2,14 +2,15 @@
 
 import (
 	"os"
+	"srm/model/purchase"
 
-	"github.com/flipped-aurora/gin-vue-admin/server/global"
-	"github.com/flipped-aurora/gin-vue-admin/server/model/example"
-	"github.com/flipped-aurora/gin-vue-admin/server/model/system"
+	"srm/global"
+	"srm/model/example"
+	"srm/model/system"
 
-	"github.com/flipped-aurora/gin-vue-admin/server/model/test"
 	"go.uber.org/zap"
 	"gorm.io/gorm"
+	"srm/model/test"
 )
 
 func Gorm() *gorm.DB {
@@ -52,6 +53,7 @@
 		example.ExaCustomer{},
 		example.ExaFileChunk{},
 		example.ExaFileUploadAndDownload{}, test.Industry{}, test.SupplierType{}, test.Supplier{}, test.Contract{},
+		purchase.Purchase{}, purchase.PurchaseProducts{},
 	)
 	if err != nil {
 		global.GVA_LOG.Error("register table failed", zap.Error(err))

--
Gitblit v1.8.0