Browse Source

修正定时下发触发器next_run_time显示值

datasub12_previous
H Vs 1 year ago
parent
commit
088a802737
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      HealthMonitor.Service/Resolver/BloodpressResolver.cs

+ 2
- 1
HealthMonitor.Service/Resolver/BloodpressResolver.cs View File

@@ -423,7 +423,8 @@ namespace HealthMonitor.Service.Resolver
if (timeUntilNextRun < TimeSpan.Zero)
{
timeUntilNextRun = timeUntilNextRun.Add(TimeSpan.FromDays(1));
nextRunTime += timeUntilNextRun;
// nextRunTime += timeUntilNextRun;
nextRunTime += TimeSpan.FromDays(1);
}

var ttl =(long)timeUntilNextRun.TotalSeconds;


Loading…
Cancel
Save