From 226bd1338b1558424eb645691c23517cb1c418a7 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Thu, 18 Jan 2024 18:04:20 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E4=B8=80=E4=B8=AA=E5=9C=88=E5=9C=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../one_circles/one_circles_public_platoon_give_activty_coin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rule/one_circles/one_circles_public_platoon_give_activty_coin.go b/rule/one_circles/one_circles_public_platoon_give_activty_coin.go index 3b2661c..b585b02 100644 --- a/rule/one_circles/one_circles_public_platoon_give_activty_coin.go +++ b/rule/one_circles/one_circles_public_platoon_give_activty_coin.go @@ -130,7 +130,7 @@ func SettlementPublicGiveActivityCoin(engine *xorm.Engine, masterId string, uid // CalcUserContinuousDailyActivityDays 计算用户连续活跃天数 func CalcUserContinuousDailyActivityDays(engine *xorm.Engine, masterId string, uid int, startDate string, endDate string) (err error, days int, isContinuousDailyActivity bool) { var list []model.OneCirclesGreenEnergySignIn - err = engine.Where("start_time <= ?", startDate).And("uid =?", uid).Find(&list) + err = engine.Where("start_time >= ?", startDate).And("uid =?", uid).Find(&list) if err != nil { fmt.Println("err:::::1111", err) return