From da23babe80de0d32e736e8777430ddfbf185373a Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期二, 25 七月 2023 19:28:11 +0800
Subject: [PATCH] fix

---
 model/request/saleDetails.go |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/model/request/saleDetails.go b/model/request/saleDetails.go
index c8966aa..c70d201 100644
--- a/model/request/saleDetails.go
+++ b/model/request/saleDetails.go
@@ -9,7 +9,6 @@
 }
 
 type SalesDetails struct {
-	Id                int             `json:"id" gorm:"column:id;primary_key;AUTO_INCREMENT"`
 	ClientId          int             `json:"clientId" gorm:"column:client_id;type:int;comment:瀹㈡埛id"`
 	Number            string          `json:"number" gorm:"column:number;type:varchar(255);comment:閿�鍞瓙鍗曞彿"`
 	SaleChanceId      int             `json:"saleChanceId" gorm:"column:sale_chance_id;type:int;comment:閿�鍞満浼歩d"`
@@ -24,6 +23,9 @@
 	Conditions        string          `json:"conditions" gorm:"column:conditions;type:text;comment:鏉′欢"`
 	Remark            string          `json:"remark" gorm:"column:remark;type:text;comment:澶囨敞"`
 	Products          []model.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:鐗╂祦璐圭敤"`
 }
 
 type UpdateSalesDetails struct {

--
Gitblit v1.8.0