From f22d6e0a0a0f96a8dfbc44afff48f2244dd53d48 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Thu, 27 Jun 2024 17:47:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rule/micro_applications/happy_orchard_user_seed_record.go | 1 + 1 file changed, 1 insertion(+) diff --git a/rule/micro_applications/happy_orchard_user_seed_record.go b/rule/micro_applications/happy_orchard_user_seed_record.go index c6b0bba..332b546 100644 --- a/rule/micro_applications/happy_orchard_user_seed_record.go +++ b/rule/micro_applications/happy_orchard_user_seed_record.go @@ -67,6 +67,7 @@ func GetHappyOrchardUserSeedRecordData(engine *xorm.Engine, record models.HappyO func getHappyOrchardUserSeedStage(record models.HappyOrchardUserSeedRecord, seed models.HappyOrchardSeed) (seedState int, nextSeedStateWaters int) { seedState = -1 + nextSeedStateWaters = seed.NeedWatersNumForStage0 if record.WaterNums >= seed.NeedWatersNumForStage0 && record.WaterNums < seed.NeedWatersNumForStage1 { seedState = 0 nextSeedStateWaters = seed.NeedWatersNumForStage1