dd
This commit is contained in:
parent
24fe256da0
commit
89e9a320d9
@ -159,6 +159,11 @@ namespace YD_AllHeartRates.Api.Services.Impl
|
||||
|
||||
var jumpRope = _caching.Get<JumpRopeData>(jumpRopeKey);
|
||||
|
||||
if (jumpRope == null)
|
||||
{
|
||||
jumpRope = await _userContext.JumpRopeData.Where(x => x.StudentNo == student.StudentNo).FirstOrDefaultAsync();
|
||||
}
|
||||
|
||||
// ❗心率缓存未命中 → 单独查数据库
|
||||
//if (heartRate == null)
|
||||
//{
|
||||
|
Loading…
x
Reference in New Issue
Block a user