From 038aa6802a08c7cb3e051f79087a79f20f1e36a3 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期一, 04 三月 2024 10:19:52 +0800 Subject: [PATCH] 服务合同字段修改 --- model/salesContractProduct.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/model/salesContractProduct.go b/model/salesContractProduct.go index 89f1215..f51ee85 100644 --- a/model/salesContractProduct.go +++ b/model/salesContractProduct.go @@ -9,7 +9,7 @@ type ( // ServiceContractProduct 鏈嶅姟鍚堝悓鍜屼骇鍝佸叧鑱� ServiceContractProduct struct { - ServiceContractId int `json:"id" gorm:"column:sales_details_id;type:int;primary_key;not null;default:0"` + ServiceContractId int `json:"id" gorm:"column:service_contract_id;type:int;primary_key;not null;default:0"` ProductId uint `json:"name" gorm:"primary_key;column:product_id;type:int;not null;default:0;comment:浜у搧id"` } -- Gitblit v1.8.0