| | |
| | | public EnumTaskUserHireStatus? HireStatus { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 灵工Id |
| | | /// </summary> |
| | | public Guid? EnterpriseEmployeeId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 我的报名列表状态 |
| | | /// </summary> |
| | | public GetTaskInfoQueryResultApplyButton? ApplyButton { get; set; } |
| | |
| | | { |
| | | it.Id, |
| | | it.HireStatus, |
| | | it.EnterpriseEmployeeId, |
| | | it.EnterpriseEmployee.UserSignContractStatus |
| | | }) |
| | | .FirstOrDefaultAsync(); |
| | | if (taskUser != null) |
| | | { |
| | | model.EnterpriseEmployeeId = taskUser.EnterpriseEmployeeId; |
| | | model.HireStatus = taskUser.HireStatus; |
| | | model.ApplyButton = taskUser.HireStatus == EnumTaskUserHireStatus.Wait |
| | | ? GetTaskInfoQueryResultApplyButton.WaitHire |