This commit is contained in:
tanglong 2026-07-29 15:23:48 +08:00
parent c6fa0979d6
commit f1c0a73848
8 changed files with 5 additions and 5 deletions

View File

@ -103,7 +103,7 @@ namespace YD_AllHeartRates.Api.Middlewares
private readonly List<StudentCacheInfo> _students = new();
private static readonly List<string> SchoolCodeList = new List<string> { "202504080013", "202603220088", "202503110003" };
private static readonly List<string> SchoolCodeList = new List<string> { "202504080013", "202603220088" };
public SportsRoutineReportJob(IDataPushService dataPushService, UserContext userContext, SmartSportsContext sportsContext, ICaching caching)
{
@ -203,7 +203,7 @@ namespace YD_AllHeartRates.Api.Middlewares
var now = DateTime.Now;
// 每天 8:30 ~ 18:30 每小时35分执行
if (now.Hour < 8 || now.Hour > 18 || now.Minute != 40)
if (now.Hour < 8 || now.Hour > 18 || now.Minute != 45)
return;
var startTime = now.AddHours(-1);
@ -313,7 +313,7 @@ namespace YD_AllHeartRates.Api.Middlewares
}
else
{
Console.WriteLine($"[{DateTime.Now}] 无心率数据需要推送");
Console.WriteLine($"[{DateTime.Now}] 学生列表为空");
}
}
catch (Exception ex)

View File

@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("YD_AllHeartRates.Api")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+67921bfab175bc95b2714a8b85b55e6faa14cd26")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+c6fa0979d6ceff48263f2e2e38daf81b70378dc9")]
[assembly: System.Reflection.AssemblyProductAttribute("YD_AllHeartRates.Api")]
[assembly: System.Reflection.AssemblyTitleAttribute("YD_AllHeartRates.Api")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
6964821464b10bd1fafbd81031c9f1e6d63700bb3d3832692a12af52deea6c9f
7b1efa847d4772898e018afe2e504f38ba8996d7ce0d2fa38fb10f8390822f9c