From c549900b66691959771edf7c6526de69a1d8f3cc Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期五, 18 八月 2023 20:19:41 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- model/salesDetails.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/model/salesDetails.go b/model/salesDetails.go index a2659d8..ed81fab 100644 --- a/model/salesDetails.go +++ b/model/salesDetails.go @@ -30,7 +30,7 @@ Conditions string `json:"conditions" gorm:"column:conditions;type:text;comment:鏉′欢"` CreatorId int `json:"creatorId" gorm:"column:creator_id;type:int;comment:鍒涘缓浜篿d"` Remark string `json:"remark" gorm:"column:remark;type:text;comment:澶囨敞"` - Products []*Product `json:"products" gorm:"many2many:sales_details_product;"` + Products []*Product `json:"products" gorm:"many2many:SalesDetails_Product;"` LogisticCompany string `json:"logisticCompany" gorm:"column:logistic_company;type:varchar(255);comment:鐗╂祦鍏徃"` LogisticNumber string `json:"logisticNumber" gorm:"column:logistic_number;type:varchar(255);comment:鐗╂祦鍗曞彿"` LogisticCost float64 `json:"logisticCost" gorm:"column:logistic_cost;type:decimal(10,2);comment:鐗╂祦璐圭敤"` -- Gitblit v1.8.0