From 38f6e74b39e262c3966f8dee3c0b361c26c07076 Mon Sep 17 00:00:00 2001 From: dengbiao Date: Wed, 22 May 2024 16:03:46 +0800 Subject: [PATCH] update --- rule/micro_applications/happy_orchard_user_seed_record.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rule/micro_applications/happy_orchard_user_seed_record.go b/rule/micro_applications/happy_orchard_user_seed_record.go index 1dbd300..dd3b2de 100644 --- a/rule/micro_applications/happy_orchard_user_seed_record.go +++ b/rule/micro_applications/happy_orchard_user_seed_record.go @@ -57,7 +57,7 @@ func GetHappyOrchardUserSeedRecordData(engine *xorm.Engine, record models.HappyO resp.RecordStateZh = enum.HappyOrchardUserSeedRecordState(record.State).String() resp.NowRecordWaters = record.WaterNums resp.TotalNeedWaters = happyOrchardSeed.WaterNums - + resp.PlantingRate = float64(record.WaterNums) / float64(happyOrchardSeed.WaterNums) * 100 return }