| | |
| | | .FirstOrDefaultAsync(it => it.TaskInfoId == task.Id && it.EnterpriseEmployee.UserId == logier.Id, cancellationToken); |
| | | if (taskUser == null) throw Oops.Oh(EnumErrorCodeType.s404, "该报名信息"); |
| | | if (taskUser.ArrangeStatus == EnumTaskUserArrangeStatus.Wait) throw Oops.Oh(EnumErrorCodeType.s510, "暂未安排该任务"); |
| | | task.CheckReceiveStatus = EnumTaskCheckReceiveStatus.WaitCheckReceive; |
| | | task.LastSubmitTime = now; |
| | | taskUser.CheckReceiveStatus = EnumTaskCheckReceiveStatus.WaitCheckReceive; |
| | | taskUser.LastSubmitTime = now; |
| | | var submit = await repTaskInfoUserSubmit.AsQueryable() |
| | | .Include(it => it.Files) |