修复领取bug
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user