ปรับปรุง เพิ่มเติม
This commit is contained in:
@@ -324,6 +324,8 @@ namespace TodoAPI2.Controllers
|
||||
if (i.employee_org != null) i.employee_org = i.employee_org.Replace("แผนก", "");
|
||||
|
||||
i.employee_position = p.employee_position;
|
||||
i.employee_position_full = p.employee_position + checkLevel(p.employee_position_type_id, p.employee_position_level_text, p.employee_fullname);
|
||||
|
||||
if (!string.IsNullOrEmpty(p.employee_profile_picture))
|
||||
{
|
||||
i.image_url = MyHelper.GetConfig(Configuration, "SiteInformation:hr_svc") + "/api/image/" + p.employee_profile_picture;
|
||||
|
||||
@@ -23,7 +23,6 @@ namespace TodoAPI2.Models
|
||||
public string employee_profile_picture { get; set; }
|
||||
|
||||
public string employee_position { get; set; }
|
||||
|
||||
public string employee_position_type { get; set; }
|
||||
|
||||
public string employee_position_level { get; set; }
|
||||
|
||||
@@ -21,6 +21,7 @@ namespace TodoAPI2.Models
|
||||
public string employee_position_level { get; set; }
|
||||
public string employee_org { get; set; }
|
||||
public string employee_position { get; set; }
|
||||
public string employee_position_full { get; set; }
|
||||
public string image_url { get; set; }
|
||||
public string chief_fullname { get; set; }
|
||||
public string chief_position { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user