Ver código fonte

sampleTime 长度

datasub12_fetal_heart_rate_0
H Vs 3 meses atrás
pai
commit
cf5a68219d
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      HealthMonitor.Service/Resolver/PregnancyHeartRateResolver.cs

+ 2
- 2
HealthMonitor.Service/Resolver/PregnancyHeartRateResolver.cs Ver arquivo

@@ -254,7 +254,7 @@ namespace HealthMonitor.Service.Resolver
PersonId = commonPHR!.PersonId,
Serialno = heartRate.Serialno,
HeartRate = fetalHeartRate,
SampleTime = sampleTime,
SampleTime = sampleTime.Length > 10 ? sampleTime.Substring(0, 10) : sampleTime,
IsAbnormal = isAbnormal,
StatStartTime = filteredPhr.OrderBy(i => i.LastUpdate).First().LastUpdate,
StatEndTime = filteredPhr.OrderBy(i => i.LastUpdate).Last().LastUpdate,
@@ -438,7 +438,7 @@ namespace HealthMonitor.Service.Resolver
PersonId = commonPHR!.PersonId,
Serialno = heartRate.Serialno,
HeartRate = fetalHeartRate,
SampleTime = sampleTime,
SampleTime = sampleTime.Length > 10 ? sampleTime.Substring(0, 10) : sampleTime,
IsAbnormal = isAbnormal,
StatStartTime = commonPHR.StatStartTime,
StatEndTime = commonPHR.StatEndTime,


Carregando…
Cancelar
Salvar