dengbiao 3 months ago
parent
commit
61fc098aca
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      rule/honey_dividend/contribution.go

+ 1
- 1
rule/honey_dividend/contribution.go View File

@@ -64,7 +64,7 @@ func CollectContributionExchangeData(eg *xorm.Engine, masterId string, ch *rabbi
var totalValues decimal.Decimal var totalValues decimal.Decimal
for { for {
var list []model.UserVirtualAmount var list []model.UserVirtualAmount
err = eg.Where("coin_id = ? and amount > 0", base.CoinId).Limit(pageSize, (page-1)*pageSize).Asc("id").Find(&list)
err = eg.Where("coin_id = ? and amount > 0", base.CoinIdForContribution).Limit(pageSize, (page-1)*pageSize).Asc("id").Find(&list)
if err != nil { if err != nil {
fmt.Println("err:::::1111", err) fmt.Println("err:::::1111", err)
return return


Loading…
Cancel
Save