From afa017a15e6c2152381a4923cd663fe1b41321df Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Mon, 22 Jan 2024 17:59:31 +0800 Subject: [PATCH] update --- rule/one_circles/one_circles_sign_in_green_energy_settlement.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rule/one_circles/one_circles_sign_in_green_energy_settlement.go b/rule/one_circles/one_circles_sign_in_green_energy_settlement.go index 4f36e47..807a011 100644 --- a/rule/one_circles/one_circles_sign_in_green_energy_settlement.go +++ b/rule/one_circles/one_circles_sign_in_green_energy_settlement.go @@ -154,7 +154,7 @@ func CalcNowSignInGreenEnergy(engine *xorm.Engine, oneCirclesGreenEnergyBasicSet userCount := zhios_order_relate_utils.StrToInt64(nativeString[0]["total"]) for _, v := range signInRewards { - if zhios_order_relate_utils.StrToInt64(v.VipMemberEndNums) <= userCount && userCount <= zhios_order_relate_utils.StrToInt64(v.VipMemberStartNums) { + if zhios_order_relate_utils.StrToInt64(v.VipMemberEndNums) >= userCount && userCount >= zhios_order_relate_utils.StrToInt64(v.VipMemberStartNums) { //rewardValue = zhios_order_relate_utils.Float64ToStrPrec8(zhios_order_relate_utils.StrToFloat64(v.RewardValue) * float64(oneRoundDuration) * 60 * 60) rewardValue = v.RewardValue }