แก้หน้าโควต้า และปรับเลื่อน
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -71,6 +71,8 @@ namespace TodoAPI2.Models
|
||||
public string timerecorder_id { get; set; }
|
||||
public int count_resigns { get; set; }
|
||||
|
||||
public string workingstatus { get; set; }
|
||||
|
||||
public int? worked_month // ทำงานมาแล้วกี่เดือน
|
||||
{
|
||||
get
|
||||
|
||||
Reference in New Issue
Block a user