|
|
@@ -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) |
|
|
|
} |
|
|
|