網頁: 修正發電量的取值時間少減一小時
This commit is contained in:
parent
1735aca3ed
commit
1aae1190d9
@ -269,7 +269,7 @@ namespace SolarPower.Quartz.Jobs
|
||||
#endregion
|
||||
|
||||
#region 計算單一電站每小時發電量、發電金額等資料 for calcPowerStation
|
||||
var dateTimeforPowerStation = DateTime.Now.ToString("yyyy-MM-dd");//取當天
|
||||
var dateTimeforPowerStation = DateTime.Now.AddHours(-1).ToString("yyyy-MM-dd");//取當天
|
||||
logger.LogInformation("【CalcPowerStationJob】【開始取得電站[{0}]在{1}的每小時歷史資料 for calcPowerStation】", powerStation.Code, dateTimeforPowerStation);
|
||||
var history_for_powerStation = await powerStationRepository.GetPowerStationHistoryPerHourForPowerStation(dateTimeforPowerStation, full_table_name);
|
||||
if (history_for_powerStation == null)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user