From 6e391ae87a97e4e1a7c22c706042567f81608cf6 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 29 Jul 2024 14:14:20 +0800 Subject: [PATCH] 1 --- server/light_backtask/task/contribution.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/light_backtask/task/contribution.go b/server/light_backtask/task/contribution.go index c1ad6439..a2d5b985 100644 --- a/server/light_backtask/task/contribution.go +++ b/server/light_backtask/task/contribution.go @@ -100,10 +100,10 @@ func (this* contribution) internalStat(statTime int64, nowTime int64) bool { } { addressHash := new(q5.ConcurrentMap[string, *accountStacking]) - sqlTpl := "SELECT * FROM t_nft WHERE idx > %d AND token_type <> ? AND last_lock_time < ? AND owner_address IN (" + sqlTpl := "SELECT * FROM t_nft WHERE idx > %d AND token_type <> ? AND last_lock_time <= ? AND owner_address IN (" params := []string{ q5.ToString(jccommon.NFT_TYPE_GOLD_BULLION), - q5.ToString(statTime), + q5.ToString(statDaySeconds), } { inited := false