This commit is contained in:
aozhiwei 2024-07-29 14:14:20 +08:00
parent b747dfba0e
commit 6e391ae87a

View File

@ -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