ปรับปรุงหน้าจอ migration และ เงื่อนไขการค้นหา หน้าทำแบบประเมิน

This commit is contained in:
LAPTOP-KB8JC2K2\acer
2021-04-06 11:34:25 +07:00
parent c8f4d2317c
commit 4844a0ad44
16 changed files with 1237 additions and 150 deletions

View File

@@ -198,7 +198,7 @@ namespace TodoAPI2.Models
item.item_level_score = (from i in _repository.Context.eva_level_score
orderby i.min_score
select Mapper.Map<eva_level_scoreViewModel>(i)).ToList();
item.item_employee_id = (from x in emp.GetListByemployee_type(null,null) select x).ToList();
item.item_employee_id = (from x in emp.GetAllEmployee() where x.count_resigns == 0 select x).ToList();
return item;
}
@@ -206,7 +206,7 @@ namespace TodoAPI2.Models
{
var i = new eva_create_evaluation_detail_processWithSelectionViewModel();
i.item_org_id = ext.GetDepartmentData();
i.item_employee_id = (from x in emp.GetListByemployee_type(null, null) select x).ToList();
i.item_employee_id = (from x in emp.GetAllEmployee() where x.count_resigns == 0 select x).ToList();
//i.item_level_score = (from j in _repository.Context.eva_level_score
// orderby j.min_score
// select Mapper.Map<eva_level_scoreViewModel>(i)).ToList();