|
|
@ -175,9 +175,9 @@ public class InjectionIssueJobsController : AbpController |
|
|
|
// return new NotFoundObjectResult($"任务属于工作组 {jobDto.WorkGroupCode}");
|
|
|
|
//}
|
|
|
|
|
|
|
|
if (jobDto.JobStatus == EnumJobStatus.Doing && jobDto.AcceptUserId != CurrentUser.Id) |
|
|
|
if (jobDto.JobStatus == EnumJobStatus.Doing && jobDto.ClaimsUserId != CurrentUser.Id.ToString()) |
|
|
|
{ |
|
|
|
return new NotFoundObjectResult($"任务正在被 {jobDto.AcceptUserName} 处理"); |
|
|
|
return new NotFoundObjectResult($"任务正在被 {jobDto.ClaimsUserName} 处理"); |
|
|
|
} |
|
|
|
|
|
|
|
return jobDto; |
|
|
|