เพิ่มฟิลเพื่อรองรับการจัดข้อมูลเก่า
This commit is contained in:
@@ -40,6 +40,8 @@ namespace TodoAPI2.Models
|
||||
|
||||
public string imported_file { get; set; }
|
||||
|
||||
public string report_type { get; set; }
|
||||
|
||||
public string active_mode { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -85,7 +85,7 @@ namespace TodoAPI2.Models
|
||||
i.item_create_evaluation_id = (from x in _repository.Context.eva_create_evaluation select x).ToList();
|
||||
var all_emp = emp.GetAllEmployee();
|
||||
i.item_managed_by = all_emp.ToList();
|
||||
|
||||
i.item_report_type = (from x in ext.GetSalaryReportType() select x).ToList();
|
||||
|
||||
return i;
|
||||
}
|
||||
@@ -95,7 +95,7 @@ namespace TodoAPI2.Models
|
||||
i.item_create_evaluation_id = (from x in _repository.Context.eva_create_evaluation select x).ToList();
|
||||
var all_emp = emp.GetAllEmployee();
|
||||
i.item_managed_by = all_emp.ToList();
|
||||
|
||||
i.item_report_type = (from x in ext.GetSalaryReportType() select x).ToList();
|
||||
|
||||
return i;
|
||||
}
|
||||
@@ -144,6 +144,7 @@ namespace TodoAPI2.Models
|
||||
managed_by = m_eva_adjust_postponement_migration.managed_by,
|
||||
imported_file = m_eva_adjust_postponement_migration.imported_file,
|
||||
imported_fileDisplay = m_eva_adjust_postponement_migration.imported_fileDisplay,
|
||||
report_type = m_eva_adjust_postponement_migration.report_type,
|
||||
|
||||
create_evaluation_id_eva_create_evaluation_performance_plan_id = fk_eva_create_evaluationResult4.performance_plan_id,
|
||||
managed_by_external_linkage_external_name = fk_external_linkageResult11.fullname,
|
||||
|
||||
@@ -53,5 +53,7 @@ namespace TodoAPI2.Models
|
||||
public Guid? create_evaluation_id_eva_create_evaluation_performance_plan_id { get; set; }
|
||||
public string managed_by_external_linkage_external_name { get; set; }
|
||||
|
||||
public string report_type { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -9,6 +9,7 @@ namespace TodoAPI2.Models
|
||||
{
|
||||
public List<eva_create_evaluationEntity> item_create_evaluation_id { get; set; }
|
||||
public List<external_employeeViewModel> item_managed_by { get; set; }
|
||||
|
||||
public List<external_linkageViewModel> item_report_type { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user