dengbiao 7 miesięcy temu
rodzic
commit
38f6e74b39
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      rule/micro_applications/happy_orchard_user_seed_record.go

+ 1
- 1
rule/micro_applications/happy_orchard_user_seed_record.go Wyświetl plik

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



Ładowanie…
Anuluj
Zapisz