dd
This commit is contained in:
parent
c6fa0979d6
commit
f1c0a73848
@ -103,7 +103,7 @@ namespace YD_AllHeartRates.Api.Middlewares
|
|||||||
|
|
||||||
private readonly List<StudentCacheInfo> _students = new();
|
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)
|
public SportsRoutineReportJob(IDataPushService dataPushService, UserContext userContext, SmartSportsContext sportsContext, ICaching caching)
|
||||||
{
|
{
|
||||||
@ -203,7 +203,7 @@ namespace YD_AllHeartRates.Api.Middlewares
|
|||||||
var now = DateTime.Now;
|
var now = DateTime.Now;
|
||||||
|
|
||||||
// 每天 8:30 ~ 18:30 每小时35分执行
|
// 每天 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;
|
return;
|
||||||
|
|
||||||
var startTime = now.AddHours(-1);
|
var startTime = now.AddHours(-1);
|
||||||
@ -313,7 +313,7 @@ namespace YD_AllHeartRates.Api.Middlewares
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Console.WriteLine($"[{DateTime.Now}] 无心率数据需要推送");
|
Console.WriteLine($"[{DateTime.Now}] 学生列表为空");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
|||||||
@ -14,7 +14,7 @@ using System.Reflection;
|
|||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("YD_AllHeartRates.Api")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("YD_AllHeartRates.Api")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
[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.AssemblyProductAttribute("YD_AllHeartRates.Api")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("YD_AllHeartRates.Api")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("YD_AllHeartRates.Api")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
6964821464b10bd1fafbd81031c9f1e6d63700bb3d3832692a12af52deea6c9f
|
7b1efa847d4772898e018afe2e504f38ba8996d7ce0d2fa38fb10f8390822f9c
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user