修改文档查询bug

This commit is contained in:
2022-11-29 14:09:35 +08:00
parent 576fca6d11
commit 253b982a80
7 changed files with 13 additions and 14 deletions
@@ -1,5 +1,4 @@
using EasyCaching.Core;
using IRaCIS.Core.Infra.EFCore;
using Microsoft.Extensions.Logging;
namespace IRaCIS.Application.Services.BackGroundJob
@@ -28,7 +27,6 @@ namespace IRaCIS.Application.Services.BackGroundJob
{
var list = _trialRepository.Select(t => new { TrialId = t.Id, TrialStatusStr = t.TrialStatusStr })
.ToList();
//_provider.GetCount("");
list.ForEach(t => _provider.Set(t.TrialId.ToString(), t.TrialStatusStr, TimeSpan.FromDays(7)));
}
@@ -33,7 +33,6 @@ namespace IRaCIS.Application.Services.BackGroundJob
{
var list = _trialRepository.Select(t => new { TrialId = t.Id, TrialStatusStr = t.TrialStatusStr })
.ToList();
//_provider.GetCount("");
list.ForEach(t => _provider.Set(t.TrialId.ToString(), t.TrialStatusStr, TimeSpan.FromDays(1)));