d
This commit is contained in:
parent
773a169ab6
commit
5707dd1515
@ -398,7 +398,7 @@ namespace YD_AllHeartRates.Api.Mqtt
|
||||
var exist = await dbContext.JumpRopeData
|
||||
.FirstOrDefaultAsync(x => x.StudentNo == data.StudentNo && x.ScoreTime.Date == today);
|
||||
|
||||
if (exist != null)
|
||||
if (exist != null && exist.JumpValue > 0)
|
||||
{
|
||||
exist.JumpValue = data.JumpValue;
|
||||
exist.ErrorNumber = data.ErrorNumber;
|
||||
|
Loading…
x
Reference in New Issue
Block a user