From 5a356c6178e15b44bdfe4cf3e94c52b0d4a17668 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期二, 15 八月 2023 17:32:25 +0800
Subject: [PATCH] 完善退货单查询,fix一些bug

---
 model/salesRefund.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/model/salesRefund.go b/model/salesRefund.go
index c5519c9..ef9b5ca 100644
--- a/model/salesRefund.go
+++ b/model/salesRefund.go
@@ -24,7 +24,7 @@
 		PaymentType   PaymentType               `gorm:"foreignKey:PaymentTypeId" json:"paymentType"`
 		BankAccountId int                       `gorm:"column:bank_account_id;type:int;not null;default 0;comment:璐︽埛id" json:"bankAccountId"` // 璐︽埛id
 		BankAccount   BankAccount               `gorm:"foreignKey:BankAccountId" json:"bankAccount"`
-		IsInvoice     int                       `json:"isInvoice" gorm:"column:is_invoice;type:int;comment:鏄惁寮�绁�"`
+		IsInvoice     string                    `json:"isInvoice" gorm:"column:is_invoice;type:varchar(255);comment:鏄惁寮�绁�"`
 		Reason        string                    `json:"reason" gorm:"column:reason;type:varchar(255);comment:閫�娆惧師鍥�"`
 		Products      []*Product                `json:"products" gorm:"many2many:salesRefund_product;"`
 		AmountTotal   decimal.Decimal           `gorm:"column:amount_total;type:decimal(12,2);comment:浠风◣鍚堣" json:"amountTotal"` // 浠风◣鍚堣

--
Gitblit v1.8.0