监控时间

This commit is contained in:
2022-04-20 11:00:13 +08:00
parent 84a505bcc4
commit 3de8087fcc
6 changed files with 30 additions and 70 deletions
@@ -181,7 +181,7 @@ namespace IRaCIS.Core.Application
public async Task<IResponseOutput> UpdateTrialState(Guid trialId, string trialStatusStr, Guid signId, string? reason, [FromServices] IEasyCachingProvider _provider)
{
var trial = await _trialRepository.Where(t => t.Id == trialId, true).IgnoreQueryFilters().FirstOrDefaultAsync().IfNullThrowException();
var trial = (await _trialRepository.Where(t => t.Id == trialId, true).IgnoreQueryFilters().FirstOrDefaultAsync()).IfNullThrowException();
if (trialStatusStr == StaticData.TrialOngoing)
{