@@ -175,7 +175,7 @@ namespace HealthMonitor.Service.Resolver | |||||
var daysPhr = await _serviceTDengine.GetBySerialNoAsync<PregnancyHeartRateModel>(heartRate.Serialno, 7); | var daysPhr = await _serviceTDengine.GetBySerialNoAsync<PregnancyHeartRateModel>(heartRate.Serialno, 7); | ||||
var phr = daysPhr | var phr = daysPhr | ||||
.Where(p => p.LastUpdate >= heartRate.LastUpdate) | |||||
.Where(p => p.LastUpdate <= heartRate.LastUpdate) | |||||
.ToList(); | .ToList(); | ||||
if (phr.Count >= 30) | if (phr.Count >= 30) | ||||