From 3f5aa5f14c56e55a05902c7e3b9b112eb23ee80d Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期三, 03 一月 2024 17:27:04 +0800 Subject: [PATCH] 采购类型修改 --- model/test/contract.go | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/model/test/contract.go b/model/test/contract.go index 5187a20..3689c9d 100644 --- a/model/test/contract.go +++ b/model/test/contract.go @@ -10,10 +10,11 @@ global.GVA_MODEL SupplierID *int `json:"supplierID" form:"supplierID" gorm:"column:supplier_id;comment:渚涘簲鍟唅d;"` FileName string `json:"fileName" form:"fileName" gorm:"column:file_name;comment:鏂囦欢鍚嶇О;size:255;"` - FileContent []byte `json:"fileContent" form:"fileContent" gorm:"type:mediumblob;column:file_content;comment:鏂囦欢鍐呭;"` + FileContent []byte `json:"-" form:"fileContent" gorm:"type:mediumblob;column:file_content;comment:鏂囦欢鍐呭;"` + FileType string `json:"-" form:"fileType" gorm:"column:file_type;comment:鏂囦欢绫诲瀷;size:255;"` } // TableName Contract 琛ㄥ悕 func (Contract) TableName() string { - return "contract" + return "srm_contract" } -- Gitblit v1.8.0