fix
zhangqian
2023-10-17 4480763be441c09e9034d6a347587a2b1a5e197a
model/salesRefund.go
@@ -23,6 +23,8 @@
      RefundDate    string                    `json:"refundDate" gorm:"column:refund_date;type:varchar(255);comment:退款日期"`
      PaymentTypeId int                       `gorm:"column:payment_type_id;type:int;not null;default 0;comment:收款方式ID" json:"paymentTypeId"` // 收款方式ID
      PaymentType   PaymentType               `gorm:"foreignKey:PaymentTypeId" json:"paymentType"`
      RefundTypeId  int                       `gorm:"column:refund_type_id;type:int;not null;default 0;comment:收款方式ID" json:"refundTypeId"` // 退款方式ID
      RefundType    RefundType                `gorm:"foreignKey:RefundTypeId" json:"RefundType"`                                            //退款方式
      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     string                    `json:"isInvoice" gorm:"column:is_invoice;type:varchar(255);comment:是否开票"`