|
|
@@ -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 |
|
|
|
} |
|
|
|
|
|
|
|