diff --git a/rule/integral_release_settlement.go b/rule/integral_release_settlement.go index 2f6f400..3d60ebc 100644 --- a/rule/integral_release_settlement.go +++ b/rule/integral_release_settlement.go @@ -400,7 +400,7 @@ func DealIntegralReleaseInterpositionUserAmount(session *xorm.Session, req md.De integralReleaseInterpositionUserFlow.BeforeTotalAmount = totalAmountValue.String() integralReleaseInterpositionUserFlow.AfterTotalAmount = totalAmountValue.Add(amountValue).String() integralReleaseInterpositionUserFlow.BeforeWaiteAmount = waiteAmountValue.String() - integralReleaseInterpositionUserFlow.AfterAlreadyAmount = waiteAmountValue.Add(amountValue).String() + integralReleaseInterpositionUserFlow.AfterWaiteAmount = waiteAmountValue.Add(amountValue).String() integralReleaseInterpositionUserFlow.BeforeAlreadyAmount = alreadyAmountValue.String() integralReleaseInterpositionUserFlow.AfterAlreadyAmount = alreadyAmountValue.String() } else if req.Kind == "sub" { @@ -408,7 +408,7 @@ func DealIntegralReleaseInterpositionUserAmount(session *xorm.Session, req md.De integralReleaseInterpositionUserFlow.BeforeTotalAmount = totalAmountValue.String() integralReleaseInterpositionUserFlow.AfterTotalAmount = totalAmountValue.String() integralReleaseInterpositionUserFlow.BeforeWaiteAmount = waiteAmountValue.String() - integralReleaseInterpositionUserFlow.AfterAlreadyAmount = waiteAmountValue.Sub(amountValue).String() + integralReleaseInterpositionUserFlow.AfterWaiteAmount = waiteAmountValue.Sub(amountValue).String() integralReleaseInterpositionUserFlow.BeforeAlreadyAmount = alreadyAmountValue.String() integralReleaseInterpositionUserFlow.AfterAlreadyAmount = alreadyAmountValue.Add(amountValue).String() integralReleaseInterpositionUserFlow.Date = now.Format("2006-01-02")