Change Request/Feature OP เลขที่ 3217, 3200, 3216, 3219 ดำเนินการแล้ว
This commit is contained in:
@@ -42,6 +42,8 @@ namespace TodoAPI2.Models
|
||||
|
||||
public string search_employee_fullname { get; set; }
|
||||
|
||||
public int? employee_id { get; set; }
|
||||
|
||||
public string active_mode { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,7 +21,9 @@ namespace TodoAPI2.Models
|
||||
public string search_employee_code { get; set; }
|
||||
|
||||
public string search_employee_fullname { get; set; }
|
||||
|
||||
|
||||
public int? employee_id { get; set; }
|
||||
|
||||
public string path { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -170,13 +170,15 @@ 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();
|
||||
|
||||
return item;
|
||||
}
|
||||
public eva_create_evaluation_detail_processWithSelectionViewModel GetBlankItem()
|
||||
{
|
||||
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_level_score = (from j in _repository.Context.eva_level_score
|
||||
// orderby j.min_score
|
||||
// select Mapper.Map<eva_level_scoreViewModel>(i)).ToList();
|
||||
@@ -240,6 +242,7 @@ namespace TodoAPI2.Models
|
||||
|| (fk_eva_create_evaluationResult10.supervisor1_id.HasValue && emp_id == fk_eva_create_evaluationResult10.supervisor1_id)
|
||||
|| (fk_eva_create_evaluationResult10.supervisor2_id.HasValue && emp_id == fk_eva_create_evaluationResult10.supervisor2_id)
|
||||
)
|
||||
&& (!model.employee_id.HasValue || m_eva_create_evaluation_detail_process.employee_id == model.employee_id)
|
||||
|
||||
orderby
|
||||
fk_sort_depResult2.external_code,
|
||||
|
||||
@@ -11,6 +11,8 @@ namespace TodoAPI2.Models
|
||||
|
||||
public List<eva_level_scoreViewModel> item_level_score { get; set; }
|
||||
|
||||
public List<external_employeeViewModel> item_employee_id { get; set; }
|
||||
|
||||
public decimal? create_evaluation_score1 { get; set; }
|
||||
|
||||
public decimal? create_evaluation_score2 { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user