|
@@ -37,7 +37,7 @@ func (i InstallmentPaymentSchemeDb) GetInstallmentPaymentSchemeById(id int) (m * |
|
|
} |
|
|
} |
|
|
func (i InstallmentPaymentSchemeDb) FindInstallmentPaymentScheme() (m *[]models.InstallmentPaymentScheme, err error) { |
|
|
func (i InstallmentPaymentSchemeDb) FindInstallmentPaymentScheme() (m *[]models.InstallmentPaymentScheme, err error) { |
|
|
mm := make([]models.InstallmentPaymentScheme, 0) |
|
|
mm := make([]models.InstallmentPaymentScheme, 0) |
|
|
err = i.Db.Find(mm) |
|
|
|
|
|
|
|
|
err = i.Db.Where("1=1").Find(&mm) |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
return nil, zhios_order_relate_logx.Error(err) |
|
|
return nil, zhios_order_relate_logx.Error(err) |
|
|
} |
|
|
} |
|
|