Browse Source

调整

datasub12_fetal_heart_rate
H Vs 2 months ago
parent
commit
57de629b0d
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      HealthMonitor.Service/Cache/PersonCacheManager.cs

+ 4
- 4
HealthMonitor.Service/Cache/PersonCacheManager.cs View File

@@ -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)!;


Loading…
Cancel
Save