Uat_Study
he 2022-05-25 09:05:26 +08:00
parent 2629d0dbd4
commit fc2acded7f
1 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ namespace IRaCIS.Application.Services
ReviewerAckDTO attachmentViewModel)
{
var intoGroupItem = (await _enrollRepository.FirstOrDefaultAsync(t => t.TrialId == trialId && t.DoctorId == attachmentViewModel.DoctorId)).IfNullThrowException();
var intoGroupItem = (await _enrollRepository.Where(t => t.TrialId == trialId && t.DoctorId == attachmentViewModel.DoctorId).FirstOrDefaultAsync()).IfNullThrowException();
if (attachmentViewModel.Id != Guid.Empty)
@ -94,7 +94,7 @@ namespace IRaCIS.Application.Services
/// 0代表裁判和Tp 都可以 1、代表Tp 2 代表裁判
/// </summary>
/// <returns></returns>
[HttpPost("{trialId}/{doctorId}/{reviewerReadingType}")]
[HttpPost("{trialId}/{doctorId}/{type}")]
[TypeFilter(typeof(TrialResourceFilter))]
public async Task<IResponseOutput> UpdateReviewerReadingType(Guid trialId, Guid doctorId, int type)
{