From d8c708a30d938ceb87348257add9dc10926044df Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期二, 24 十月 2023 20:08:02 +0800 Subject: [PATCH] 编码规则需求功能开发2 --- model/salesDetails.go | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/model/salesDetails.go b/model/salesDetails.go index bf371e3..569fbf3 100644 --- a/model/salesDetails.go +++ b/model/salesDetails.go @@ -41,6 +41,8 @@ AmountTotal decimal.Decimal `gorm:"column:amount_total;type:decimal(12,2);comment:浠风◣鍚堣" json:"amountTotal"` // 浠风◣鍚堣 CodeStandID string `json:"codeStandID" gorm:"column:code_stand_id;type:varchar(255);comment:缂栫爜id"` DeliverType int `json:"deliverType" gorm:"column:deliver_type;type:int;comment:浜や粯绫诲瀷(1.涓�娆″彂璐�,2.澶氭鍙戣揣)"` + QuotationId int `json:"quotationId" gorm:"column:quotation_id;type:int;comment:鎶ヤ环鍗昳d"` + Quotation Quotation `json:"quotation" gorm:"foreignKey:QuotationId"` CrmModel } @@ -107,7 +109,8 @@ Preload("Member"). Preload("SaleChance"). Preload("WechatOrderStatus"). - Preload("Client") + Preload("Client"). + Preload("Quotation") } return db -- Gitblit v1.8.0