แก้ model
This commit is contained in:
parent
d8031bff98
commit
a31b72316e
8 changed files with 48 additions and 46 deletions
|
|
@ -409,10 +409,11 @@ namespace BMA.EHR.Profile.Service.Services
|
|||
{
|
||||
try
|
||||
{
|
||||
var level = (from alv in _context.AvailablePositionLevels
|
||||
join lv in _context.PositionLevels on alv.PositionLevelId equals lv.Id
|
||||
var level = (from alv in _context.AvailablePositionLevels.Include(x => x.PositionLevel)
|
||||
// join lv in _context.PositionLevels on alv.PositionLevelId equals lv.Id
|
||||
where alv.PositionMasterId == id
|
||||
select lv.Name).ToList();
|
||||
where alv.PositionLevel != null
|
||||
select alv.PositionLevel.Name).ToList();
|
||||
|
||||
|
||||
var count = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue