diff --git a/rule/consume_integral_settlement.go b/rule/consume_integral_settlement.go index f5279c9..9e575ad 100644 --- a/rule/consume_integral_settlement.go +++ b/rule/consume_integral_settlement.go @@ -177,7 +177,7 @@ func DailySettlementBlockConsumeIntegral(engine *xorm.Engine, mid string, isTask var storeTotalMap = make(map[int]decimal.Decimal) var storeTotalCountMap = make(map[int]int) if hasStoreTotal > 0 && consumeValue > 0 { - experienceValue, err = calcNowEverydayStoreIntegral(consumeValue, zhios_order_relate_utils.StrToFloat64(subsidyBase.StoreIntegral)/zhios_order_relate_utils.StrToFloat64(subsidyBase.ConsumptionIntegral)) + storeValue, err = calcNowEverydayStoreIntegral(consumeValue, zhios_order_relate_utils.StrToFloat64(subsidyBase.StoreIntegral)/zhios_order_relate_utils.StrToFloat64(subsidyBase.ConsumptionIntegral)) if err != nil { _ = session.Rollback() return err