|
|
@@ -52,9 +52,9 @@ func (i InstallmentPaymentListDb) GetInstallmentPaymentListById(id int) (m *mode |
|
|
|
} |
|
|
|
return m, nil |
|
|
|
} |
|
|
|
func (i InstallmentPaymentListDb) GetInstallmentPaymentListByOidSess(sess *xorm.Session, oid string) (m *models.InstallmentPaymentList, err error) { |
|
|
|
func (i InstallmentPaymentListDb) GetInstallmentPaymentListByIdSess(sess *xorm.Session, id string) (m *models.InstallmentPaymentList, err error) { |
|
|
|
m = new(models.InstallmentPaymentList) |
|
|
|
has, err := sess.Where("ord_id =?", oid).Get(m) |
|
|
|
has, err := sess.Where("id =?", id).Get(m) |
|
|
|
if err != nil { |
|
|
|
return nil, zhios_order_relate_logx.Error(err) |
|
|
|
} |
|
|
|