From 0a6054ba551ec01f6f8a1e007d15bb124fcfb13d Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Thu, 20 Jun 2024 13:49:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E6=9C=9F=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/implement/installment_payment_scheme_db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/implement/installment_payment_scheme_db.go b/src/implement/installment_payment_scheme_db.go index 46c9724..d2290ac 100644 --- a/src/implement/installment_payment_scheme_db.go +++ b/src/implement/installment_payment_scheme_db.go @@ -37,7 +37,7 @@ func (i InstallmentPaymentSchemeDb) GetInstallmentPaymentSchemeById(id int) (m * } func (i InstallmentPaymentSchemeDb) FindInstallmentPaymentScheme() (m *[]models.InstallmentPaymentScheme, err error) { mm := make([]models.InstallmentPaymentScheme, 0) - err = i.Db.Find(mm) + err = i.Db.Where("1=1").Find(&mm) if err != nil { return nil, zhios_order_relate_logx.Error(err) }