add parent
This commit is contained in:
parent
ddf899ce5d
commit
9e8fe1b30a
22 changed files with 289 additions and 122 deletions
|
|
@ -74,20 +74,6 @@ namespace BMA.EHR.DisciplineSuspend.Service.Controllers
|
|||
{
|
||||
return Error(jsonData["message"]?.ToString(), StatusCodes.Status403Forbidden);
|
||||
}
|
||||
//var profile = new List<GetProfileByKeycloakIdRootDto>();
|
||||
//if (type.Trim().ToUpper() == "OFFICER")
|
||||
//{
|
||||
// profile = await _userProfileRepository.GetProfileWithKeycloakAllOfficer(AccessToken, req.node, req.nodeId, jsonData["result"] == "OWNER" || jsonData["result"] == "CHILD");
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// profile = await _userProfileRepository.GetProfileWithKeycloakAllEmployee(AccessToken, req.node, req.nodeId, jsonData["result"] == "OWNER" || jsonData["result"] == "CHILD");
|
||||
//}
|
||||
|
||||
//if (req.posLevel != null || req.posType != null)
|
||||
//{
|
||||
// profile = profile.Where(x => x.PositionType == req.posType || x.PositionLevel == req.posLevel).ToList();
|
||||
//}
|
||||
|
||||
var data_search1 = await _context.DisciplineComplaints
|
||||
.Include(x => x.DisciplineComplaint_Profiles)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue