From 40d3d2597c414c865f747dfea2f254c64d56d579 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Mon, 1 Jul 2024 18:08:29 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9E=9C=E5=9B=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/models/installment_payment_list.go | 1 + src/models/installment_payment_repaid_flow.go | 1 + 2 files changed, 2 insertions(+) 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)"` } From 0408d7ee8572263b3a8a83758a4e9d169c926e8f Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Mon, 1 Jul 2024 18:21:31 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9E=9C=E5=9B=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/models/installment_payment_list.go | 1 - src/models/installment_payment_repaid_flow.go | 1 - 2 files changed, 2 deletions(-) diff --git a/src/models/installment_payment_list.go b/src/models/installment_payment_list.go index f03c201..434be1e 100644 --- a/src/models/installment_payment_list.go +++ b/src/models/installment_payment_list.go @@ -12,7 +12,6 @@ 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 8210045..1cd848a 100644 --- a/src/models/installment_payment_repaid_flow.go +++ b/src/models/installment_payment_repaid_flow.go @@ -9,5 +9,4 @@ 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)"` }