Merge branch 'master' of http://192.168.1.2:8033/IRaCIS_Core_Api
commit
2a8f66f360
|
@ -275,6 +275,16 @@ namespace IRaCIS.Core.Application.Service.Inspection.DTO
|
||||||
|
|
||||||
[NotDefault]
|
[NotDefault]
|
||||||
public Guid TrialReadingCriterionId { get; set; }
|
public Guid TrialReadingCriterionId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 是否盲化
|
||||||
|
/// </summary>
|
||||||
|
public bool? IsBlind { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 是否完整
|
||||||
|
/// </summary>
|
||||||
|
public bool? IsComplete { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -285,6 +285,8 @@ namespace IRaCIS.Application.Services
|
||||||
//---当前临床数据状态不是已核查状态,不允许签名!
|
//---当前临床数据状态不是已核查状态,不允许签名!
|
||||||
throw new BusinessValidationFailedException(_localizer["ReadingClinicalData_Unchecked"]);
|
throw new BusinessValidationFailedException(_localizer["ReadingClinicalData_Unchecked"]);
|
||||||
}
|
}
|
||||||
|
data.IsBlind = inDto.IsBlind;
|
||||||
|
data.IsComplete=inDto.IsComplete;
|
||||||
data.IsSign = true;
|
data.IsSign = true;
|
||||||
data.ReadingClinicalDataState = ReadingClinicalDataStatus.HaveSigned;
|
data.ReadingClinicalDataState = ReadingClinicalDataStatus.HaveSigned;
|
||||||
|
|
||||||
|
@ -414,7 +416,8 @@ namespace IRaCIS.Application.Services
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// 废弃 接口合并到签名哪里
|
||||||
|
|
||||||
[HttpPut]
|
[HttpPut]
|
||||||
public async Task<IResponseOutput> PMClinicalDataConfirm(PMClinicalDataConfirmCommand command)
|
public async Task<IResponseOutput> PMClinicalDataConfirm(PMClinicalDataConfirmCommand command)
|
||||||
{
|
{
|
||||||
|
@ -424,9 +427,12 @@ namespace IRaCIS.Application.Services
|
||||||
IsComplete = command.IsComplete,
|
IsComplete = command.IsComplete,
|
||||||
ReadingClinicalDataState = ReadingClinicalDataStatus.HaveChecked
|
ReadingClinicalDataState = ReadingClinicalDataStatus.HaveChecked
|
||||||
});
|
});
|
||||||
|
|
||||||
await _readingClinicalDataRepository.SaveChangesAsync();
|
await _readingClinicalDataRepository.SaveChangesAsync();
|
||||||
|
|
||||||
return ResponseOutput.Ok();
|
return ResponseOutput.Ok();
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue