ทำหน้า ปรับเลื่อนค่าตอบแทน dropdown แก้ป็น autocomplete และ จัดเรียง หน่วยงาน ตาม org

ทำ วัน พุธ ที่ 07/07/2564 เวลา 20.00 - 12.00 น.
This commit is contained in:
Pairat Sangprasert
2021-07-08 00:03:29 +07:00
parent 0dbfb54829
commit 93f58f0be3
3 changed files with 121 additions and 8 deletions

View File

@@ -96,6 +96,15 @@ namespace TodoAPI2.Models
where j.employee_id == emp_id
select j.id).ToList();
var data_fiscal_year = (from f_y in _repository.Context.eva_adjust_postponement
group f_y by f_y.fiscal_year into new_group
orderby new_group.Key descending
select new
{
fiscal_year = new_group.Key
}
).ToList();
var i = new eva_adjust_postponement_normalWithSelectionViewModel();
var temp = create.GetListBySearch(new eva_create_evaluationSearchModel());
i.item_create_evaluation_id = (from x in temp where avaliable_eva.Contains(x.id) select x).ToList();