From 1109d0c6565e3413e54d9f28e68dda8ca26b99c4 Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期二, 25 七月 2023 11:19:52 +0800 Subject: [PATCH] fix --- model/request/saleDetails.go | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/model/request/saleDetails.go b/model/request/saleDetails.go index 1d45f18..c70d201 100644 --- a/model/request/saleDetails.go +++ b/model/request/saleDetails.go @@ -23,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