Merge branch 'develop' into work
This commit is contained in:
commit
cba981e432
4 changed files with 2760 additions and 32 deletions
|
|
@ -1,6 +1,4 @@
|
|||
using Amazon.Runtime.Internal.Transform;
|
||||
using Amazon.S3.Model.Internal.MarshallTransformations;
|
||||
using BMA.EHR.Application.Common.Interfaces;
|
||||
using BMA.EHR.Application.Common.Interfaces;
|
||||
using BMA.EHR.Application.Responses.Reports;
|
||||
using BMA.EHR.Domain.Extensions;
|
||||
using BMA.EHR.Domain.Models.Commands.Core;
|
||||
|
|
@ -278,7 +276,7 @@ namespace BMA.EHR.Application.Repositories.Commands
|
|||
}
|
||||
|
||||
var report_data = (from r in raw_data
|
||||
join p in _dbContext.Set<PlacementProfile>()
|
||||
join p in _dbContext.Set<PlacementAppointment>()
|
||||
.Include(x => x.OrganizationPosition)
|
||||
.ThenInclude(x => x.Organization)
|
||||
.Include(x => x.PositionPath)
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -43,6 +43,22 @@ namespace BMA.EHR.Application.Repositories
|
|||
}
|
||||
}
|
||||
|
||||
public async Task<List<Placement>> GetAllPlacementAsync()
|
||||
{
|
||||
try
|
||||
{
|
||||
var data = await _dbContext.Set<Placement>()
|
||||
.Include(p => p.PlacementType)
|
||||
.ToListAsync();
|
||||
|
||||
return data;
|
||||
}
|
||||
catch
|
||||
{
|
||||
throw;
|
||||
}
|
||||
}
|
||||
|
||||
public async Task<List<Placement>> GetQualifyingPlacementAsync()
|
||||
{
|
||||
var data = await _dbContext.Set<Placement>()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue