diff --git a/src/models/installment_payment_list.go b/src/models/installment_payment_list.go index 434be1e..f03c201 100644 --- a/src/models/installment_payment_list.go +++ b/src/models/installment_payment_list.go @@ -12,6 +12,7 @@ type InstallmentPaymentList struct { RepaymentAmountPerInstallment string `json:"repayment_amount_per_installment" xorm:"not null default 0.00 comment('每期还款金额') DECIMAL(12,2)"` GoodsTitle string `json:"goods_title" xorm:"not null default '' comment('标题') VARCHAR(255)"` GoodsImg string `json:"goods_imgg" xorm:"not null default '' comment('图片') VARCHAR(255)"` + MallOid string `json:"mall_oid" xorm:"not null default '' comment('') VARCHAR(255)"` IsRepaidOff int `json:"is_repaid_off" xorm:"not null default 0 comment('是否已偿还完(0:未偿还完 1:已偿还完)') TINYINT(1)"` CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('创建时间') DATETIME"` UpdateAt string `json:"update_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('更新时间') DATETIME"` diff --git a/src/models/installment_payment_repaid_flow.go b/src/models/installment_payment_repaid_flow.go index 1cd848a..8210045 100644 --- a/src/models/installment_payment_repaid_flow.go +++ b/src/models/installment_payment_repaid_flow.go @@ -9,4 +9,5 @@ type InstallmentPaymentRepaidFlow struct { CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('创建时间') DATETIME"` UpdateAt string `json:"update_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('更新时间') DATETIME"` OrdId int64 `json:"ord_id" xorm:"not null default 0 comment('订单ID') BIGINT(20)"` + MallOid string `json:"mall_oid" xorm:"not null default '' comment('') VARCHAR(255)"` }