| | |
| | | it.TaskInfo.EnterpriseId == logier.EnterpriseId |
| | | && it.Id == request.Id) |
| | | .FirstOrDefaultAsync(cancellationToken); |
| | | if (entity == null) throw Oops.Oh(EnumErrorCodeType.s404, "该报名信息"); |
| | | if (entity.HireStatus == EnumTaskUserHireStatus.Pass) throw Oops.Oh(EnumErrorCodeType.s510, "该灵工已录用"); |
| | | if (entity == null) throw Oops.Oh(EnumErrorCodeType.s404, "报名信息"); |
| | | if (entity.HireStatus == EnumTaskUserHireStatus.Pass) throw Oops.Oh(EnumErrorCodeType.s510, "灵工已录用"); |
| | | entity.HireStatus = request.HireStatus; |
| | | if (entity.HireStatus == EnumTaskUserHireStatus.Pass) |
| | | { |
| | |
| | | it.TaskInfo.EnterpriseId == logier.EnterpriseId |
| | | && it.Id == request.Id) |
| | | .FirstOrDefaultAsync(cancellationToken); |
| | | if (entity == null) throw Oops.Oh(EnumErrorCodeType.s404, "该报名信息"); |
| | | if (entity.ArrangeStatus == EnumTaskUserArrangeStatus.Complete) throw Oops.Oh(EnumErrorCodeType.s510, "该灵工已安排"); |
| | | if (entity == null) throw Oops.Oh(EnumErrorCodeType.s404, "报名信息"); |
| | | if (entity.ArrangeStatus == EnumTaskUserArrangeStatus.Complete) throw Oops.Oh(EnumErrorCodeType.s510, "灵工已安排"); |
| | | entity.ArrangeStatus = request.ArrangeStatus; |
| | | if (entity.ArrangeStatus == EnumTaskUserArrangeStatus.Complete) |
| | | { |