test
This commit is contained in:
parent
733fe0d734
commit
dedd187f37
1 changed files with 4 additions and 4 deletions
|
|
@ -638,10 +638,10 @@ namespace BMA.EHR.Recruit.Service.Controllers
|
||||||
return Error(jsonData["message"]?.ToString(), StatusCodes.Status403Forbidden);
|
return Error(jsonData["message"]?.ToString(), StatusCodes.Status403Forbidden);
|
||||||
}
|
}
|
||||||
var data = await _context.RecruitImports.AsQueryable()
|
var data = await _context.RecruitImports.AsQueryable()
|
||||||
.Include(x => x.ImportFile)
|
//.Include(x => x.ImportFile)
|
||||||
.Include(x => x.Recruits)
|
.Include(x => x.Recruits)
|
||||||
.Include(x => x.ScoreImport)
|
//.Include(x => x.ScoreImport)
|
||||||
.ThenInclude(x => x.ImportFile)
|
//.ThenInclude(x => x.ImportFile)
|
||||||
.Include(x => x.ScoreImport)
|
.Include(x => x.ScoreImport)
|
||||||
.ThenInclude(x => x.Scores)
|
.ThenInclude(x => x.Scores)
|
||||||
.OrderByDescending(x => x.Year)
|
.OrderByDescending(x => x.Year)
|
||||||
|
|
@ -668,7 +668,7 @@ namespace BMA.EHR.Recruit.Service.Controllers
|
||||||
})
|
})
|
||||||
.ToListAsync();
|
.ToListAsync();
|
||||||
|
|
||||||
var roles = _httpContextAccessor?.HttpContext?.User?.FindAll(ClaimTypes.Role)?.Select(c => c.Value).ToList();
|
//var roles = _httpContextAccessor?.HttpContext?.User?.FindAll(ClaimTypes.Role)?.Select(c => c.Value).ToList();
|
||||||
|
|
||||||
return Success(data);
|
return Success(data);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue