瀏覽代碼

更新

master
huangjiajun 9 月之前
父節點
當前提交
6d580a2c32
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      rule/consume_integral_settlement.go

+ 1
- 1
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


Loading…
取消
儲存