From b1b2b8f16617128112bc223a60e615153ae55dab Mon Sep 17 00:00:00 2001 From: Kai Date: Wed, 13 Oct 2021 18:40:08 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E4=BF=AE=E6=94=B9=20=E8=83=8C=E6=99=AF?= =?UTF-8?q?=E5=9F=B7=E8=A1=8C=20=E9=87=91=E9=A1=8D=E8=A8=88=E7=AE=97=202.?= =?UTF-8?q?=20=E4=BF=AE=E6=94=B9=E5=9C=B0=E5=9C=96api=20key=203.=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=9B=BB=E7=AB=99=E7=B8=BD=E8=A6=BD=20line?= =?UTF-8?q?=20token?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SolarPower/Quartz/Jobs/CalcPowerStationJob.cs | 4 ++-- SolarPower/Views/MapOverview/Index.cshtml | 3 ++- SolarPower/Views/StationOverview/_Info.cshtml | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/SolarPower/Quartz/Jobs/CalcPowerStationJob.cs b/SolarPower/Quartz/Jobs/CalcPowerStationJob.cs index 2e3364e..b62c84c 100644 --- a/SolarPower/Quartz/Jobs/CalcPowerStationJob.cs +++ b/SolarPower/Quartz/Jobs/CalcPowerStationJob.cs @@ -189,8 +189,8 @@ namespace SolarPower.Quartz.Jobs // calcPowerStation.Total_Money = history.KWH * powerStation.PowerRate * sumLeaseRate; //} - calcPowerStation.Today_Money = history.TodayKWh * powerStation.PowerRate * sumLeaseRate; - calcPowerStation.Total_Money = history.TotalKWH * powerStation.PowerRate * sumLeaseRate; + calcPowerStation.Today_Money = history.TodayKWh * powerStation.PowerRate * sumLeaseRate / 100; + calcPowerStation.Total_Money = history.TotalKWH * powerStation.PowerRate * sumLeaseRate / 100; break; case (int)SolarTypeEnum.SelfUse: //自建自用 diff --git a/SolarPower/Views/MapOverview/Index.cshtml b/SolarPower/Views/MapOverview/Index.cshtml index a8f3d46..5a69c91 100644 --- a/SolarPower/Views/MapOverview/Index.cshtml +++ b/SolarPower/Views/MapOverview/Index.cshtml @@ -171,7 +171,8 @@ @section Scripts{ - + @**@ +