no message

This commit is contained in:
kittapath 2025-01-11 12:07:56 +07:00
parent 340dcf9476
commit e4386d9cb1

View file

@ -1388,10 +1388,10 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
PointPath1A = item.PointPath1A != null ? item.PointPath1A.ToThaiNumber() : "-",
PointPath2A = item.PointPath2A != null ? item.PointPath2A.ToThaiNumber() : "-",
PointPath3A = item.PointPath3A != null ? item.PointPath3A.ToThaiNumber() : "-",
PointPath3A = item.PointPath3A != null ? item.PointPath3A.ToThaiNumber() : "-",
PointA = item.PointA != null ? item.PointA.ToThaiNumber() : "-",
PointPerA = item.PointPerA != null ? item.PointPerA.ToThaiNumber() : "-",
ResultA = item.ResultA != null ? item.ResultA.ToThaiNumber() : "-",
ResultA = item.ResultA != null ? item.ResultA.ToThaiNumber() : "-",
PointB = item.PointB != null ? item.PointB.ToThaiNumber() : "-",
PointPerB = item.PointPerB != null ? item.PointPerB.ToThaiNumber() : "-",
@ -1448,7 +1448,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
ExamReason = "-"
});
}
return new
{
template = "candidate",
@ -1987,7 +1987,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
.OrderBy(x => x.DurationStart)
.Where(x => x.Candidate.Id == item.Id)
.ToListAsync();
if(careers.Any())
if (careers.Any())
{
var firstCareer = careers.First();
@ -2493,7 +2493,8 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
var educations = new List<object>();
var careers = new List<object>();
var ages = new {
var ages = new
{
one = "",
two = "",
three = "",
@ -2561,7 +2562,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
careersCount = careersCount.ToString().ToThaiNumber(),
ages = ages
}
};
};
}
public async Task<MemoryStream> DownloadCandidatePaymentAllAsync(string examId)
@ -2620,6 +2621,8 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
.ThenInclude(x => x.PositionExam)
.Include(x => x.Candidate)
.ThenInclude(x => x.ProfileImg)
.Include(x => x.Candidate)
.ThenInclude(x => x.Educations)
.FirstOrDefaultAsync(x => x.Id == examId);
if (periodExam == null)