From 7adc2e492d4582d8fda8d959e68c55830d0514ab Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期三, 20 九月 2023 17:41:37 +0800
Subject: [PATCH] 产品表字段修改修改

---
 models/material.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/models/material.go b/models/material.go
index e9abefc..8d9a4ee 100644
--- a/models/material.go
+++ b/models/material.go
@@ -52,7 +52,7 @@
 		CompanyId               int                        `gorm:"type:int(11);comment:鍏徃id" json:"companyId"`                      //鍏徃id
 		CompanyName             string                     `gorm:"type:varchar(255);comment:鍏徃鍚嶇О" json:"companyName"`               //鍏徃鍚嶇О
 		InternalNotes           string                     `gorm:"type:varchar(512);comment:鍐呴儴璇存槑" json:"internalNotes"`             //鍐呴儴璇存槑
-		SelectProduct           int                        `gorm:"type:int(11);comment:鍙�変骇鍝乮d" json:"selectProduct"`                //鍙�変骇鍝乮d
+		SelectProduct           string                     `gorm:"type:varchar(255);comment:鍙�変骇鍝乮d" json:"selectProduct"`           //鍙�変骇鍝乮d
 		SellExplain             string                     `gorm:"type:varchar(512);comment:閿�鍞鏄�" json:"sellExplain"`               //閿�鍞鏄�
 		CanBePurchased          bool                       `gorm:"type:int(11);comment:鏄惁鍙噰璐�" json:"canBePurchased"`                //鏄惁鍙噰璐�
 		CurrencyName            string                     `gorm:"type:varchar(255);comment:甯佺鍚嶇О" json:"currencyName"`              //甯佺鍚嶇О

--
Gitblit v1.8.0