From 88aba16ddca2979984ca1f19837cd1f4f6d75fea Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Tue, 3 Jan 2023 15:57:10 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E7=BB=BF=E8=89=B2=E7=A7=AF=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rule/block_green_chain_settlement.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rule/block_green_chain_settlement.go b/rule/block_green_chain_settlement.go index 1d21b8b..5c74ee4 100644 --- a/rule/block_green_chain_settlement.go +++ b/rule/block_green_chain_settlement.go @@ -315,7 +315,7 @@ func statisticsAndDistributeCoinForAirdrop(session *xorm.Session, mid string, pu //1、查询出所有需要空投的用户 var userList []*model.BlockGreenChainCustomUserAirdrop - totalUser, err := session.Table("block_green_chain_custom_user_airdrop").Where("1 =1 ").FindAndCount(&userList) + totalUser, err := session.Table("block_green_chain_custom_user_airdrop").Where("airdrop_frequency > 0").FindAndCount(&userList) if err != nil { return err, unassignedTotalCoinValue }