Uat_Study
parent
2629d0dbd4
commit
fc2acded7f
|
@ -54,7 +54,7 @@ namespace IRaCIS.Application.Services
|
||||||
ReviewerAckDTO attachmentViewModel)
|
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)
|
if (attachmentViewModel.Id != Guid.Empty)
|
||||||
|
@ -94,7 +94,7 @@ namespace IRaCIS.Application.Services
|
||||||
/// 0代表裁判和Tp 都可以 1、代表Tp 2 代表裁判
|
/// 0代表裁判和Tp 都可以 1、代表Tp 2 代表裁判
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
[HttpPost("{trialId}/{doctorId}/{reviewerReadingType}")]
|
[HttpPost("{trialId}/{doctorId}/{type}")]
|
||||||
[TypeFilter(typeof(TrialResourceFilter))]
|
[TypeFilter(typeof(TrialResourceFilter))]
|
||||||
public async Task<IResponseOutput> UpdateReviewerReadingType(Guid trialId, Guid doctorId, int type)
|
public async Task<IResponseOutput> UpdateReviewerReadingType(Guid trialId, Guid doctorId, int type)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue