fix bugs รายงานแบบย่อแสดงผล error
This commit is contained in:
parent
2f3a07d6cd
commit
39cebf60fa
1 changed files with 3 additions and 3 deletions
|
|
@ -74,8 +74,8 @@ namespace BMA.EHR.Report.Service.Controllers
|
|||
{
|
||||
try
|
||||
{
|
||||
var profile_salaries = (from ps in _context.ProfileSalaries.ToList()
|
||||
join pos in _context.PositionPaths.ToList()
|
||||
var profile_salaries = (from ps in _context.ProfileSalaries
|
||||
join pos in _context.PositionPaths
|
||||
on ps.PositionId equals pos.Id
|
||||
where ps.Profile.Id == id
|
||||
select new
|
||||
|
|
@ -493,7 +493,7 @@ namespace BMA.EHR.Report.Service.Controllers
|
|||
OcFullPath = profile2.OcFullPath
|
||||
}).ToList();
|
||||
|
||||
while (salary.Count < 20)
|
||||
while (salary.Count < 1)
|
||||
{
|
||||
salary.Add(new
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue