Compare commits
No commits in common. "dev" and "v1.0.7" have entirely different histories.
2 changed files with 1 additions and 16 deletions
|
|
@ -9,8 +9,5 @@ namespace BMA.EHR.Recurit.Exam.Service.Response
|
||||||
public string? RejectDetail { get; set; }
|
public string? RejectDetail { get; set; }
|
||||||
|
|
||||||
public bool? IsShowExamInfo { get; set; }
|
public bool? IsShowExamInfo { get; set; }
|
||||||
|
|
||||||
public bool? IsShowResult { get; set; }
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1978,19 +1978,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
||||||
if (candidate == null)
|
if (candidate == null)
|
||||||
throw new Exception(GlobalMessages.CandidateNotFound);
|
throw new Exception(GlobalMessages.CandidateNotFound);
|
||||||
|
|
||||||
bool IsShowResult = true;
|
return new CandidateStatusResponse { Status = candidate.Status, RejectDetail = candidate.RejectDetail, IsShowExamInfo = candidate.IsShowExamInfo };
|
||||||
if (exam.AnnouncementDate != null)
|
|
||||||
{
|
|
||||||
var showResultEndDate = exam.AnnouncementDate.Value.Date.AddDays(15);
|
|
||||||
IsShowResult = DateTime.Now.Date <= showResultEndDate;
|
|
||||||
}
|
|
||||||
|
|
||||||
return new CandidateStatusResponse {
|
|
||||||
Status = candidate.Status,
|
|
||||||
RejectDetail = candidate.RejectDetail,
|
|
||||||
IsShowExamInfo = candidate.IsShowExamInfo,
|
|
||||||
IsShowResult = IsShowResult,
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task UserCheckCandidateService(string examId, string positionId, string status)
|
public async Task UserCheckCandidateService(string examId, string positionId, string status)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue