From c5a0eb549cba2cd358a2d0496c44f3a289f15d9c Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期一, 28 八月 2023 14:22:06 +0800 Subject: [PATCH] fix --- model/request/salesRefund.go | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/model/request/salesRefund.go b/model/request/salesRefund.go index 5f54725..0f132db 100644 --- a/model/request/salesRefund.go +++ b/model/request/salesRefund.go @@ -13,12 +13,12 @@ ClientId int `json:"clientId"` Number string `json:"number"` MemberId int `json:"memberId"` - SourceType constvar.RefundSourceType `gorm:"column:source_type;type:int;not null;default 0;comment:鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級" json:"sourceType"` // 鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級 - SourceId int `gorm:"column:source_id;type:int;not null;default 0;comment:婧愬崟id " json:"sourceId"` // 婧愬崟id + SourceType constvar.RefundSourceType `gorm:"column:source_type;type:int;not null;default 0;comment:鏉ユ簮绫诲瀷锛�1閿�鍞��娆剧殑锛�" json:"sourceType" binding:"required"` // 鏉ユ簮绫诲瀷锛�1閿�鍞��娆惧崟锛� + SourceId int `gorm:"column:source_id;type:int;not null;default 0;comment:婧愬崟id " json:"sourceId" binding:"required"` // 婧愬崟id RefundDate string `json:"refundDate"` PaymentTypeId int `gorm:"column:payment_type_id;type:int;not null;default 0;comment:鏀舵鏂瑰紡ID" json:"paymentTypeId"` // 鏀舵鏂瑰紡ID BankAccountId int `gorm:"column:bank_account_id;type:int;not null;default 0;comment:璐︽埛id" json:"bankAccountId"` // 璐︽埛id - IsInvoice int `json:"isInvoice"` + IsInvoice string `json:"isInvoice"` Reason string `json:"reason"` Products []*model.Product `json:"products"` } -- Gitblit v1.8.0