修复领取bug

This commit is contained in:
2022-04-22 14:35:10 +08:00
parent 41de69d7e4
commit c9b50196fe
3 changed files with 4 additions and 5 deletions
@@ -1197,7 +1197,7 @@ namespace IRaCIS.Core.Application.Image.QA
#region
if (dbSubjectVisit.IsTake)
if (dbSubjectVisit.IsTake&& dbSubjectVisit.CurrentActionUserId!=_userInfo.Id)
{
return ResponseOutput.NotOk("当前已被领取,不允许领取");
}
@@ -1924,6 +1924,7 @@ namespace IRaCIS.Core.Application.Image.QA
/// </summary>
/// <param name="command"></param>
/// <returns></returns>
[HttpPut("{trialId:guid}")]
[TypeFilter(typeof(TrialResourceFilter))]
public async Task<IResponseOutput> UpdateSubjectAndSVInfo(UploadSubjectAndVisitCommand command)