From 61fc098aca8e371abded41bad2491e7d0681ba40 Mon Sep 17 00:00:00 2001 From: dengbiao Date: Wed, 4 Sep 2024 16:47:52 +0800 Subject: [PATCH] 1 --- rule/honey_dividend/contribution.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rule/honey_dividend/contribution.go b/rule/honey_dividend/contribution.go index 64b3660..1f7a92e 100644 --- a/rule/honey_dividend/contribution.go +++ b/rule/honey_dividend/contribution.go @@ -64,7 +64,7 @@ func CollectContributionExchangeData(eg *xorm.Engine, masterId string, ch *rabbi var totalValues decimal.Decimal for { 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 { fmt.Println("err:::::1111", err) return