Browse Source

调整定时下发统计范围

datasub12_previous
H Vs 11 months ago
parent
commit
a0cc71b5b8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      HealthMonitor.WebApi/Worker.cs

+ 1
- 1
HealthMonitor.WebApi/Worker.cs View File

@@ -223,7 +223,7 @@ namespace HealthMonitor.WebApi
systolicRefValue = lastPush!.SystolicRefValue; systolicRefValue = lastPush!.SystolicRefValue;
diastolicRefValue = lastPush!.DiastolicRefValue; diastolicRefValue = lastPush!.DiastolicRefValue;


condition = $"ts between '{startTime:yyyy-MM-dd HH:mm:ss.fff}' and '{lastPush?.Timestamp:yyyy-MM-dd HH:mm:ss.fff}' " +
condition = $"ts between '{lastPush?.Timestamp:yyyy-MM-dd HH:mm:ss.fff}' and '{startTime:yyyy-MM-dd HH:mm:ss.fff}' " +
$"and serialno='{imeiDel}' " + $"and serialno='{imeiDel}' " +
$"and is_display = true"; $"and is_display = true";
var hmBpResponse = await _serviceTDengine.ExecuteSelectRestResponseAsync("stb_hm_bloodpress", condition); var hmBpResponse = await _serviceTDengine.ExecuteSelectRestResponseAsync("stb_hm_bloodpress", condition);


Loading…
Cancel
Save