Uat_Study
he 2022-05-24 10:51:29 +08:00
parent 4244342e9a
commit a8894de3f1
2 changed files with 3 additions and 3 deletions

View File

@ -121,7 +121,7 @@ namespace IRaCIS.Core.Application.Contracts.DTO
} }
public class CloseQCChallengeDto public class CloseQCChallengeInDto
{ {
public Guid qcChallengeId { get; set; } public Guid qcChallengeId { get; set; }

View File

@ -148,11 +148,11 @@ namespace IRaCIS.Core.Application.Image.QA
/// <param name="closeEnum"></param> /// <param name="closeEnum"></param>
/// <param name="closeReason"></param> /// <param name="closeReason"></param>
/// <returns></returns> /// <returns></returns>
[HttpPut("{trialId:guid}/{subjectVisitId:guid}/{qcChallengeId:guid}/{closeEnum}/{closeReason}")] [HttpPut]
[TypeFilter(typeof(TrialResourceFilter))] [TypeFilter(typeof(TrialResourceFilter))]
[UnitOfWork] [UnitOfWork]
//[Authorize(Policy = "ImageQCPolicy")] //[Authorize(Policy = "ImageQCPolicy")]
public async Task<IResponseOutput> CloseQCChallenge(CloseQCChallengeDto input) public async Task<IResponseOutput> CloseQCChallenge(CloseQCChallengeInDto input)
{ {
if (_userInfo.UserTypeEnumInt == (int)UserTypeEnum.IQC) if (_userInfo.UserTypeEnumInt == (int)UserTypeEnum.IQC)