แก้หน้าโควต้า และปรับเลื่อน

This commit is contained in:
LAPTOP-KB8JC2K2\acer
2021-04-09 14:10:41 +07:00
parent 3d5af3beac
commit e227b87af4
4 changed files with 7 additions and 1 deletions

View File

@@ -96,7 +96,8 @@ hpt.position_type_name,he.packing_date,he.cost_of_living,
ELSE null END) as remark_hrm_work_record,
org_type_depart.department_degree_id, he.timerecorder_id,
(select count(*) from hrm_resigns where hrm_resigns.employee_id = he.employee_id) as count_resigns
(select count(*) from hrm_resigns where hrm_resigns.employee_id = he.employee_id) as count_resigns,
he.workingstatus
from public.hrm_employees as he
left join public.hrm_position_types as hpt on he.position_type_id=hpt.id
@@ -243,6 +244,7 @@ order by sorting_dep.sort_order, hpt.position_type_id, hpl.position_level_id, em
{
i.count_resigns = 0;
}
i.workingstatus = dr["workingstatus"].ToString();
result.Add(i);
}