|
|
@@ -177,13 +177,13 @@ namespace HealthMonitor.Service.Cache |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#region 生理健康(步数、周期性体温、周期性血压) |
|
|
|
#region 生理健康(步数、周期性体温、周期性血压) Db10 |
|
|
|
// 周期性体温 |
|
|
|
public async Task<HisGpsTemperature?> GetTemperaturePeriodicityAsync(string sn) |
|
|
|
{ |
|
|
|
try |
|
|
|
{ |
|
|
|
var res=await RedisHelper.HGetAsync(CACHE_HASH_KEY_TEMP_PERIODICITY, sn); |
|
|
|
var res=await RedisHelperDb10.HGetAsync(CACHE_HASH_KEY_TEMP_PERIODICITY, sn); |
|
|
|
if (!string.IsNullOrEmpty(res)) |
|
|
|
{ |
|
|
|
return JsonConvert.DeserializeObject<HisGpsTemperature>(res)!; |
|
|
@@ -204,7 +204,7 @@ namespace HealthMonitor.Service.Cache |
|
|
|
{ |
|
|
|
try |
|
|
|
{ |
|
|
|
var res = await RedisHelper.HGetAsync(CACHE_HASH_KEY_STEP_PERIODICITY, sn); |
|
|
|
var res = await RedisHelperDb10.HGetAsync(CACHE_HASH_KEY_STEP_PERIODICITY, sn); |
|
|
|
if (!string.IsNullOrEmpty(res)) |
|
|
|
{ |
|
|
|
return JsonConvert.DeserializeObject<HisGpsStep>(res)!; |
|
|
@@ -223,7 +223,7 @@ namespace HealthMonitor.Service.Cache |
|
|
|
{ |
|
|
|
try |
|
|
|
{ |
|
|
|
var res = await RedisHelper.HGetAsync(CACHE_HASH_KEY_BLOODPRESS_PERIODICITY, sn); |
|
|
|
var res = await RedisHelperDb10.HGetAsync(CACHE_HASH_KEY_BLOODPRESS_PERIODICITY, sn); |
|
|
|
if (!string.IsNullOrEmpty(res)) |
|
|
|
{ |
|
|
|
return JsonConvert.DeserializeObject<HisGpsBloodPress>(res)!; |
|
|
|