(53654,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00025296211242676','192.168.1.254','2019-06-16 03:51:33'),(53655,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00038409233093262','192.168.1.254','2019-06-16 03:51:33'),(53656,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031805038452148','192.168.1.254','2019-06-16 03:51:33'),(53657,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035691261291504','192.168.1.254','2019-06-16 03:51:33'),(53658,128,NULL,'others','SELECT `a`.*, `b`.`file_name`, `b`.`file_location`\nFROM `company` `a`\nLEFT JOIN `company__logo` `b` ON `b`.`id` = `a`.`main_logo_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00048017501831055','192.168.1.254','2019-06-16 03:51:33'),(53659,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033903121948242','192.168.1.254','2019-06-16 03:51:33'),(53660,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `d`.`position_id` < 13\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.020698070526123','192.168.1.254','2019-06-16 03:51:33'),(53661,128,NULL,'others','SELECT `a`.*, `b`.`name` as `company_name`\nFROM `company__branch` `a`\nJOIN `company` `b` ON `b`.`id` = `a`.`company_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0029458999633789','192.168.1.254','2019-06-16 03:51:33'),(53662,128,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`\nFROM `company__division` `a`\nLEFT JOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00049090385437012','192.168.1.254','2019-06-16 03:51:33'),(53663,128,NULL,'others','SELECT `a`.*, `b`.`name` as `branch_name`, `c`.`name` as `hod_name`\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`hod_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00055599212646484','192.168.1.254','2019-06-16 03:51:33'),(53664,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00020098686218262','192.168.1.254','2019-06-16 03:51:33'),(53665,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00018501281738281','192.168.1.254','2019-06-16 03:51:33'),(53666,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00018095970153809','192.168.1.254','2019-06-16 03:51:33'),(53667,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00016903877258301','192.168.1.254','2019-06-16 03:51:33'),(53668,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00017309188842773','192.168.1.254','2019-06-16 03:51:33'),(53669,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00024104118347168','192.168.1.254','2019-06-16 03:51:33'),(53670,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0043959617614746','192.168.1.254','2019-06-16 03:51:33'),(53671,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0026209354400635','192.168.1.254','2019-06-16 03:51:33'),(53672,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00037693977355957','192.168.1.254','2019-06-16 03:51:34'),(53673,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028014183044434','192.168.1.254','2019-06-16 03:51:34'),(53674,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028491020202637','192.168.1.254','2019-06-16 03:51:34'),(53675,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029897689819336','192.168.1.254','2019-06-16 03:51:34'),(53676,128,NULL,'others','SELECT `a`.*, `b`.`country` as `country_issue`\nFROM `user__profiling` `a`\nLEFT JOIN `_ref__country` `b` ON `b`.`id` = `a`.`place_issue`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nORDER BY `a`.`action_efective_date` DESC, `a`.`id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00047087669372559','192.168.1.254','2019-06-16 03:51:34'),(53677,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034213066101074','192.168.1.254','2019-06-16 03:51:34'),(53678,128,NULL,'others','SELECT `a`.`id`\nFROM `user__profiling` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`action_efective_date` DESC, `id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032782554626465','192.168.1.254','2019-06-16 03:51:34'),(53679,128,NULL,'others','SELECT `a`.*, `b`.`relations`, `c`.`level` as `level_academic`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__family_member` `a`\nJOIN `_ref__relationship` `b` ON `b`.`id` = `a`.`relation`\nLEFT JOIN `_ref__academic` `c` ON `c`.`id` = `a`.`academic_lavel`\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__family_member` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00047516822814941','192.168.1.254','2019-06-16 03:51:34'),(53680,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/hr/leave','0.019554853439331','192.168.1.254','2019-06-16 03:51:34'),(53681,128,NULL,'others','SELECT `a`.*, `b`.`level` as `academic_level`, `c`.`id` as `attachment_id`, `c`.`attachment_name`, `c`.`location`, `c`.`file_type`, `c`.`file_ext`, `c`.`mask_id`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__academic_qualification` `a`\nJOIN `_ref__academic` `b` ON `b`.`id` = `a`.`level_id`\nLEFT OUTER JOIN `user__academic_qualification_attachment` `c` ON `c`.`academic_qualification_id` = `a`.`id` and `c`.`is_delete` = 0\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__academic_qualification` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00051116943359375','192.168.1.254','2019-06-16 03:51:34'),(53682,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00040292739868164','192.168.1.254','2019-06-16 03:51:34'),(53683,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__personal_attachment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__personal_attachment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040507316589355','192.168.1.254','2019-06-16 03:51:34'),(53684,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave','0.0013020038604736','192.168.1.254','2019-06-16 03:51:34'),(53685,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__employment_history` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__employment_history` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\') ','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041794776916504','192.168.1.254','2019-06-16 03:51:34'),(53686,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/hr/leave','0.017762899398804','192.168.1.254','2019-06-16 03:51:34'),(53687,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__profesional_membership` `a`\nLEFT JOIN `user__profesional_membership_attachment` `b` ON `b`.`professional_membership_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__profesional_membership` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00048208236694336','192.168.1.254','2019-06-16 03:51:34'),(53688,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00039196014404297','192.168.1.254','2019-06-16 03:51:34'),(53689,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__license` `a`\nLEFT JOIN `user__license_attachment` `b` ON `b`.`license_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__license` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046300888061523','192.168.1.254','2019-06-16 03:51:34'),(53690,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave','0.0011968612670898','192.168.1.254','2019-06-16 03:51:34'),(53691,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__recognition` `a`\nLEFT JOIN `user__recognition_attachment` `b` ON `b`.`recognition_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recognition` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003960132598877','192.168.1.254','2019-06-16 03:51:34'),(53692,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/hr/leave','0.016746997833252','192.168.1.254','2019-06-16 03:51:34'),(53693,128,NULL,'others','SELECT `a`.*, `b`.`name`, `c`.`action_efective_date`, `d`.`type` as `action_type`, `e`.`id` as `attachment_id`, `e`.`attachment_name`, `e`.`location`, `e`.`file_type`, `e`.`file_ext`, `e`.`mask_id`\nFROM `user__bank_detail` `a`\nJOIN `_ref__bank` `b` ON `b`.`id` = `a`.`bank_id`\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nLEFT JOIN `user__bank_detail_attachment` `e` ON `e`.`bank_detail_id` = `a`.`id` and `e`.`is_delete` = 0\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__bank_detail` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00042295455932617','192.168.1.254','2019-06-16 03:51:34'),(53694,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00034713745117188','192.168.1.254','2019-06-16 03:51:34'),(53695,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__third_party_payment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__third_party_payment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034809112548828','192.168.1.254','2019-06-16 03:51:34'),(53696,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave','0.0011849403381348','192.168.1.254','2019-06-16 03:51:34'),(53697,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` =0\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033998489379883','192.168.1.254','2019-06-16 03:51:34'),(53698,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = 4\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00078892707824707','192.168.1.254','2019-06-16 03:51:34'),(53699,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` = 1\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033402442932129','192.168.1.254','2019-06-16 03:51:34'),(53700,23,NULL,'insert','INSERT INTO `_log__module_session` (`module_id`, `user_session_id`) VALUES (4, 1020)','leave/index','0.033006191253662','192.168.1.254','2019-06-16 03:51:34'),(53701,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034499168395996','192.168.1.254','2019-06-16 03:51:34'),(53702,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave','0.00053596496582031','192.168.1.254','2019-06-16 03:51:34'),(53703,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00061702728271484','192.168.1.254','2019-06-16 03:51:34'),(53704,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave','0.00029993057250977','192.168.1.254','2019-06-16 03:51:34'),(53705,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00059080123901367','192.168.1.254','2019-06-16 03:51:34'),(53706,23,NULL,'others','SELECT `a`.*, `b`.`name` as `branch_name`, `c`.`name` as `hod_name`\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`hod_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/leave','0.00059795379638672','192.168.1.254','2019-06-16 03:51:34'),(53707,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00058388710021973','192.168.1.254','2019-06-16 03:51:34'),(53708,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `d`.`title`, `e`.`position` as `position_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`, `m`.`duration` as `contract_term`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__contract_element` `m` ON `m`.`id` = `d`.`contract_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.022922039031982','192.168.1.254','2019-06-16 03:51:34'),(53709,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00058412551879883','192.168.1.254','2019-06-16 03:51:34'),(53710,23,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`, `c`.`name` as `period_from`, `d`.`name` as `period_to`, `e`.`status` as `leave_status`, `f`.`name` as `leave_type`, `f`.`colour`, `f`.`code`, `g`.`name` as `user_name`, `h`.`file_name`, `h`.`file_location`, `k`.`name` as `relief_person`\nFROM `hr__leave_application` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nJOIN `hr__ref_leave_period` `c` ON `c`.`id` = `a`.`period_from_id`\nJOIN `hr__ref_leave_period` `d` ON `d`.`id` = `a`.`period_to_id`\nJOIN `hr__ref_leave_status` `e` ON `e`.`id` = `a`.`status`\nJOIN `hr__leave_type` `f` ON `f`.`id` = `a`.`type_id`\nJOIN `user` `g` ON `g`.`id` = `a`.`user_id`\nLEFT JOIN `hr__leave_attachment` `h` ON `h`.`application_id` = `a`.`id`\nLEFT JOIN `user__employment_detail` `i` ON `a`.`user_id` = `i`.`user_id`\nLEFT JOIN `company__position` `j` ON `i`.`position_id` = `j`.`id`\nJOIN `user` `k` ON `k`.`id` = `a`.`absent_relief_id`\nWHERE 0 = \'a.status in (1,2)\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`status` ASC, `a`.`created_ts` DESC','/salihin-digital/hr/leave','0.00541090965271','192.168.1.254','2019-06-16 03:51:34'),(53711,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 1019','StaffProfile/new_action_type','0.00042104721069336','192.168.1.254','2019-06-16 03:51:34'),(53712,23,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`, `c`.`name` as `period_from`, `d`.`name` as `period_to`, `e`.`status` as `leave_status`, `f`.`name` as `leave_type`, `f`.`colour`, `f`.`code`, `g`.`name` as `user_name`, `h`.`file_name`, `h`.`file_location`, `k`.`name` as `relief_person`\nFROM `hr__leave_application` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nJOIN `hr__ref_leave_period` `c` ON `c`.`id` = `a`.`period_from_id`\nJOIN `hr__ref_leave_period` `d` ON `d`.`id` = `a`.`period_to_id`\nJOIN `hr__ref_leave_status` `e` ON `e`.`id` = `a`.`status`\nJOIN `hr__leave_type` `f` ON `f`.`id` = `a`.`type_id`\nJOIN `user` `g` ON `g`.`id` = `a`.`user_id`\nLEFT JOIN `hr__leave_attachment` `h` ON `h`.`application_id` = `a`.`id`\nLEFT JOIN `user__employment_detail` `i` ON `a`.`user_id` = `i`.`user_id`\nLEFT JOIN `company__position` `j` ON `i`.`position_id` = `j`.`id`\nJOIN `user` `k` ON `k`.`id` = `a`.`absent_relief_id`\nWHERE `a`.`is_delete` =0\nAND 0 = \'a.status in (1,2)\'\nAND `a`.`department_id` IS NULL\nAND   (\n(\'2019-06-16\' BETWEEN `a`.`date_from` AND a.date_to)\nOR (\'2019-06-23\' BETWEEN `a`.`date_from` and a.date_to)\nOR (`a`.`date_from` BETWEEN \'2019-06-16\' AND \'2019-06-23\')\nOR (`a`.`date_to` BETWEEN \'2019-06-16\' AND \'2019-06-23\')\n )','/salihin-digital/hr/leave','0.0015928745269775','192.168.1.254','2019-06-16 03:51:34'),(53713,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `d`.`title`, `e`.`position` as `position_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`, `m`.`duration` as `contract_term`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__contract_element` `m` ON `m`.`id` = `d`.`contract_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'23\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.014073848724365','192.168.1.254','2019-06-16 03:51:34'),(53714,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave','0.00028014183044434','192.168.1.254','2019-06-16 03:51:34'),(53715,23,NULL,'others','SELECT (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019) as leaveTotal, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 1) as leavePending, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 2) as leaveApproved, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 3) as leaveRejected, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 4) as leaveCancelled','/salihin-digital/hr/leave','0.00045514106750488','192.168.1.254','2019-06-16 03:51:34'),(53716,23,NULL,'others','SELECT `a`.*, `b`.`code`, `b`.`name`, `d`.`name` as `departmentName`\nFROM `hr__leave_allocation` `a`\nJOIN `hr__leave_type` `b` ON `b`.`id` = `a`.`type_id`\nJOIN `user__employment_detail` `c` ON `c`.`user_id` = `a`.`user_id`\nJOIN `company__department` `d` ON `d`.`id` = `c`.`department_id`\nWHERE `a`.`user_id` = \'23\'\nAND `a`.`year` = \'2019\'\nAND `a`.`type_id` NOT IN(2, 4)\nAND `a`.`is_delete` =0\nORDER BY `a`.`year` DESC, `a`.`type_id` ASC','/salihin-digital/hr/leave','0.0015630722045898','192.168.1.254','2019-06-16 03:51:34'),(53717,23,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`, `c`.`name` as `period_from`, `d`.`name` as `period_to`, `e`.`status` as `leave_status`, `f`.`name` as `leave_type`, `f`.`colour`, `f`.`code`, `g`.`name` as `user_name`, `h`.`file_name`, `h`.`file_location`, `k`.`name` as `relief_person`\nFROM `hr__leave_application` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nJOIN `hr__ref_leave_period` `c` ON `c`.`id` = `a`.`period_from_id`\nJOIN `hr__ref_leave_period` `d` ON `d`.`id` = `a`.`period_to_id`\nJOIN `hr__ref_leave_status` `e` ON `e`.`id` = `a`.`status`\nJOIN `hr__leave_type` `f` ON `f`.`id` = `a`.`type_id`\nJOIN `user` `g` ON `g`.`id` = `a`.`user_id`\nLEFT JOIN `hr__leave_attachment` `h` ON `h`.`application_id` = `a`.`id`\nLEFT JOIN `user__employment_detail` `i` ON `a`.`user_id` = `i`.`user_id`\nLEFT JOIN `company__position` `j` ON `i`.`position_id` = `j`.`id`\nJOIN `user` `k` ON `k`.`id` = `a`.`absent_relief_id`\nWHERE `a`.`user_id` = \'23\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`status` ASC, `a`.`created_ts` DESC\n LIMIT 5','/salihin-digital/hr/leave','0.0073339939117432','192.168.1.254','2019-06-16 03:51:34'),(53718,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `d`.`title`, `e`.`position` as `position_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`, `m`.`duration` as `contract_term`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__contract_element` `m` ON `m`.`id` = `d`.`contract_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'23\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.014280796051025','192.168.1.254','2019-06-16 03:51:34'),(53719,23,NULL,'others','SELECT `a`.*, `b`.`code`, `b`.`name`, `d`.`name` as `departmentName`\nFROM `hr__leave_allocation` `a`\nJOIN `hr__leave_type` `b` ON `b`.`id` = `a`.`type_id`\nJOIN `user__employment_detail` `c` ON `c`.`user_id` = `a`.`user_id`\nJOIN `company__department` `d` ON `d`.`id` = `c`.`department_id`\nWHERE `a`.`user_id` = \'23\'\nAND `a`.`year` = \'2019\'\nAND `a`.`type_id` = 1\nAND `a`.`is_delete` =0\nORDER BY `a`.`year` DESC, `a`.`type_id` ASC','/salihin-digital/hr/leave','0.0018529891967773','192.168.1.254','2019-06-16 03:51:34'),(53720,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `e`.`parent_id` < 3\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.024172067642212','192.168.1.254','2019-06-16 03:51:34'),(53721,23,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/leave','0.00059008598327637','192.168.1.254','2019-06-16 03:51:34'),(53722,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00097799301147461','192.168.1.254','2019-06-16 03:51:34'),(53723,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00091409683227539','192.168.1.254','2019-06-16 03:51:34'),(53724,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00088214874267578','192.168.1.254','2019-06-16 03:51:34'),(53725,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00087285041809082','192.168.1.254','2019-06-16 03:51:35'),(53726,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/\'\nWHERE id = 1020','leave/index','0.00033402442932129','192.168.1.254','2019-06-16 03:51:35'),(53727,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018975973129272','192.168.1.254','2019-06-16 03:52:04'),(53728,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040507316589355','192.168.1.254','2019-06-16 03:52:04'),(53729,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00124192237854','192.168.1.254','2019-06-16 03:52:04'),(53730,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019074201583862','192.168.1.254','2019-06-16 03:52:04'),(53731,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040793418884277','192.168.1.254','2019-06-16 03:52:04'),(53732,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012450218200684','192.168.1.254','2019-06-16 03:52:04'),(53733,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.01900315284729','192.168.1.254','2019-06-16 03:52:04'),(53734,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040411949157715','192.168.1.254','2019-06-16 03:52:04'),(53735,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012400150299072','192.168.1.254','2019-06-16 03:52:04'),(53736,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0013039112091064','192.168.1.254','2019-06-16 03:52:04'),(53737,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`position_id`, `e`.`position` as `position_name`, `i`.`position` as `position_category`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`, `m`.`expired_date` as `passport_expired_date`, `m`.`working_expired_date` as `passport_working_expired_date`, `m`.`issue`, `n`.`country` as `issue_country`, `o`.`country` as `citizen`, `p`.`race` as `race`, `q`.`name` as `religion`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__passport` `m` ON `m`.`staff_id` = `a`.`id`\nLEFT JOIN `_ref__country` `n` ON `m`.`issue` = `n`.`id`\nLEFT JOIN `_ref__country` `o` ON `o`.`id` = `a`.`citizen_id`\nLEFT JOIN `_ref__race` `p` ON `p`.`id` = `a`.`race_id`\nLEFT JOIN `_ref__religion` `q` ON `q`.`id` = `a`.`religion_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'3\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019737958908081','192.168.1.254','2019-06-16 03:52:04'),(53738,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036001205444336','192.168.1.254','2019-06-16 03:52:04'),(53739,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032782554626465','192.168.1.254','2019-06-16 03:52:04'),(53740,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033283233642578','192.168.1.254','2019-06-16 03:52:04'),(53741,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032210350036621','192.168.1.254','2019-06-16 03:52:05'),(53742,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00051283836364746','192.168.1.254','2019-06-16 03:52:05'),(53743,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00039792060852051','192.168.1.254','2019-06-16 03:52:05'),(53744,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043177604675293','192.168.1.254','2019-06-16 03:52:05'),(53745,128,NULL,'others','SELECT `a`.*, `b`.`file_name`, `b`.`file_location`\nFROM `company` `a`\nLEFT JOIN `company__logo` `b` ON `b`.`id` = `a`.`main_logo_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00055408477783203','192.168.1.254','2019-06-16 03:52:05'),(53746,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003809928894043','192.168.1.254','2019-06-16 03:52:05'),(53747,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `d`.`position_id` < 13\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.026339054107666','192.168.1.254','2019-06-16 03:52:05'),(53748,128,NULL,'others','SELECT `a`.*, `b`.`name` as `company_name`\nFROM `company__branch` `a`\nJOIN `company` `b` ON `b`.`id` = `a`.`company_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0043628215789795','192.168.1.254','2019-06-16 03:52:05'),(53749,128,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`\nFROM `company__division` `a`\nLEFT JOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045180320739746','192.168.1.254','2019-06-16 03:52:05'),(53750,128,NULL,'others','SELECT `a`.*, `b`.`name` as `branch_name`, `c`.`name` as `hod_name`\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`hod_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00058603286743164','192.168.1.254','2019-06-16 03:52:05'),(53751,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029802322387695','192.168.1.254','2019-06-16 03:52:05'),(53752,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029277801513672','192.168.1.254','2019-06-16 03:52:05'),(53753,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028204917907715','192.168.1.254','2019-06-16 03:52:05'),(53754,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028395652770996','192.168.1.254','2019-06-16 03:52:05'),(53755,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030899047851562','192.168.1.254','2019-06-16 03:52:05'),(53756,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00038695335388184','192.168.1.254','2019-06-16 03:52:05'),(53757,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0057220458984375','192.168.1.254','2019-06-16 03:52:05'),(53758,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0031881332397461','192.168.1.254','2019-06-16 03:52:05'),(53759,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00042986869812012','192.168.1.254','2019-06-16 03:52:05'),(53760,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029301643371582','192.168.1.254','2019-06-16 03:52:05'),(53761,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030899047851562','192.168.1.254','2019-06-16 03:52:05'),(53762,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031495094299316','192.168.1.254','2019-06-16 03:52:05'),(53763,128,NULL,'others','SELECT `a`.*, `b`.`country` as `country_issue`\nFROM `user__profiling` `a`\nLEFT JOIN `_ref__country` `b` ON `b`.`id` = `a`.`place_issue`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nORDER BY `a`.`action_efective_date` DESC, `a`.`id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00054216384887695','192.168.1.254','2019-06-16 03:52:05'),(53764,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00037288665771484','192.168.1.254','2019-06-16 03:52:05'),(53765,128,NULL,'others','SELECT `a`.`id`\nFROM `user__profiling` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`action_efective_date` DESC, `id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035309791564941','192.168.1.254','2019-06-16 03:52:05'),(53766,128,NULL,'others','SELECT `a`.*, `b`.`relations`, `c`.`level` as `level_academic`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__family_member` `a`\nJOIN `_ref__relationship` `b` ON `b`.`id` = `a`.`relation`\nLEFT JOIN `_ref__academic` `c` ON `c`.`id` = `a`.`academic_lavel`\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__family_member` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00055313110351562','192.168.1.254','2019-06-16 03:52:05'),(53767,128,NULL,'others','SELECT `a`.*, `b`.`level` as `academic_level`, `c`.`id` as `attachment_id`, `c`.`attachment_name`, `c`.`location`, `c`.`file_type`, `c`.`file_ext`, `c`.`mask_id`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__academic_qualification` `a`\nJOIN `_ref__academic` `b` ON `b`.`id` = `a`.`level_id`\nLEFT OUTER JOIN `user__academic_qualification_attachment` `c` ON `c`.`academic_qualification_id` = `a`.`id` and `c`.`is_delete` = 0\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__academic_qualification` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00059103965759277','192.168.1.254','2019-06-16 03:52:05'),(53768,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__personal_attachment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__personal_attachment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00044894218444824','192.168.1.254','2019-06-16 03:52:05'),(53769,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__employment_history` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__employment_history` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\') ','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046896934509277','192.168.1.254','2019-06-16 03:52:05'),(53770,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__profesional_membership` `a`\nLEFT JOIN `user__profesional_membership_attachment` `b` ON `b`.`professional_membership_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__profesional_membership` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0005340576171875','192.168.1.254','2019-06-16 03:52:05'),(53771,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__license` `a`\nLEFT JOIN `user__license_attachment` `b` ON `b`.`license_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__license` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00057291984558105','192.168.1.254','2019-06-16 03:52:05'),(53772,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__recognition` `a`\nLEFT JOIN `user__recognition_attachment` `b` ON `b`.`recognition_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recognition` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00058698654174805','192.168.1.254','2019-06-16 03:52:05'),(53773,128,NULL,'others','SELECT `a`.*, `b`.`name`, `c`.`action_efective_date`, `d`.`type` as `action_type`, `e`.`id` as `attachment_id`, `e`.`attachment_name`, `e`.`location`, `e`.`file_type`, `e`.`file_ext`, `e`.`mask_id`\nFROM `user__bank_detail` `a`\nJOIN `_ref__bank` `b` ON `b`.`id` = `a`.`bank_id`\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nLEFT JOIN `user__bank_detail_attachment` `e` ON `e`.`bank_detail_id` = `a`.`id` and `e`.`is_delete` = 0\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__bank_detail` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00061511993408203','192.168.1.254','2019-06-16 03:52:05'),(53774,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__third_party_payment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__third_party_payment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00051379203796387','192.168.1.254','2019-06-16 03:52:05'),(53775,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` =0\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00050902366638184','192.168.1.254','2019-06-16 03:52:05'),(53776,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` = 1\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00049114227294922','192.168.1.254','2019-06-16 03:52:05'),(53777,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00051999092102051','192.168.1.254','2019-06-16 03:52:05'),(53778,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00088405609130859','192.168.1.254','2019-06-16 03:52:05'),(53779,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00081419944763184','192.168.1.254','2019-06-16 03:52:05'),(53780,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0007939338684082','192.168.1.254','2019-06-16 03:52:05'),(53781,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00082302093505859','192.168.1.254','2019-06-16 03:52:05'),(53782,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 1019','StaffProfile/new_action_type','0.00045609474182129','192.168.1.254','2019-06-16 03:52:05'),(53783,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.018960952758789','192.168.1.254','2019-06-16 03:52:57'),(53784,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.00040698051452637','192.168.1.254','2019-06-16 03:52:57'),(53785,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.0013580322265625','192.168.1.254','2019-06-16 03:52:57'),(53786,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.018836975097656','192.168.1.254','2019-06-16 03:52:57'),(53787,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.00040388107299805','192.168.1.254','2019-06-16 03:52:57'),(53788,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.0013670921325684','192.168.1.254','2019-06-16 03:52:57'),(53789,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.019014835357666','192.168.1.254','2019-06-16 03:52:57'),(53790,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.00040411949157715','192.168.1.254','2019-06-16 03:52:57'),(53791,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.0013489723205566','192.168.1.254','2019-06-16 03:52:57'),(53792,23,NULL,'update','UPDATE `_log__module_session` SET `logout_ts` = \'2019-06-16 11:52:54\'\nWHERE id = 313','/index','0.30364608764648','192.168.1.254','2019-06-16 03:52:57'),(53793,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r/\'\nWHERE id = 1020','/index','0.00037097930908203','192.168.1.254','2019-06-16 03:52:57'),(53794,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.01901388168335','192.168.1.254','2019-06-16 03:53:59'),(53795,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040793418884277','192.168.1.254','2019-06-16 03:53:59'),(53796,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012590885162354','192.168.1.254','2019-06-16 03:53:59'),(53797,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018882036209106','192.168.1.254','2019-06-16 03:53:59'),(53798,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035595893859863','192.168.1.254','2019-06-16 03:53:59'),(53799,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.001201868057251','192.168.1.254','2019-06-16 03:53:59'),(53800,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018781185150146','192.168.1.254','2019-06-16 03:53:59'),(53801,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034999847412109','192.168.1.254','2019-06-16 03:53:59'),(53802,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012280941009521','192.168.1.254','2019-06-16 03:53:59'),(53803,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0011069774627686','192.168.1.254','2019-06-16 03:53:59'),(53804,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`position_id`, `e`.`position` as `position_name`, `i`.`position` as `position_category`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`, `m`.`expired_date` as `passport_expired_date`, `m`.`working_expired_date` as `passport_working_expired_date`, `m`.`issue`, `n`.`country` as `issue_country`, `o`.`country` as `citizen`, `p`.`race` as `race`, `q`.`name` as `religion`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__passport` `m` ON `m`.`staff_id` = `a`.`id`\nLEFT JOIN `_ref__country` `n` ON `m`.`issue` = `n`.`id`\nLEFT JOIN `_ref__country` `o` ON `o`.`id` = `a`.`citizen_id`\nLEFT JOIN `_ref__race` `p` ON `p`.`id` = `a`.`race_id`\nLEFT JOIN `_ref__religion` `q` ON `q`.`id` = `a`.`religion_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'3\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.020377159118652','192.168.1.254','2019-06-16 03:53:59'),(53805,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033211708068848','192.168.1.254','2019-06-16 03:53:59'),(53806,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00024986267089844','192.168.1.254','2019-06-16 03:53:59'),(53807,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00025510787963867','192.168.1.254','2019-06-16 03:53:59'),(53808,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00022792816162109','192.168.1.254','2019-06-16 03:53:59'),(53809,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046515464782715','192.168.1.254','2019-06-16 03:53:59'),(53810,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034308433532715','192.168.1.254','2019-06-16 03:53:59'),(53811,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003669261932373','192.168.1.254','2019-06-16 03:53:59'),(53812,128,NULL,'others','SELECT `a`.*, `b`.`file_name`, `b`.`file_location`\nFROM `company` `a`\nLEFT JOIN `company__logo` `b` ON `b`.`id` = `a`.`main_logo_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00051593780517578','192.168.1.254','2019-06-16 03:53:59'),(53813,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00039911270141602','192.168.1.254','2019-06-16 03:53:59'),(53814,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `d`.`position_id` < 13\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.027679920196533','192.168.1.254','2019-06-16 03:53:59'),(53815,128,NULL,'others','SELECT `a`.*, `b`.`name` as `company_name`\nFROM `company__branch` `a`\nJOIN `company` `b` ON `b`.`id` = `a`.`company_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.002896785736084','192.168.1.254','2019-06-16 03:53:59'),(53816,128,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`\nFROM `company__division` `a`\nLEFT JOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00042510032653809','192.168.1.254','2019-06-16 03:53:59'),(53817,128,NULL,'others','SELECT `a`.*, `b`.`name` as `branch_name`, `c`.`name` as `hod_name`\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`hod_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00057005882263184','192.168.1.254','2019-06-16 03:53:59'),(53818,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030994415283203','192.168.1.254','2019-06-16 03:53:59'),(53819,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003359317779541','192.168.1.254','2019-06-16 03:53:59'),(53820,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030994415283203','192.168.1.254','2019-06-16 03:53:59'),(53821,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028395652770996','192.168.1.254','2019-06-16 03:54:00'),(53822,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031495094299316','192.168.1.254','2019-06-16 03:54:00'),(53823,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003809928894043','192.168.1.254','2019-06-16 03:54:00'),(53824,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0058009624481201','192.168.1.254','2019-06-16 03:54:00'),(53825,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0033009052276611','192.168.1.254','2019-06-16 03:54:00'),(53826,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043201446533203','192.168.1.254','2019-06-16 03:54:00'),(53827,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034379959106445','192.168.1.254','2019-06-16 03:54:00'),(53828,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031280517578125','192.168.1.254','2019-06-16 03:54:00'),(53829,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034403800964355','192.168.1.254','2019-06-16 03:54:00'),(53830,128,NULL,'others','SELECT `a`.*, `b`.`country` as `country_issue`\nFROM `user__profiling` `a`\nLEFT JOIN `_ref__country` `b` ON `b`.`id` = `a`.`place_issue`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nORDER BY `a`.`action_efective_date` DESC, `a`.`id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00052213668823242','192.168.1.254','2019-06-16 03:54:00'),(53831,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00038599967956543','192.168.1.254','2019-06-16 03:54:00'),(53832,128,NULL,'others','SELECT `a`.`id`\nFROM `user__profiling` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`action_efective_date` DESC, `id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00037217140197754','192.168.1.254','2019-06-16 03:54:00'),(53833,128,NULL,'others','SELECT `a`.*, `b`.`relations`, `c`.`level` as `level_academic`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__family_member` `a`\nJOIN `_ref__relationship` `b` ON `b`.`id` = `a`.`relation`\nLEFT JOIN `_ref__academic` `c` ON `c`.`id` = `a`.`academic_lavel`\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__family_member` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00057005882263184','192.168.1.254','2019-06-16 03:54:00'),(53834,128,NULL,'others','SELECT `a`.*, `b`.`level` as `academic_level`, `c`.`id` as `attachment_id`, `c`.`attachment_name`, `c`.`location`, `c`.`file_type`, `c`.`file_ext`, `c`.`mask_id`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__academic_qualification` `a`\nJOIN `_ref__academic` `b` ON `b`.`id` = `a`.`level_id`\nLEFT OUTER JOIN `user__academic_qualification_attachment` `c` ON `c`.`academic_qualification_id` = `a`.`id` and `c`.`is_delete` = 0\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__academic_qualification` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00089311599731445','192.168.1.254','2019-06-16 03:54:00'),(53835,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__personal_attachment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__personal_attachment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00050115585327148','192.168.1.254','2019-06-16 03:54:00'),(53836,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__employment_history` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__employment_history` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\') ','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0005650520324707','192.168.1.254','2019-06-16 03:54:00'),(53837,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__profesional_membership` `a`\nLEFT JOIN `user__profesional_membership_attachment` `b` ON `b`.`professional_membership_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__profesional_membership` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00057888031005859','192.168.1.254','2019-06-16 03:54:00'),(53838,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__license` `a`\nLEFT JOIN `user__license_attachment` `b` ON `b`.`license_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__license` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00050997734069824','192.168.1.254','2019-06-16 03:54:00'),(53839,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__recognition` `a`\nLEFT JOIN `user__recognition_attachment` `b` ON `b`.`recognition_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recognition` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00052785873413086','192.168.1.254','2019-06-16 03:54:00'),(53840,128,NULL,'others','SELECT `a`.*, `b`.`name`, `c`.`action_efective_date`, `d`.`type` as `action_type`, `e`.`id` as `attachment_id`, `e`.`attachment_name`, `e`.`location`, `e`.`file_type`, `e`.`file_ext`, `e`.`mask_id`\nFROM `user__bank_detail` `a`\nJOIN `_ref__bank` `b` ON `b`.`id` = `a`.`bank_id`\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nLEFT JOIN `user__bank_detail_attachment` `e` ON `e`.`bank_detail_id` = `a`.`id` and `e`.`is_delete` = 0\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__bank_detail` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00059103965759277','192.168.1.254','2019-06-16 03:54:00'),(53841,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__third_party_payment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__third_party_payment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00048279762268066','192.168.1.254','2019-06-16 03:54:00'),(53842,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` =0\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045013427734375','192.168.1.254','2019-06-16 03:54:00'),(53843,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` = 1\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046706199645996','192.168.1.254','2019-06-16 03:54:00'),(53844,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00051403045654297','192.168.1.254','2019-06-16 03:54:00'),(53845,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00093197822570801','192.168.1.254','2019-06-16 03:54:00'),(53846,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00085592269897461','192.168.1.254','2019-06-16 03:54:00'),(53847,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00082516670227051','192.168.1.254','2019-06-16 03:54:00'),(53848,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00082612037658691','192.168.1.254','2019-06-16 03:54:00'),(53849,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 1019','StaffProfile/new_action_type','0.00038290023803711','192.168.1.254','2019-06-16 03:54:00'),(53850,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019378185272217','192.168.1.254','2019-06-16 03:56:42'),(53851,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00044393539428711','192.168.1.254','2019-06-16 03:56:42'),(53852,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012381076812744','192.168.1.254','2019-06-16 03:56:42'),(53853,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018852949142456','192.168.1.254','2019-06-16 03:56:42'),(53854,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040507316589355','192.168.1.254','2019-06-16 03:56:42'),(53855,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012269020080566','192.168.1.254','2019-06-16 03:56:42'),(53856,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018735885620117','192.168.1.254','2019-06-16 03:56:42'),(53857,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00042486190795898','192.168.1.254','2019-06-16 03:56:42'),(53858,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012190341949463','192.168.1.254','2019-06-16 03:56:42'),(53859,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0011742115020752','192.168.1.254','2019-06-16 03:56:42'),(53860,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`position_id`, `e`.`position` as `position_name`, `i`.`position` as `position_category`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`, `m`.`expired_date` as `passport_expired_date`, `m`.`working_expired_date` as `passport_working_expired_date`, `m`.`issue`, `n`.`country` as `issue_country`, `o`.`country` as `citizen`, `p`.`race` as `race`, `q`.`name` as `religion`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__passport` `m` ON `m`.`staff_id` = `a`.`id`\nLEFT JOIN `_ref__country` `n` ON `m`.`issue` = `n`.`id`\nLEFT JOIN `_ref__country` `o` ON `o`.`id` = `a`.`citizen_id`\nLEFT JOIN `_ref__race` `p` ON `p`.`id` = `a`.`race_id`\nLEFT JOIN `_ref__religion` `q` ON `q`.`id` = `a`.`religion_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'3\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019685029983521','192.168.1.254','2019-06-16 03:56:42'),(53861,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035500526428223','192.168.1.254','2019-06-16 03:56:42'),(53862,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034308433532715','192.168.1.254','2019-06-16 03:56:42'),(53863,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033307075500488','192.168.1.254','2019-06-16 03:56:42'),(53864,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032997131347656','192.168.1.254','2019-06-16 03:56:42'),(53865,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00048995018005371','192.168.1.254','2019-06-16 03:56:42'),(53866,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040817260742188','192.168.1.254','2019-06-16 03:56:42'),(53867,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045990943908691','192.168.1.254','2019-06-16 03:56:42'),(53868,128,NULL,'others','SELECT `a`.*, `b`.`file_name`, `b`.`file_location`\nFROM `company` `a`\nLEFT JOIN `company__logo` `b` ON `b`.`id` = `a`.`main_logo_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00059390068054199','192.168.1.254','2019-06-16 03:56:42'),(53869,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045299530029297','192.168.1.254','2019-06-16 03:56:42'),(53870,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `d`.`position_id` < 13\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.022875070571899','192.168.1.254','2019-06-16 03:56:42'),(53871,128,NULL,'others','SELECT `a`.*, `b`.`name` as `company_name`\nFROM `company__branch` `a`\nJOIN `company` `b` ON `b`.`id` = `a`.`company_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0068938732147217','192.168.1.254','2019-06-16 03:56:42'),(53872,128,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`\nFROM `company__division` `a`\nLEFT JOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00047802925109863','192.168.1.254','2019-06-16 03:56:42'),(53873,128,NULL,'others','SELECT `a`.*, `b`.`name` as `branch_name`, `c`.`name` as `hod_name`\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`hod_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0006709098815918','192.168.1.254','2019-06-16 03:56:42'),(53874,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036120414733887','192.168.1.254','2019-06-16 03:56:42'),(53875,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035500526428223','192.168.1.254','2019-06-16 03:56:42'),(53876,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034499168395996','192.168.1.254','2019-06-16 03:56:42'),(53877,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034499168395996','192.168.1.254','2019-06-16 03:56:42'),(53878,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032997131347656','192.168.1.254','2019-06-16 03:56:42'),(53879,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00039982795715332','192.168.1.254','2019-06-16 03:56:42'),(53880,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0055959224700928','192.168.1.254','2019-06-16 03:56:42'),(53881,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0032608509063721','192.168.1.254','2019-06-16 03:56:42'),(53882,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046706199645996','192.168.1.254','2019-06-16 03:56:42'),(53883,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034213066101074','192.168.1.254','2019-06-16 03:56:42'),(53884,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032591819763184','192.168.1.254','2019-06-16 03:56:42'),(53885,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003659725189209','192.168.1.254','2019-06-16 03:56:42'),(53886,128,NULL,'others','SELECT `a`.*, `b`.`country` as `country_issue`\nFROM `user__profiling` `a`\nLEFT JOIN `_ref__country` `b` ON `b`.`id` = `a`.`place_issue`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nORDER BY `a`.`action_efective_date` DESC, `a`.`id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00057196617126465','192.168.1.254','2019-06-16 03:56:42'),(53887,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043106079101562','192.168.1.254','2019-06-16 03:56:42'),(53888,128,NULL,'others','SELECT `a`.`id`\nFROM `user__profiling` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`action_efective_date` DESC, `id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00039100646972656','192.168.1.254','2019-06-16 03:56:42'),(53889,128,NULL,'others','SELECT `a`.*, `b`.`relations`, `c`.`level` as `level_academic`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__family_member` `a`\nJOIN `_ref__relationship` `b` ON `b`.`id` = `a`.`relation`\nLEFT JOIN `_ref__academic` `c` ON `c`.`id` = `a`.`academic_lavel`\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__family_member` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00058102607727051','192.168.1.254','2019-06-16 03:56:42'),(53890,128,NULL,'others','SELECT `a`.*, `b`.`level` as `academic_level`, `c`.`id` as `attachment_id`, `c`.`attachment_name`, `c`.`location`, `c`.`file_type`, `c`.`file_ext`, `c`.`mask_id`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__academic_qualification` `a`\nJOIN `_ref__academic` `b` ON `b`.`id` = `a`.`level_id`\nLEFT OUTER JOIN `user__academic_qualification_attachment` `c` ON `c`.`academic_qualification_id` = `a`.`id` and `c`.`is_delete` = 0\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__academic_qualification` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00063896179199219','192.168.1.254','2019-06-16 03:56:42'),(53891,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__personal_attachment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__personal_attachment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00051188468933105','192.168.1.254','2019-06-16 03:56:42'),(53892,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__employment_history` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__employment_history` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\') ','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0005190372467041','192.168.1.254','2019-06-16 03:56:42'),(53893,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__profesional_membership` `a`\nLEFT JOIN `user__profesional_membership_attachment` `b` ON `b`.`professional_membership_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__profesional_membership` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00061702728271484','192.168.1.254','2019-06-16 03:56:42'),(53894,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__license` `a`\nLEFT JOIN `user__license_attachment` `b` ON `b`.`license_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__license` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00053882598876953','192.168.1.254','2019-06-16 03:56:42'),(53895,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__recognition` `a`\nLEFT JOIN `user__recognition_attachment` `b` ON `b`.`recognition_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recognition` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00057601928710938','192.168.1.254','2019-06-16 03:56:43'),(53896,128,NULL,'others','SELECT `a`.*, `b`.`name`, `c`.`action_efective_date`, `d`.`type` as `action_type`, `e`.`id` as `attachment_id`, `e`.`attachment_name`, `e`.`location`, `e`.`file_type`, `e`.`file_ext`, `e`.`mask_id`\nFROM `user__bank_detail` `a`\nJOIN `_ref__bank` `b` ON `b`.`id` = `a`.`bank_id`\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nLEFT JOIN `user__bank_detail_attachment` `e` ON `e`.`bank_detail_id` = `a`.`id` and `e`.`is_delete` = 0\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__bank_detail` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0005800724029541','192.168.1.254','2019-06-16 03:56:43'),(53897,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__third_party_payment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__third_party_payment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00048589706420898','192.168.1.254','2019-06-16 03:56:43'),(53898,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` =0\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045299530029297','192.168.1.254','2019-06-16 03:56:43'),(53899,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` = 1\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045394897460938','192.168.1.254','2019-06-16 03:56:43'),(53900,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00047206878662109','192.168.1.254','2019-06-16 03:56:43'),(53901,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00092291831970215','192.168.1.254','2019-06-16 03:56:43'),(53902,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00089693069458008','192.168.1.254','2019-06-16 03:56:43'),(53903,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00092792510986328','192.168.1.254','2019-06-16 03:56:43'),(53904,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00090408325195312','192.168.1.254','2019-06-16 03:56:43'),(53905,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 1019','StaffProfile/new_action_type','0.00042080879211426','192.168.1.254','2019-06-16 03:56:43'),(53906,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018701076507568','192.168.1.254','2019-06-16 03:56:57'),(53907,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040912628173828','192.168.1.254','2019-06-16 03:56:57'),(53908,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012350082397461','192.168.1.254','2019-06-16 03:56:57'),(53909,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.01859712600708','192.168.1.254','2019-06-16 03:56:57'),(53910,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046706199645996','192.168.1.254','2019-06-16 03:56:57'),(53911,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012898445129395','192.168.1.254','2019-06-16 03:56:57'),(53912,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.01882004737854','192.168.1.254','2019-06-16 03:56:57'),(53913,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041890144348145','192.168.1.254','2019-06-16 03:56:57'),(53914,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.001276969909668','192.168.1.254','2019-06-16 03:56:57'),(53915,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0011260509490967','192.168.1.254','2019-06-16 03:56:57'),(53916,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`position_id`, `e`.`position` as `position_name`, `i`.`position` as `position_category`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`, `m`.`expired_date` as `passport_expired_date`, `m`.`working_expired_date` as `passport_working_expired_date`, `m`.`issue`, `n`.`country` as `issue_country`, `o`.`country` as `citizen`, `p`.`race` as `race`, `q`.`name` as `religion`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__passport` `m` ON `m`.`staff_id` = `a`.`id`\nLEFT JOIN `_ref__country` `n` ON `m`.`issue` = `n`.`id`\nLEFT JOIN `_ref__country` `o` ON `o`.`id` = `a`.`citizen_id`\nLEFT JOIN `_ref__race` `p` ON `p`.`id` = `a`.`race_id`\nLEFT JOIN `_ref__religion` `q` ON `q`.`id` = `a`.`religion_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'3\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019940853118896','192.168.1.254','2019-06-16 03:56:57'),(53917,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00037479400634766','192.168.1.254','2019-06-16 03:56:57'),(53918,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032901763916016','192.168.1.254','2019-06-16 03:56:57'),(53919,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033402442932129','192.168.1.254','2019-06-16 03:56:57'),(53920,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033307075500488','192.168.1.254','2019-06-16 03:56:57'),(53921,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00047016143798828','192.168.1.254','2019-06-16 03:56:57'),(53922,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00037789344787598','192.168.1.254','2019-06-16 03:56:57'),(53923,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00042986869812012','192.168.1.254','2019-06-16 03:56:57'),(53924,128,NULL,'others','SELECT `a`.*, `b`.`file_name`, `b`.`file_location`\nFROM `company` `a`\nLEFT JOIN `company__logo` `b` ON `b`.`id` = `a`.`main_logo_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00058603286743164','192.168.1.254','2019-06-16 03:56:57'),(53925,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003809928894043','192.168.1.254','2019-06-16 03:56:57'),(53926,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `d`.`position_id` < 13\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.023247957229614','192.168.1.254','2019-06-16 03:56:57'),(53927,128,NULL,'others','SELECT `a`.*, `b`.`name` as `company_name`\nFROM `company__branch` `a`\nJOIN `company` `b` ON `b`.`id` = `a`.`company_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0070829391479492','192.168.1.254','2019-06-16 03:56:57'),(53928,128,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`\nFROM `company__division` `a`\nLEFT JOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0004570484161377','192.168.1.254','2019-06-16 03:56:57'),(53929,128,NULL,'others','SELECT `a`.*, `b`.`name` as `branch_name`, `c`.`name` as `hod_name`\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`hod_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00068211555480957','192.168.1.254','2019-06-16 03:56:57'),(53930,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033998489379883','192.168.1.254','2019-06-16 03:56:57'),(53931,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034618377685547','192.168.1.254','2019-06-16 03:56:57'),(53932,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003359317779541','192.168.1.254','2019-06-16 03:56:57'),(53933,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003349781036377','192.168.1.254','2019-06-16 03:56:57'),(53934,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00027585029602051','192.168.1.254','2019-06-16 03:56:57'),(53935,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046706199645996','192.168.1.254','2019-06-16 03:56:57'),(53936,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0057148933410645','192.168.1.254','2019-06-16 03:56:57'),(53937,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0033278465270996','192.168.1.254','2019-06-16 03:56:57'),(53938,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00048589706420898','192.168.1.254','2019-06-16 03:56:57'),(53939,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029993057250977','192.168.1.254','2019-06-16 03:56:57'),(53940,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030398368835449','192.168.1.254','2019-06-16 03:56:57'),(53941,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032901763916016','192.168.1.254','2019-06-16 03:56:58'),(53942,128,NULL,'others','SELECT `a`.*, `b`.`country` as `country_issue`\nFROM `user__profiling` `a`\nLEFT JOIN `_ref__country` `b` ON `b`.`id` = `a`.`place_issue`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nORDER BY `a`.`action_efective_date` DESC, `a`.`id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00056695938110352','192.168.1.254','2019-06-16 03:56:58'),(53943,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040698051452637','192.168.1.254','2019-06-16 03:56:58'),(53944,128,NULL,'others','SELECT `a`.`id`\nFROM `user__profiling` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`action_efective_date` DESC, `id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036406517028809','192.168.1.254','2019-06-16 03:56:58'),(53945,128,NULL,'others','SELECT `a`.*, `b`.`relations`, `c`.`level` as `level_academic`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__family_member` `a`\nJOIN `_ref__relationship` `b` ON `b`.`id` = `a`.`relation`\nLEFT JOIN `_ref__academic` `c` ON `c`.`id` = `a`.`academic_lavel`\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__family_member` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00055193901062012','192.168.1.254','2019-06-16 03:56:58'),(53946,128,NULL,'others','SELECT `a`.*, `b`.`level` as `academic_level`, `c`.`id` as `attachment_id`, `c`.`attachment_name`, `c`.`location`, `c`.`file_type`, `c`.`file_ext`, `c`.`mask_id`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__academic_qualification` `a`\nJOIN `_ref__academic` `b` ON `b`.`id` = `a`.`level_id`\nLEFT OUTER JOIN `user__academic_qualification_attachment` `c` ON `c`.`academic_qualification_id` = `a`.`id` and `c`.`is_delete` = 0\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__academic_qualification` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00062108039855957','192.168.1.254','2019-06-16 03:56:58'),(53947,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__personal_attachment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__personal_attachment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041007995605469','192.168.1.254','2019-06-16 03:56:58'),(53948,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__employment_history` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__employment_history` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\') ','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046896934509277','192.168.1.254','2019-06-16 03:56:58'),(53949,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__profesional_membership` `a`\nLEFT JOIN `user__profesional_membership_attachment` `b` ON `b`.`professional_membership_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__profesional_membership` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00054097175598145','192.168.1.254','2019-06-16 03:56:58'),(53950,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__license` `a`\nLEFT JOIN `user__license_attachment` `b` ON `b`.`license_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__license` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00049805641174316','192.168.1.254','2019-06-16 03:56:58'),(53951,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__recognition` `a`\nLEFT JOIN `user__recognition_attachment` `b` ON `b`.`recognition_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recognition` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0006101131439209','192.168.1.254','2019-06-16 03:56:58'),(53952,128,NULL,'others','SELECT `a`.*, `b`.`name`, `c`.`action_efective_date`, `d`.`type` as `action_type`, `e`.`id` as `attachment_id`, `e`.`attachment_name`, `e`.`location`, `e`.`file_type`, `e`.`file_ext`, `e`.`mask_id`\nFROM `user__bank_detail` `a`\nJOIN `_ref__bank` `b` ON `b`.`id` = `a`.`bank_id`\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nLEFT JOIN `user__bank_detail_attachment` `e` ON `e`.`bank_detail_id` = `a`.`id` and `e`.`is_delete` = 0\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__bank_detail` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00064897537231445','192.168.1.254','2019-06-16 03:56:58'),(53953,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__third_party_payment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__third_party_payment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00051307678222656','192.168.1.254','2019-06-16 03:56:58'),(53954,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` =0\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00049018859863281','192.168.1.254','2019-06-16 03:56:58'),(53955,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` = 1\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00048112869262695','192.168.1.254','2019-06-16 03:56:58'),(53956,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00047802925109863','192.168.1.254','2019-06-16 03:56:58'),(53957,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00083684921264648','192.168.1.254','2019-06-16 03:56:58'),(53958,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0007929801940918','192.168.1.254','2019-06-16 03:56:58'),(53959,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00087809562683105','192.168.1.254','2019-06-16 03:56:58'),(53960,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00094199180603027','192.168.1.254','2019-06-16 03:56:58'),(53961,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 1019','StaffProfile/new_action_type','0.00043511390686035','192.168.1.254','2019-06-16 03:56:58'),(53962,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018769979476929','192.168.1.254','2019-06-16 03:58:05'),(53963,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041389465332031','192.168.1.254','2019-06-16 03:58:05'),(53964,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012319087982178','192.168.1.254','2019-06-16 03:58:05'),(53965,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018640041351318','192.168.1.254','2019-06-16 03:58:05'),(53966,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040197372436523','192.168.1.254','2019-06-16 03:58:05'),(53967,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012228488922119','192.168.1.254','2019-06-16 03:58:05'),(53968,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018691062927246','192.168.1.254','2019-06-16 03:58:05'),(53969,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00039911270141602','192.168.1.254','2019-06-16 03:58:05'),(53970,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012168884277344','192.168.1.254','2019-06-16 03:58:05'),(53971,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0011367797851562','192.168.1.254','2019-06-16 03:58:05'),(53972,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`position_id`, `e`.`position` as `position_name`, `i`.`position` as `position_category`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`, `m`.`expired_date` as `passport_expired_date`, `m`.`working_expired_date` as `passport_working_expired_date`, `m`.`issue`, `n`.`country` as `issue_country`, `o`.`country` as `citizen`, `p`.`race` as `race`, `q`.`name` as `religion`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__passport` `m` ON `m`.`staff_id` = `a`.`id`\nLEFT JOIN `_ref__country` `n` ON `m`.`issue` = `n`.`id`\nLEFT JOIN `_ref__country` `o` ON `o`.`id` = `a`.`citizen_id`\nLEFT JOIN `_ref__race` `p` ON `p`.`id` = `a`.`race_id`\nLEFT JOIN `_ref__religion` `q` ON `q`.`id` = `a`.`religion_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'3\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019295930862427','192.168.1.254','2019-06-16 03:58:05'),(53973,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034189224243164','192.168.1.254','2019-06-16 03:58:05'),(53974,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032711029052734','192.168.1.254','2019-06-16 03:58:05'),(53975,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003349781036377','192.168.1.254','2019-06-16 03:58:05'),(53976,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033187866210938','192.168.1.254','2019-06-16 03:58:05'),(53977,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00048589706420898','192.168.1.254','2019-06-16 03:58:05'),(53978,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040698051452637','192.168.1.254','2019-06-16 03:58:05'),(53979,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00049805641174316','192.168.1.254','2019-06-16 03:58:05'),(53980,128,NULL,'others','SELECT `a`.*, `b`.`file_name`, `b`.`file_location`\nFROM `company` `a`\nLEFT JOIN `company__logo` `b` ON `b`.`id` = `a`.`main_logo_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00063204765319824','192.168.1.254','2019-06-16 03:58:05'),(53981,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00042986869812012','192.168.1.254','2019-06-16 03:58:05'),(53982,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `d`.`position_id` < 13\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.023460865020752','192.168.1.254','2019-06-16 03:58:05'),(53983,128,NULL,'others','SELECT `a`.*, `b`.`name` as `company_name`\nFROM `company__branch` `a`\nJOIN `company` `b` ON `b`.`id` = `a`.`company_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0067770481109619','192.168.1.254','2019-06-16 03:58:05'),(53984,128,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`\nFROM `company__division` `a`\nLEFT JOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045895576477051','192.168.1.254','2019-06-16 03:58:05'),(53985,128,NULL,'others','SELECT `a`.*, `b`.`name` as `branch_name`, `c`.`name` as `hod_name`\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`hod_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00061702728271484','192.168.1.254','2019-06-16 03:58:05'),(53986,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034499168395996','192.168.1.254','2019-06-16 03:58:05'),(53987,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034499168395996','192.168.1.254','2019-06-16 03:58:05'),(53988,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032401084899902','192.168.1.254','2019-06-16 03:58:05'),(53989,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003201961517334','192.168.1.254','2019-06-16 03:58:05'),(53990,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031685829162598','192.168.1.254','2019-06-16 03:58:05'),(53991,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00038695335388184','192.168.1.254','2019-06-16 03:58:05'),(53992,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0056948661804199','192.168.1.254','2019-06-16 03:58:05'),(53993,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0032060146331787','192.168.1.254','2019-06-16 03:58:05'),(53994,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041723251342773','192.168.1.254','2019-06-16 03:58:05'),(53995,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029301643371582','192.168.1.254','2019-06-16 03:58:05'),(53996,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029397010803223','192.168.1.254','2019-06-16 03:58:05'),(53997,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033402442932129','192.168.1.254','2019-06-16 03:58:05'),(53998,128,NULL,'others','SELECT `a`.*, `b`.`country` as `country_issue`\nFROM `user__profiling` `a`\nLEFT JOIN `_ref__country` `b` ON `b`.`id` = `a`.`place_issue`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nORDER BY `a`.`action_efective_date` DESC, `a`.`id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00051712989807129','192.168.1.254','2019-06-16 03:58:05'),(53999,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036811828613281','192.168.1.254','2019-06-16 03:58:05'),(54000,128,NULL,'others','SELECT `a`.`id`\nFROM `user__profiling` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`action_efective_date` DESC, `id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00037693977355957','192.168.1.254','2019-06-16 03:58:05'),(54001,128,NULL,'others','SELECT `a`.*, `b`.`relations`, `c`.`level` as `level_academic`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__family_member` `a`\nJOIN `_ref__relationship` `b` ON `b`.`id` = `a`.`relation`\nLEFT JOIN `_ref__academic` `c` ON `c`.`id` = `a`.`academic_lavel`\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__family_member` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00056886672973633','192.168.1.254','2019-06-16 03:58:05'),(54002,128,NULL,'others','SELECT `a`.*, `b`.`level` as `academic_level`, `c`.`id` as `attachment_id`, `c`.`attachment_name`, `c`.`location`, `c`.`file_type`, `c`.`file_ext`, `c`.`mask_id`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__academic_qualification` `a`\nJOIN `_ref__academic` `b` ON `b`.`id` = `a`.`level_id`\nLEFT OUTER JOIN `user__academic_qualification_attachment` `c` ON `c`.`academic_qualification_id` = `a`.`id` and `c`.`is_delete` = 0\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__academic_qualification` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00062084197998047','192.168.1.254','2019-06-16 03:58:05'),(54003,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__personal_attachment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__personal_attachment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00051403045654297','192.168.1.254','2019-06-16 03:58:05'),(54004,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__employment_history` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__employment_history` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\') ','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00054597854614258','192.168.1.254','2019-06-16 03:58:05'),(54005,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__profesional_membership` `a`\nLEFT JOIN `user__profesional_membership_attachment` `b` ON `b`.`professional_membership_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__profesional_membership` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00059413909912109','192.168.1.254','2019-06-16 03:58:05'),(54006,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__license` `a`\nLEFT JOIN `user__license_attachment` `b` ON `b`.`license_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__license` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00056695938110352','192.168.1.254','2019-06-16 03:58:05'),(54007,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__recognition` `a`\nLEFT JOIN `user__recognition_attachment` `b` ON `b`.`recognition_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recognition` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00058293342590332','192.168.1.254','2019-06-16 03:58:06'),(54008,128,NULL,'others','SELECT `a`.*, `b`.`name`, `c`.`action_efective_date`, `d`.`type` as `action_type`, `e`.`id` as `attachment_id`, `e`.`attachment_name`, `e`.`location`, `e`.`file_type`, `e`.`file_ext`, `e`.`mask_id`\nFROM `user__bank_detail` `a`\nJOIN `_ref__bank` `b` ON `b`.`id` = `a`.`bank_id`\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nLEFT JOIN `user__bank_detail_attachment` `e` ON `e`.`bank_detail_id` = `a`.`id` and `e`.`is_delete` = 0\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__bank_detail` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00062704086303711','192.168.1.254','2019-06-16 03:58:06'),(54009,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__third_party_payment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__third_party_payment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00056600570678711','192.168.1.254','2019-06-16 03:58:06'),(54010,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` =0\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00049400329589844','192.168.1.254','2019-06-16 03:58:06'),(54011,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` = 1\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00049996376037598','192.168.1.254','2019-06-16 03:58:06'),(54012,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00050091743469238','192.168.1.254','2019-06-16 03:58:06'),(54013,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00090909004211426','192.168.1.254','2019-06-16 03:58:06'),(54014,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0008690357208252','192.168.1.254','2019-06-16 03:58:06'),(54015,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00089216232299805','192.168.1.254','2019-06-16 03:58:06'),(54016,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00084686279296875','192.168.1.254','2019-06-16 03:58:06'),(54017,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 1019','StaffProfile/new_action_type','0.00046181678771973','192.168.1.254','2019-06-16 03:58:06'),(54018,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0190589427948','192.168.1.254','2019-06-16 04:00:02'),(54019,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041508674621582','192.168.1.254','2019-06-16 04:00:02'),(54020,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00124192237854','192.168.1.254','2019-06-16 04:00:02'),(54021,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018945932388306','192.168.1.254','2019-06-16 04:00:02'),(54022,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00039196014404297','192.168.1.254','2019-06-16 04:00:02'),(54023,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0011780261993408','192.168.1.254','2019-06-16 04:00:02'),(54024,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018796920776367','192.168.1.254','2019-06-16 04:00:02'),(54025,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0004119873046875','192.168.1.254','2019-06-16 04:00:02'),(54026,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012311935424805','192.168.1.254','2019-06-16 04:00:02'),(54027,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0011289119720459','192.168.1.254','2019-06-16 04:00:02'),(54028,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`position_id`, `e`.`position` as `position_name`, `i`.`position` as `position_category`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`, `m`.`expired_date` as `passport_expired_date`, `m`.`working_expired_date` as `passport_working_expired_date`, `m`.`issue`, `n`.`country` as `issue_country`, `o`.`country` as `citizen`, `p`.`race` as `race`, `q`.`name` as `religion`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__passport` `m` ON `m`.`staff_id` = `a`.`id`\nLEFT JOIN `_ref__country` `n` ON `m`.`issue` = `n`.`id`\nLEFT JOIN `_ref__country` `o` ON `o`.`id` = `a`.`citizen_id`\nLEFT JOIN `_ref__race` `p` ON `p`.`id` = `a`.`race_id`\nLEFT JOIN `_ref__religion` `q` ON `q`.`id` = `a`.`religion_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'3\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019387006759644','192.168.1.254','2019-06-16 04:00:02'),(54029,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034284591674805','192.168.1.254','2019-06-16 04:00:02'),(54030,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032711029052734','192.168.1.254','2019-06-16 04:00:02'),(54031,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003349781036377','192.168.1.254','2019-06-16 04:00:02'),(54032,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033187866210938','192.168.1.254','2019-06-16 04:00:02'),(54033,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00048589706420898','192.168.1.254','2019-06-16 04:00:02'),(54034,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040912628173828','192.168.1.254','2019-06-16 04:00:02'),(54035,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045204162597656','192.168.1.254','2019-06-16 04:00:02'),(54036,128,NULL,'others','SELECT `a`.*, `b`.`file_name`, `b`.`file_location`\nFROM `company` `a`\nLEFT JOIN `company__logo` `b` ON `b`.`id` = `a`.`main_logo_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00059008598327637','192.168.1.254','2019-06-16 04:00:02'),(54037,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043392181396484','192.168.1.254','2019-06-16 04:00:02'),(54038,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `d`.`position_id` < 13\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.024827003479004','192.168.1.254','2019-06-16 04:00:02'),(54039,128,NULL,'others','SELECT `a`.*, `b`.`name` as `company_name`\nFROM `company__branch` `a`\nJOIN `company` `b` ON `b`.`id` = `a`.`company_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0054929256439209','192.168.1.254','2019-06-16 04:00:03'),(54040,128,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`\nFROM `company__division` `a`\nLEFT JOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041794776916504','192.168.1.254','2019-06-16 04:00:03'),(54041,128,NULL,'others','SELECT `a`.*, `b`.`name` as `branch_name`, `c`.`name` as `hod_name`\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`hod_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0005500316619873','192.168.1.254','2019-06-16 04:00:03'),(54042,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030517578125','192.168.1.254','2019-06-16 04:00:03'),(54043,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031208992004395','192.168.1.254','2019-06-16 04:00:03'),(54044,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033807754516602','192.168.1.254','2019-06-16 04:00:03'),(54045,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033783912658691','192.168.1.254','2019-06-16 04:00:03'),(54046,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003359317779541','192.168.1.254','2019-06-16 04:00:03'),(54047,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043392181396484','192.168.1.254','2019-06-16 04:00:03'),(54048,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0055749416351318','192.168.1.254','2019-06-16 04:00:03'),(54049,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0032260417938232','192.168.1.254','2019-06-16 04:00:03'),(54050,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046300888061523','192.168.1.254','2019-06-16 04:00:03'),(54051,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034093856811523','192.168.1.254','2019-06-16 04:00:03'),(54052,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034904479980469','192.168.1.254','2019-06-16 04:00:03'),(54053,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036382675170898','192.168.1.254','2019-06-16 04:00:03'),(54054,128,NULL,'others','SELECT `a`.*, `b`.`country` as `country_issue`\nFROM `user__profiling` `a`\nLEFT JOIN `_ref__country` `b` ON `b`.`id` = `a`.`place_issue`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nORDER BY `a`.`action_efective_date` DESC, `a`.`id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00056910514831543','192.168.1.254','2019-06-16 04:00:03'),(54055,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041890144348145','192.168.1.254','2019-06-16 04:00:03'),(54056,128,NULL,'others','SELECT `a`.`id`\nFROM `user__profiling` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`action_efective_date` DESC, `id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040221214294434','192.168.1.254','2019-06-16 04:00:03'),(54057,128,NULL,'others','SELECT `a`.*, `b`.`relations`, `c`.`level` as `level_academic`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__family_member` `a`\nJOIN `_ref__relationship` `b` ON `b`.`id` = `a`.`relation`\nLEFT JOIN `_ref__academic` `c` ON `c`.`id` = `a`.`academic_lavel`\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__family_member` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00058603286743164','192.168.1.254','2019-06-16 04:00:03'),(54058,128,NULL,'others','SELECT `a`.*, `b`.`level` as `academic_level`, `c`.`id` as `attachment_id`, `c`.`attachment_name`, `c`.`location`, `c`.`file_type`, `c`.`file_ext`, `c`.`mask_id`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__academic_qualification` `a`\nJOIN `_ref__academic` `b` ON `b`.`id` = `a`.`level_id`\nLEFT OUTER JOIN `user__academic_qualification_attachment` `c` ON `c`.`academic_qualification_id` = `a`.`id` and `c`.`is_delete` = 0\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__academic_qualification` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00062894821166992','192.168.1.254','2019-06-16 04:00:03'),(54059,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__personal_attachment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__personal_attachment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00051379203796387','192.168.1.254','2019-06-16 04:00:03'),(54060,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__employment_history` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__employment_history` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\') ','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00051093101501465','192.168.1.254','2019-06-16 04:00:03'),(54061,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__profesional_membership` `a`\nLEFT JOIN `user__profesional_membership_attachment` `b` ON `b`.`professional_membership_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__profesional_membership` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00059819221496582','192.168.1.254','2019-06-16 04:00:03'),(54062,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__license` `a`\nLEFT JOIN `user__license_attachment` `b` ON `b`.`license_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__license` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00057101249694824','192.168.1.254','2019-06-16 04:00:03'),(54063,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__recognition` `a`\nLEFT JOIN `user__recognition_attachment` `b` ON `b`.`recognition_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recognition` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00056791305541992','192.168.1.254','2019-06-16 04:00:03'),(54064,128,NULL,'others','SELECT `a`.*, `b`.`name`, `c`.`action_efective_date`, `d`.`type` as `action_type`, `e`.`id` as `attachment_id`, `e`.`attachment_name`, `e`.`location`, `e`.`file_type`, `e`.`file_ext`, `e`.`mask_id`\nFROM `user__bank_detail` `a`\nJOIN `_ref__bank` `b` ON `b`.`id` = `a`.`bank_id`\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nLEFT JOIN `user__bank_detail_attachment` `e` ON `e`.`bank_detail_id` = `a`.`id` and `e`.`is_delete` = 0\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__bank_detail` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00061607360839844','192.168.1.254','2019-06-16 04:00:03'),(54065,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__third_party_payment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__third_party_payment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00051093101501465','192.168.1.254','2019-06-16 04:00:03'),(54066,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` =0\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00049805641174316','192.168.1.254','2019-06-16 04:00:03'),(54067,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` = 1\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00049209594726562','192.168.1.254','2019-06-16 04:00:03'),(54068,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00048279762268066','192.168.1.254','2019-06-16 04:00:03'),(54069,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00082802772521973','192.168.1.254','2019-06-16 04:00:03'),(54070,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00080013275146484','192.168.1.254','2019-06-16 04:00:03'),(54071,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00079107284545898','192.168.1.254','2019-06-16 04:00:03'),(54072,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00091004371643066','192.168.1.254','2019-06-16 04:00:03'),(54073,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 1019','StaffProfile/new_action_type','0.00039815902709961','192.168.1.254','2019-06-16 04:00:03'),(54074,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018913984298706','192.168.1.254','2019-06-16 04:02:47'),(54075,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040912628173828','192.168.1.254','2019-06-16 04:02:47'),(54076,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012340545654297','192.168.1.254','2019-06-16 04:02:47'),(54077,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019780874252319','192.168.1.254','2019-06-16 04:02:47'),(54078,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0004420280456543','192.168.1.254','2019-06-16 04:02:47'),(54079,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012269020080566','192.168.1.254','2019-06-16 04:02:47'),(54080,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019741058349609','192.168.1.254','2019-06-16 04:02:47'),(54081,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0004279613494873','192.168.1.254','2019-06-16 04:02:47'),(54082,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012569427490234','192.168.1.254','2019-06-16 04:02:47'),(54083,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00097799301147461','192.168.1.254','2019-06-16 04:02:47'),(54084,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`position_id`, `e`.`position` as `position_name`, `i`.`position` as `position_category`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`, `m`.`expired_date` as `passport_expired_date`, `m`.`working_expired_date` as `passport_working_expired_date`, `m`.`issue`, `n`.`country` as `issue_country`, `o`.`country` as `citizen`, `p`.`race` as `race`, `q`.`name` as `religion`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__passport` `m` ON `m`.`staff_id` = `a`.`id`\nLEFT JOIN `_ref__country` `n` ON `m`.`issue` = `n`.`id`\nLEFT JOIN `_ref__country` `o` ON `o`.`id` = `a`.`citizen_id`\nLEFT JOIN `_ref__race` `p` ON `p`.`id` = `a`.`race_id`\nLEFT JOIN `_ref__religion` `q` ON `q`.`id` = `a`.`religion_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'3\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018516063690186','192.168.1.254','2019-06-16 04:02:48'),(54085,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029897689819336','192.168.1.254','2019-06-16 04:02:48'),(54086,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028896331787109','192.168.1.254','2019-06-16 04:02:48'),(54087,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028395652770996','192.168.1.254','2019-06-16 04:02:48'),(54088,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028014183044434','192.168.1.254','2019-06-16 04:02:48'),(54089,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043106079101562','192.168.1.254','2019-06-16 04:02:48'),(54090,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035500526428223','192.168.1.254','2019-06-16 04:02:48'),(54091,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00042200088500977','192.168.1.254','2019-06-16 04:02:48'),(54092,128,NULL,'others','SELECT `a`.*, `b`.`file_name`, `b`.`file_location`\nFROM `company` `a`\nLEFT JOIN `company__logo` `b` ON `b`.`id` = `a`.`main_logo_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00057506561279297','192.168.1.254','2019-06-16 04:02:48'),(54093,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034689903259277','192.168.1.254','2019-06-16 04:02:48'),(54094,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `d`.`position_id` < 13\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.024074077606201','192.168.1.254','2019-06-16 04:02:48'),(54095,128,NULL,'others','SELECT `a`.*, `b`.`name` as `company_name`\nFROM `company__branch` `a`\nJOIN `company` `b` ON `b`.`id` = `a`.`company_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0031521320343018','192.168.1.254','2019-06-16 04:02:48'),(54096,128,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`\nFROM `company__division` `a`\nLEFT JOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046896934509277','192.168.1.254','2019-06-16 04:02:48'),(54097,128,NULL,'others','SELECT `a`.*, `b`.`name` as `branch_name`, `c`.`name` as `hod_name`\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`hod_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00060009956359863','192.168.1.254','2019-06-16 04:02:48'),(54098,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031685829162598','192.168.1.254','2019-06-16 04:02:48'),(54099,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029587745666504','192.168.1.254','2019-06-16 04:02:48'),(54100,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029683113098145','192.168.1.254','2019-06-16 04:02:48'),(54101,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00023698806762695','192.168.1.254','2019-06-16 04:02:48'),(54102,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00024199485778809','192.168.1.254','2019-06-16 04:02:48'),(54103,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033688545227051','192.168.1.254','2019-06-16 04:02:48'),(54104,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0056469440460205','192.168.1.254','2019-06-16 04:02:48'),(54105,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0033049583435059','192.168.1.254','2019-06-16 04:02:48'),(54106,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00048303604125977','192.168.1.254','2019-06-16 04:02:48'),(54107,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035500526428223','192.168.1.254','2019-06-16 04:02:48'),(54108,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036501884460449','192.168.1.254','2019-06-16 04:02:48'),(54109,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040507316589355','192.168.1.254','2019-06-16 04:02:48'),(54110,128,NULL,'others','SELECT `a`.*, `b`.`country` as `country_issue`\nFROM `user__profiling` `a`\nLEFT JOIN `_ref__country` `b` ON `b`.`id` = `a`.`place_issue`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nORDER BY `a`.`action_efective_date` DESC, `a`.`id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0005800724029541','192.168.1.254','2019-06-16 04:02:48'),(54111,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00042104721069336','192.168.1.254','2019-06-16 04:02:48'),(54112,128,NULL,'others','SELECT `a`.`id`\nFROM `user__profiling` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`action_efective_date` DESC, `id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040197372436523','192.168.1.254','2019-06-16 04:02:48'),(54113,128,NULL,'others','SELECT `a`.*, `b`.`relations`, `c`.`level` as `level_academic`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__family_member` `a`\nJOIN `_ref__relationship` `b` ON `b`.`id` = `a`.`relation`\nLEFT JOIN `_ref__academic` `c` ON `c`.`id` = `a`.`academic_lavel`\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__family_member` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00060796737670898','192.168.1.254','2019-06-16 04:02:48'),(54114,128,NULL,'others','SELECT `a`.*, `b`.`level` as `academic_level`, `c`.`id` as `attachment_id`, `c`.`attachment_name`, `c`.`location`, `c`.`file_type`, `c`.`file_ext`, `c`.`mask_id`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__academic_qualification` `a`\nJOIN `_ref__academic` `b` ON `b`.`id` = `a`.`level_id`\nLEFT OUTER JOIN `user__academic_qualification_attachment` `c` ON `c`.`academic_qualification_id` = `a`.`id` and `c`.`is_delete` = 0\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__academic_qualification` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00065302848815918','192.168.1.254','2019-06-16 04:02:48'),(54115,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__personal_attachment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__personal_attachment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00050997734069824','192.168.1.254','2019-06-16 04:02:48'),(54116,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__employment_history` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__employment_history` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\') ','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00054788589477539','192.168.1.254','2019-06-16 04:02:48'),(54117,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__profesional_membership` `a`\nLEFT JOIN `user__profesional_membership_attachment` `b` ON `b`.`professional_membership_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__profesional_membership` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00056004524230957','192.168.1.254','2019-06-16 04:02:48'),(54118,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__license` `a`\nLEFT JOIN `user__license_attachment` `b` ON `b`.`license_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__license` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00047898292541504','192.168.1.254','2019-06-16 04:02:48'),(54119,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__recognition` `a`\nLEFT JOIN `user__recognition_attachment` `b` ON `b`.`recognition_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recognition` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0004727840423584','192.168.1.254','2019-06-16 04:02:48'),(54120,128,NULL,'others','SELECT `a`.*, `b`.`name`, `c`.`action_efective_date`, `d`.`type` as `action_type`, `e`.`id` as `attachment_id`, `e`.`attachment_name`, `e`.`location`, `e`.`file_type`, `e`.`file_ext`, `e`.`mask_id`\nFROM `user__bank_detail` `a`\nJOIN `_ref__bank` `b` ON `b`.`id` = `a`.`bank_id`\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nLEFT JOIN `user__bank_detail_attachment` `e` ON `e`.`bank_detail_id` = `a`.`id` and `e`.`is_delete` = 0\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__bank_detail` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00055098533630371','192.168.1.254','2019-06-16 04:02:48'),(54121,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__third_party_payment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__third_party_payment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0004429817199707','192.168.1.254','2019-06-16 04:02:48'),(54122,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` =0\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040817260742188','192.168.1.254','2019-06-16 04:02:48'),(54123,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` = 1\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00042605400085449','192.168.1.254','2019-06-16 04:02:48'),(54124,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045108795166016','192.168.1.254','2019-06-16 04:02:48'),(54125,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00078296661376953','192.168.1.254','2019-06-16 04:02:48'),(54126,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00071406364440918','192.168.1.254','2019-06-16 04:02:48'),(54127,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00071501731872559','192.168.1.254','2019-06-16 04:02:48'),(54128,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00069689750671387','192.168.1.254','2019-06-16 04:02:48'),(54129,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 1019','StaffProfile/new_action_type','0.00040817260742188','192.168.1.254','2019-06-16 04:02:48'),(54130,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018903017044067','192.168.1.254','2019-06-16 04:03:13'),(54131,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040984153747559','192.168.1.254','2019-06-16 04:03:13'),(54132,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012340545654297','192.168.1.254','2019-06-16 04:03:13'),(54133,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019184112548828','192.168.1.254','2019-06-16 04:03:13'),(54134,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00044894218444824','192.168.1.254','2019-06-16 04:03:13'),(54135,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.001244068145752','192.168.1.254','2019-06-16 04:03:13'),(54136,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.01863694190979','192.168.1.254','2019-06-16 04:03:13'),(54137,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035786628723145','192.168.1.254','2019-06-16 04:03:13'),(54138,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.001194953918457','192.168.1.254','2019-06-16 04:03:13'),(54139,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0011730194091797','192.168.1.254','2019-06-16 04:03:13'),(54140,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`position_id`, `e`.`position` as `position_name`, `i`.`position` as `position_category`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`, `m`.`expired_date` as `passport_expired_date`, `m`.`working_expired_date` as `passport_working_expired_date`, `m`.`issue`, `n`.`country` as `issue_country`, `o`.`country` as `citizen`, `p`.`race` as `race`, `q`.`name` as `religion`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__passport` `m` ON `m`.`staff_id` = `a`.`id`\nLEFT JOIN `_ref__country` `n` ON `m`.`issue` = `n`.`id`\nLEFT JOIN `_ref__country` `o` ON `o`.`id` = `a`.`citizen_id`\nLEFT JOIN `_ref__race` `p` ON `p`.`id` = `a`.`race_id`\nLEFT JOIN `_ref__religion` `q` ON `q`.`id` = `a`.`religion_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'3\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019625902175903','192.168.1.254','2019-06-16 04:03:13'),(54141,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030303001403809','192.168.1.254','2019-06-16 04:03:13'),(54142,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030899047851562','192.168.1.254','2019-06-16 04:03:13'),(54143,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029802322387695','192.168.1.254','2019-06-16 04:03:13'),(54144,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003211498260498','192.168.1.254','2019-06-16 04:03:13'),(54145,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046896934509277','192.168.1.254','2019-06-16 04:03:13'),(54146,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036001205444336','192.168.1.254','2019-06-16 04:03:13'),(54147,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00037288665771484','192.168.1.254','2019-06-16 04:03:13'),(54148,128,NULL,'others','SELECT `a`.*, `b`.`file_name`, `b`.`file_location`\nFROM `company` `a`\nLEFT JOIN `company__logo` `b` ON `b`.`id` = `a`.`main_logo_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0005037784576416','192.168.1.254','2019-06-16 04:03:13'),(54149,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032711029052734','192.168.1.254','2019-06-16 04:03:13'),(54150,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `d`.`position_id` < 13\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.028068065643311','192.168.1.254','2019-06-16 04:03:13'),(54151,128,NULL,'others','SELECT `a`.*, `b`.`name` as `company_name`\nFROM `company__branch` `a`\nJOIN `company` `b` ON `b`.`id` = `a`.`company_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0065858364105225','192.168.1.254','2019-06-16 04:03:13'),(54152,128,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`\nFROM `company__division` `a`\nLEFT JOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045013427734375','192.168.1.254','2019-06-16 04:03:13'),(54153,128,NULL,'others','SELECT `a`.*, `b`.`name` as `branch_name`, `c`.`name` as `hod_name`\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`hod_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0005948543548584','192.168.1.254','2019-06-16 04:03:13'),(54154,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029492378234863','192.168.1.254','2019-06-16 04:03:13'),(54155,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031208992004395','192.168.1.254','2019-06-16 04:03:13'),(54156,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028419494628906','192.168.1.254','2019-06-16 04:03:13'),(54157,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028014183044434','192.168.1.254','2019-06-16 04:03:13'),(54158,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031208992004395','192.168.1.254','2019-06-16 04:03:13'),(54159,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041294097900391','192.168.1.254','2019-06-16 04:03:13'),(54160,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0057249069213867','192.168.1.254','2019-06-16 04:03:13'),(54161,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0033268928527832','192.168.1.254','2019-06-16 04:03:13'),(54162,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0004270076751709','192.168.1.254','2019-06-16 04:03:13'),(54163,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029301643371582','192.168.1.254','2019-06-16 04:03:13'),(54164,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032496452331543','192.168.1.254','2019-06-16 04:03:13'),(54165,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034618377685547','192.168.1.254','2019-06-16 04:03:13'),(54166,128,NULL,'others','SELECT `a`.*, `b`.`country` as `country_issue`\nFROM `user__profiling` `a`\nLEFT JOIN `_ref__country` `b` ON `b`.`id` = `a`.`place_issue`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nORDER BY `a`.`action_efective_date` DESC, `a`.`id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00059890747070312','192.168.1.254','2019-06-16 04:03:13'),(54167,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00037312507629395','192.168.1.254','2019-06-16 04:03:13'),(54168,128,NULL,'others','SELECT `a`.`id`\nFROM `user__profiling` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`action_efective_date` DESC, `id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036501884460449','192.168.1.254','2019-06-16 04:03:13'),(54169,128,NULL,'others','SELECT `a`.*, `b`.`relations`, `c`.`level` as `level_academic`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__family_member` `a`\nJOIN `_ref__relationship` `b` ON `b`.`id` = `a`.`relation`\nLEFT JOIN `_ref__academic` `c` ON `c`.`id` = `a`.`academic_lavel`\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__family_member` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00058317184448242','192.168.1.254','2019-06-16 04:03:13'),(54170,128,NULL,'others','SELECT `a`.*, `b`.`level` as `academic_level`, `c`.`id` as `attachment_id`, `c`.`attachment_name`, `c`.`location`, `c`.`file_type`, `c`.`file_ext`, `c`.`mask_id`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__academic_qualification` `a`\nJOIN `_ref__academic` `b` ON `b`.`id` = `a`.`level_id`\nLEFT OUTER JOIN `user__academic_qualification_attachment` `c` ON `c`.`academic_qualification_id` = `a`.`id` and `c`.`is_delete` = 0\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__academic_qualification` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00057506561279297','192.168.1.254','2019-06-16 04:03:13'),(54171,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__personal_attachment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__personal_attachment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043082237243652','192.168.1.254','2019-06-16 04:03:13'),(54172,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__employment_history` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__employment_history` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\') ','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041103363037109','192.168.1.254','2019-06-16 04:03:13'),(54173,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__profesional_membership` `a`\nLEFT JOIN `user__profesional_membership_attachment` `b` ON `b`.`professional_membership_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__profesional_membership` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00058293342590332','192.168.1.254','2019-06-16 04:03:13'),(54174,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__license` `a`\nLEFT JOIN `user__license_attachment` `b` ON `b`.`license_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__license` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00049996376037598','192.168.1.254','2019-06-16 04:03:14'),(54175,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__recognition` `a`\nLEFT JOIN `user__recognition_attachment` `b` ON `b`.`recognition_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recognition` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00050091743469238','192.168.1.254','2019-06-16 04:03:14'),(54176,128,NULL,'others','SELECT `a`.*, `b`.`name`, `c`.`action_efective_date`, `d`.`type` as `action_type`, `e`.`id` as `attachment_id`, `e`.`attachment_name`, `e`.`location`, `e`.`file_type`, `e`.`file_ext`, `e`.`mask_id`\nFROM `user__bank_detail` `a`\nJOIN `_ref__bank` `b` ON `b`.`id` = `a`.`bank_id`\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nLEFT JOIN `user__bank_detail_attachment` `e` ON `e`.`bank_detail_id` = `a`.`id` and `e`.`is_delete` = 0\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__bank_detail` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0005490779876709','192.168.1.254','2019-06-16 04:03:14'),(54177,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__third_party_payment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__third_party_payment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041484832763672','192.168.1.254','2019-06-16 04:03:14'),(54178,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` =0\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0004570484161377','192.168.1.254','2019-06-16 04:03:14'),(54179,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` = 1\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043797492980957','192.168.1.254','2019-06-16 04:03:14'),(54180,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0005040168762207','192.168.1.254','2019-06-16 04:03:14'),(54181,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00089192390441895','192.168.1.254','2019-06-16 04:03:14'),(54182,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00083398818969727','192.168.1.254','2019-06-16 04:03:14'),(54183,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00079989433288574','192.168.1.254','2019-06-16 04:03:14'),(54184,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00077915191650391','192.168.1.254','2019-06-16 04:03:14'),(54185,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 1019','StaffProfile/new_action_type','0.00043797492980957','192.168.1.254','2019-06-16 04:03:14'),(54186,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018696069717407','192.168.1.254','2019-06-16 04:05:37'),(54187,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041294097900391','192.168.1.254','2019-06-16 04:05:37'),(54188,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012409687042236','192.168.1.254','2019-06-16 04:05:37'),(54189,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018849849700928','192.168.1.254','2019-06-16 04:05:37'),(54190,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036120414733887','192.168.1.254','2019-06-16 04:05:37'),(54191,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012631416320801','192.168.1.254','2019-06-16 04:05:37'),(54192,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.01901388168335','192.168.1.254','2019-06-16 04:05:37'),(54193,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035881996154785','192.168.1.254','2019-06-16 04:05:37'),(54194,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012040138244629','192.168.1.254','2019-06-16 04:05:37'),(54195,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.001115083694458','192.168.1.254','2019-06-16 04:05:37'),(54196,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`position_id`, `e`.`position` as `position_name`, `i`.`position` as `position_category`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`, `m`.`expired_date` as `passport_expired_date`, `m`.`working_expired_date` as `passport_working_expired_date`, `m`.`issue`, `n`.`country` as `issue_country`, `o`.`country` as `citizen`, `p`.`race` as `race`, `q`.`name` as `religion`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__passport` `m` ON `m`.`staff_id` = `a`.`id`\nLEFT JOIN `_ref__country` `n` ON `m`.`issue` = `n`.`id`\nLEFT JOIN `_ref__country` `o` ON `o`.`id` = `a`.`citizen_id`\nLEFT JOIN `_ref__race` `p` ON `p`.`id` = `a`.`race_id`\nLEFT JOIN `_ref__religion` `q` ON `q`.`id` = `a`.`religion_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'3\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019761085510254','192.168.1.254','2019-06-16 04:05:37'),(54197,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00038599967956543','192.168.1.254','2019-06-16 04:05:37'),(54198,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0002739429473877','192.168.1.254','2019-06-16 04:05:37'),(54199,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030112266540527','192.168.1.254','2019-06-16 04:05:37'),(54200,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00026392936706543','192.168.1.254','2019-06-16 04:05:37'),(54201,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043797492980957','192.168.1.254','2019-06-16 04:05:37'),(54202,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033092498779297','192.168.1.254','2019-06-16 04:05:37'),(54203,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043988227844238','192.168.1.254','2019-06-16 04:05:37'),(54204,128,NULL,'others','SELECT `a`.*, `b`.`file_name`, `b`.`file_location`\nFROM `company` `a`\nLEFT JOIN `company__logo` `b` ON `b`.`id` = `a`.`main_logo_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00056791305541992','192.168.1.254','2019-06-16 04:05:37'),(54205,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036096572875977','192.168.1.254','2019-06-16 04:05:37'),(54206,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `d`.`position_id` < 13\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.027238845825195','192.168.1.254','2019-06-16 04:05:37'),(54207,128,NULL,'others','SELECT `a`.*, `b`.`name` as `company_name`\nFROM `company__branch` `a`\nJOIN `company` `b` ON `b`.`id` = `a`.`company_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0027239322662354','192.168.1.254','2019-06-16 04:05:37'),(54208,128,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`\nFROM `company__division` `a`\nLEFT JOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043487548828125','192.168.1.254','2019-06-16 04:05:37'),(54209,128,NULL,'others','SELECT `a`.*, `b`.`name` as `branch_name`, `c`.`name` as `hod_name`\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`hod_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00075197219848633','192.168.1.254','2019-06-16 04:05:37'),(54210,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029587745666504','192.168.1.254','2019-06-16 04:05:37'),(54211,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031089782714844','192.168.1.254','2019-06-16 04:05:37'),(54212,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028586387634277','192.168.1.254','2019-06-16 04:05:37'),(54213,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028705596923828','192.168.1.254','2019-06-16 04:05:37'),(54214,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028300285339355','192.168.1.254','2019-06-16 04:05:37'),(54215,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003809928894043','192.168.1.254','2019-06-16 04:05:37'),(54216,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0055420398712158','192.168.1.254','2019-06-16 04:05:37'),(54217,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.003262996673584','192.168.1.254','2019-06-16 04:05:37'),(54218,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043201446533203','192.168.1.254','2019-06-16 04:05:37'),(54219,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030708312988281','192.168.1.254','2019-06-16 04:05:37'),(54220,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029802322387695','192.168.1.254','2019-06-16 04:05:37'),(54221,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029397010803223','192.168.1.254','2019-06-16 04:05:37'),(54222,128,NULL,'others','SELECT `a`.*, `b`.`country` as `country_issue`\nFROM `user__profiling` `a`\nLEFT JOIN `_ref__country` `b` ON `b`.`id` = `a`.`place_issue`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nORDER BY `a`.`action_efective_date` DESC, `a`.`id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00054001808166504','192.168.1.254','2019-06-16 04:05:37'),(54223,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00037097930908203','192.168.1.254','2019-06-16 04:05:37'),(54224,128,NULL,'others','SELECT `a`.`id`\nFROM `user__profiling` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`action_efective_date` DESC, `id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036096572875977','192.168.1.254','2019-06-16 04:05:37'),(54225,128,NULL,'others','SELECT `a`.*, `b`.`relations`, `c`.`level` as `level_academic`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__family_member` `a`\nJOIN `_ref__relationship` `b` ON `b`.`id` = `a`.`relation`\nLEFT JOIN `_ref__academic` `c` ON `c`.`id` = `a`.`academic_lavel`\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__family_member` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00052618980407715','192.168.1.254','2019-06-16 04:05:37'),(54226,128,NULL,'others','SELECT `a`.*, `b`.`level` as `academic_level`, `c`.`id` as `attachment_id`, `c`.`attachment_name`, `c`.`location`, `c`.`file_type`, `c`.`file_ext`, `c`.`mask_id`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__academic_qualification` `a`\nJOIN `_ref__academic` `b` ON `b`.`id` = `a`.`level_id`\nLEFT OUTER JOIN `user__academic_qualification_attachment` `c` ON `c`.`academic_qualification_id` = `a`.`id` and `c`.`is_delete` = 0\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__academic_qualification` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00057888031005859','192.168.1.254','2019-06-16 04:05:37'),(54227,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__personal_attachment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__personal_attachment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043392181396484','192.168.1.254','2019-06-16 04:05:37'),(54228,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__employment_history` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__employment_history` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\') ','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046896934509277','192.168.1.254','2019-06-16 04:05:37'),(54229,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__profesional_membership` `a`\nLEFT JOIN `user__profesional_membership_attachment` `b` ON `b`.`professional_membership_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__profesional_membership` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00053286552429199','192.168.1.254','2019-06-16 04:05:38'),(54230,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__license` `a`\nLEFT JOIN `user__license_attachment` `b` ON `b`.`license_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__license` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00049209594726562','192.168.1.254','2019-06-16 04:05:38'),(54231,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__recognition` `a`\nLEFT JOIN `user__recognition_attachment` `b` ON `b`.`recognition_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recognition` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00048017501831055','192.168.1.254','2019-06-16 04:05:38'),(54232,128,NULL,'others','SELECT `a`.*, `b`.`name`, `c`.`action_efective_date`, `d`.`type` as `action_type`, `e`.`id` as `attachment_id`, `e`.`attachment_name`, `e`.`location`, `e`.`file_type`, `e`.`file_ext`, `e`.`mask_id`\nFROM `user__bank_detail` `a`\nJOIN `_ref__bank` `b` ON `b`.`id` = `a`.`bank_id`\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nLEFT JOIN `user__bank_detail_attachment` `e` ON `e`.`bank_detail_id` = `a`.`id` and `e`.`is_delete` = 0\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__bank_detail` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00056600570678711','192.168.1.254','2019-06-16 04:05:38'),(54233,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__third_party_payment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__third_party_payment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00047183036804199','192.168.1.254','2019-06-16 04:05:38'),(54234,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` =0\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00047421455383301','192.168.1.254','2019-06-16 04:05:38'),(54235,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` = 1\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043892860412598','192.168.1.254','2019-06-16 04:05:38'),(54236,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046300888061523','192.168.1.254','2019-06-16 04:05:38'),(54237,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00090479850769043','192.168.1.254','2019-06-16 04:05:38'),(54238,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0008699893951416','192.168.1.254','2019-06-16 04:05:38'),(54239,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00082492828369141','192.168.1.254','2019-06-16 04:05:38'),(54240,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00083112716674805','192.168.1.254','2019-06-16 04:05:38'),(54241,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 1019','StaffProfile/new_action_type','0.00040507316589355','192.168.1.254','2019-06-16 04:05:38'),(54242,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/hr/leave','0.019574165344238','192.168.1.254','2019-06-16 04:06:06'),(54243,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00036406517028809','192.168.1.254','2019-06-16 04:06:06'),(54244,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave','0.0013079643249512','192.168.1.254','2019-06-16 04:06:06'),(54245,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/hr/leave','0.018854141235352','192.168.1.254','2019-06-16 04:06:06'),(54246,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00041890144348145','192.168.1.254','2019-06-16 04:06:06'),(54247,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave','0.0012969970703125','192.168.1.254','2019-06-16 04:06:06'),(54248,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/hr/leave','0.018852949142456','192.168.1.254','2019-06-16 04:06:06'),(54249,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00035810470581055','192.168.1.254','2019-06-16 04:06:06'),(54250,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave','0.001309871673584','192.168.1.254','2019-06-16 04:06:06'),(54251,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = 4\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.0008690357208252','192.168.1.254','2019-06-16 04:06:06'),(54252,23,NULL,'insert','INSERT INTO `_log__module_session` (`module_id`, `user_session_id`) VALUES (4, 1020)','leave/index','0.027801990509033','192.168.1.254','2019-06-16 04:06:06'),(54253,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave','0.00059103965759277','192.168.1.254','2019-06-16 04:06:06'),(54254,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave','0.00037598609924316','192.168.1.254','2019-06-16 04:06:06'),(54255,23,NULL,'others','SELECT `a`.*, `b`.`name` as `branch_name`, `c`.`name` as `hod_name`\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`hod_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/leave','0.00065898895263672','192.168.1.254','2019-06-16 04:06:06'),(54256,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `d`.`title`, `e`.`position` as `position_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`, `m`.`duration` as `contract_term`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__contract_element` `m` ON `m`.`id` = `d`.`contract_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.030977010726929','192.168.1.254','2019-06-16 04:06:06'),(54257,23,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`, `c`.`name` as `period_from`, `d`.`name` as `period_to`, `e`.`status` as `leave_status`, `f`.`name` as `leave_type`, `f`.`colour`, `f`.`code`, `g`.`name` as `user_name`, `h`.`file_name`, `h`.`file_location`, `k`.`name` as `relief_person`\nFROM `hr__leave_application` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nJOIN `hr__ref_leave_period` `c` ON `c`.`id` = `a`.`period_from_id`\nJOIN `hr__ref_leave_period` `d` ON `d`.`id` = `a`.`period_to_id`\nJOIN `hr__ref_leave_status` `e` ON `e`.`id` = `a`.`status`\nJOIN `hr__leave_type` `f` ON `f`.`id` = `a`.`type_id`\nJOIN `user` `g` ON `g`.`id` = `a`.`user_id`\nLEFT JOIN `hr__leave_attachment` `h` ON `h`.`application_id` = `a`.`id`\nLEFT JOIN `user__employment_detail` `i` ON `a`.`user_id` = `i`.`user_id`\nLEFT JOIN `company__position` `j` ON `i`.`position_id` = `j`.`id`\nJOIN `user` `k` ON `k`.`id` = `a`.`absent_relief_id`\nWHERE 0 = \'a.status in (1,2)\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`status` ASC, `a`.`created_ts` DESC','/salihin-digital/hr/leave','0.0069530010223389','192.168.1.254','2019-06-16 04:06:06'),(54258,23,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`, `c`.`name` as `period_from`, `d`.`name` as `period_to`, `e`.`status` as `leave_status`, `f`.`name` as `leave_type`, `f`.`colour`, `f`.`code`, `g`.`name` as `user_name`, `h`.`file_name`, `h`.`file_location`, `k`.`name` as `relief_person`\nFROM `hr__leave_application` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nJOIN `hr__ref_leave_period` `c` ON `c`.`id` = `a`.`period_from_id`\nJOIN `hr__ref_leave_period` `d` ON `d`.`id` = `a`.`period_to_id`\nJOIN `hr__ref_leave_status` `e` ON `e`.`id` = `a`.`status`\nJOIN `hr__leave_type` `f` ON `f`.`id` = `a`.`type_id`\nJOIN `user` `g` ON `g`.`id` = `a`.`user_id`\nLEFT JOIN `hr__leave_attachment` `h` ON `h`.`application_id` = `a`.`id`\nLEFT JOIN `user__employment_detail` `i` ON `a`.`user_id` = `i`.`user_id`\nLEFT JOIN `company__position` `j` ON `i`.`position_id` = `j`.`id`\nJOIN `user` `k` ON `k`.`id` = `a`.`absent_relief_id`\nWHERE `a`.`is_delete` =0\nAND 0 = \'a.status in (1,2)\'\nAND `a`.`department_id` IS NULL\nAND   (\n(\'2019-06-16\' BETWEEN `a`.`date_from` AND a.date_to)\nOR (\'2019-06-23\' BETWEEN `a`.`date_from` and a.date_to)\nOR (`a`.`date_from` BETWEEN \'2019-06-16\' AND \'2019-06-23\')\nOR (`a`.`date_to` BETWEEN \'2019-06-16\' AND \'2019-06-23\')\n )','/salihin-digital/hr/leave','0.001967191696167','192.168.1.254','2019-06-16 04:06:06'),(54259,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `d`.`title`, `e`.`position` as `position_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`, `m`.`duration` as `contract_term`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__contract_element` `m` ON `m`.`id` = `d`.`contract_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'23\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.019866943359375','192.168.1.254','2019-06-16 04:06:06'),(54260,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave','0.00033402442932129','192.168.1.254','2019-06-16 04:06:06'),(54261,23,NULL,'others','SELECT (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019) as leaveTotal, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 1) as leavePending, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 2) as leaveApproved, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 3) as leaveRejected, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 4) as leaveCancelled','/salihin-digital/hr/leave','0.00060582160949707','192.168.1.254','2019-06-16 04:06:06'),(54262,23,NULL,'others','SELECT `a`.*, `b`.`code`, `b`.`name`, `d`.`name` as `departmentName`\nFROM `hr__leave_allocation` `a`\nJOIN `hr__leave_type` `b` ON `b`.`id` = `a`.`type_id`\nJOIN `user__employment_detail` `c` ON `c`.`user_id` = `a`.`user_id`\nJOIN `company__department` `d` ON `d`.`id` = `c`.`department_id`\nWHERE `a`.`user_id` = \'23\'\nAND `a`.`year` = \'2019\'\nAND `a`.`type_id` NOT IN(2, 4)\nAND `a`.`is_delete` =0\nORDER BY `a`.`year` DESC, `a`.`type_id` ASC','/salihin-digital/hr/leave','0.0021789073944092','192.168.1.254','2019-06-16 04:06:06'),(54263,23,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`, `c`.`name` as `period_from`, `d`.`name` as `period_to`, `e`.`status` as `leave_status`, `f`.`name` as `leave_type`, `f`.`colour`, `f`.`code`, `g`.`name` as `user_name`, `h`.`file_name`, `h`.`file_location`, `k`.`name` as `relief_person`\nFROM `hr__leave_application` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nJOIN `hr__ref_leave_period` `c` ON `c`.`id` = `a`.`period_from_id`\nJOIN `hr__ref_leave_period` `d` ON `d`.`id` = `a`.`period_to_id`\nJOIN `hr__ref_leave_status` `e` ON `e`.`id` = `a`.`status`\nJOIN `hr__leave_type` `f` ON `f`.`id` = `a`.`type_id`\nJOIN `user` `g` ON `g`.`id` = `a`.`user_id`\nLEFT JOIN `hr__leave_attachment` `h` ON `h`.`application_id` = `a`.`id`\nLEFT JOIN `user__employment_detail` `i` ON `a`.`user_id` = `i`.`user_id`\nLEFT JOIN `company__position` `j` ON `i`.`position_id` = `j`.`id`\nJOIN `user` `k` ON `k`.`id` = `a`.`absent_relief_id`\nWHERE `a`.`user_id` = \'23\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`status` ASC, `a`.`created_ts` DESC\n LIMIT 5','/salihin-digital/hr/leave','0.0044131278991699','192.168.1.254','2019-06-16 04:06:06'),(54264,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `d`.`title`, `e`.`position` as `position_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`, `m`.`duration` as `contract_term`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__contract_element` `m` ON `m`.`id` = `d`.`contract_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'23\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.019330024719238','192.168.1.254','2019-06-16 04:06:06'),(54265,23,NULL,'others','SELECT `a`.*, `b`.`code`, `b`.`name`, `d`.`name` as `departmentName`\nFROM `hr__leave_allocation` `a`\nJOIN `hr__leave_type` `b` ON `b`.`id` = `a`.`type_id`\nJOIN `user__employment_detail` `c` ON `c`.`user_id` = `a`.`user_id`\nJOIN `company__department` `d` ON `d`.`id` = `c`.`department_id`\nWHERE `a`.`user_id` = \'23\'\nAND `a`.`year` = \'2019\'\nAND `a`.`type_id` = 1\nAND `a`.`is_delete` =0\nORDER BY `a`.`year` DESC, `a`.`type_id` ASC','/salihin-digital/hr/leave','0.0019750595092773','192.168.1.254','2019-06-16 04:06:06'),(54266,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `e`.`parent_id` < 3\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.02278208732605','192.168.1.254','2019-06-16 04:06:06'),(54267,23,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/leave','0.00056195259094238','192.168.1.254','2019-06-16 04:06:06'),(54268,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00086712837219238','192.168.1.254','2019-06-16 04:06:06'),(54269,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00081801414489746','192.168.1.254','2019-06-16 04:06:06'),(54270,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00080418586730957','192.168.1.254','2019-06-16 04:06:06'),(54271,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00078701972961426','192.168.1.254','2019-06-16 04:06:06'),(54272,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/\'\nWHERE id = 1020','leave/index','0.00028800964355469','192.168.1.254','2019-06-16 04:06:06'),(54273,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018951892852783','192.168.1.254','2019-06-16 04:06:26'),(54274,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041604042053223','192.168.1.254','2019-06-16 04:06:26'),(54275,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012409687042236','192.168.1.254','2019-06-16 04:06:26'),(54276,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018990039825439','192.168.1.254','2019-06-16 04:06:26'),(54277,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00042200088500977','192.168.1.254','2019-06-16 04:06:26'),(54278,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012679100036621','192.168.1.254','2019-06-16 04:06:26'),(54279,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018767118453979','192.168.1.254','2019-06-16 04:06:26'),(54280,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00039196014404297','192.168.1.254','2019-06-16 04:06:26'),(54281,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012459754943848','192.168.1.254','2019-06-16 04:06:26'),(54282,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0011029243469238','192.168.1.254','2019-06-16 04:06:26'),(54283,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`position_id`, `e`.`position` as `position_name`, `i`.`position` as `position_category`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`, `m`.`expired_date` as `passport_expired_date`, `m`.`working_expired_date` as `passport_working_expired_date`, `m`.`issue`, `n`.`country` as `issue_country`, `o`.`country` as `citizen`, `p`.`race` as `race`, `q`.`name` as `religion`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__passport` `m` ON `m`.`staff_id` = `a`.`id`\nLEFT JOIN `_ref__country` `n` ON `m`.`issue` = `n`.`id`\nLEFT JOIN `_ref__country` `o` ON `o`.`id` = `a`.`citizen_id`\nLEFT JOIN `_ref__race` `p` ON `p`.`id` = `a`.`race_id`\nLEFT JOIN `_ref__religion` `q` ON `q`.`id` = `a`.`religion_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'3\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019171953201294','192.168.1.254','2019-06-16 04:06:26'),(54284,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034308433532715','192.168.1.254','2019-06-16 04:06:26'),(54285,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032711029052734','192.168.1.254','2019-06-16 04:06:26'),(54286,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033187866210938','192.168.1.254','2019-06-16 04:06:26'),(54287,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033211708068848','192.168.1.254','2019-06-16 04:06:26'),(54288,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00048398971557617','192.168.1.254','2019-06-16 04:06:26'),(54289,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040602684020996','192.168.1.254','2019-06-16 04:06:26'),(54290,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045204162597656','192.168.1.254','2019-06-16 04:06:26'),(54291,128,NULL,'others','SELECT `a`.*, `b`.`file_name`, `b`.`file_location`\nFROM `company` `a`\nLEFT JOIN `company__logo` `b` ON `b`.`id` = `a`.`main_logo_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00058889389038086','192.168.1.254','2019-06-16 04:06:26'),(54292,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043296813964844','192.168.1.254','2019-06-16 04:06:26'),(54293,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `d`.`position_id` < 13\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.024559020996094','192.168.1.254','2019-06-16 04:06:27'),(54294,128,NULL,'others','SELECT `a`.*, `b`.`name` as `company_name`\nFROM `company__branch` `a`\nJOIN `company` `b` ON `b`.`id` = `a`.`company_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0028679370880127','192.168.1.254','2019-06-16 04:06:27'),(54295,128,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`\nFROM `company__division` `a`\nLEFT JOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046014785766602','192.168.1.254','2019-06-16 04:06:27'),(54296,128,NULL,'others','SELECT `a`.*, `b`.`name` as `branch_name`, `c`.`name` as `hod_name`\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`hod_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0006110668182373','192.168.1.254','2019-06-16 04:06:27'),(54297,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003359317779541','192.168.1.254','2019-06-16 04:06:27'),(54298,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034594535827637','192.168.1.254','2019-06-16 04:06:27'),(54299,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003359317779541','192.168.1.254','2019-06-16 04:06:27'),(54300,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033307075500488','192.168.1.254','2019-06-16 04:06:27'),(54301,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033187866210938','192.168.1.254','2019-06-16 04:06:27'),(54302,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043082237243652','192.168.1.254','2019-06-16 04:06:27'),(54303,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0056438446044922','192.168.1.254','2019-06-16 04:06:27'),(54304,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0031008720397949','192.168.1.254','2019-06-16 04:06:27'),(54305,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00037598609924316','192.168.1.254','2019-06-16 04:06:27'),(54306,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00026202201843262','192.168.1.254','2019-06-16 04:06:27'),(54307,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00026702880859375','192.168.1.254','2019-06-16 04:06:27'),(54308,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028109550476074','192.168.1.254','2019-06-16 04:06:27'),(54309,128,NULL,'others','SELECT `a`.*, `b`.`country` as `country_issue`\nFROM `user__profiling` `a`\nLEFT JOIN `_ref__country` `b` ON `b`.`id` = `a`.`place_issue`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nORDER BY `a`.`action_efective_date` DESC, `a`.`id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045609474182129','192.168.1.254','2019-06-16 04:06:27'),(54310,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033092498779297','192.168.1.254','2019-06-16 04:06:27'),(54311,128,NULL,'others','SELECT `a`.`id`\nFROM `user__profiling` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`action_efective_date` DESC, `id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003209114074707','192.168.1.254','2019-06-16 04:06:27'),(54312,128,NULL,'others','SELECT `a`.*, `b`.`relations`, `c`.`level` as `level_academic`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__family_member` `a`\nJOIN `_ref__relationship` `b` ON `b`.`id` = `a`.`relation`\nLEFT JOIN `_ref__academic` `c` ON `c`.`id` = `a`.`academic_lavel`\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__family_member` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00049495697021484','192.168.1.254','2019-06-16 04:06:27'),(54313,128,NULL,'others','SELECT `a`.*, `b`.`level` as `academic_level`, `c`.`id` as `attachment_id`, `c`.`attachment_name`, `c`.`location`, `c`.`file_type`, `c`.`file_ext`, `c`.`mask_id`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__academic_qualification` `a`\nJOIN `_ref__academic` `b` ON `b`.`id` = `a`.`level_id`\nLEFT OUTER JOIN `user__academic_qualification_attachment` `c` ON `c`.`academic_qualification_id` = `a`.`id` and `c`.`is_delete` = 0\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__academic_qualification` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00052404403686523','192.168.1.254','2019-06-16 04:06:27'),(54314,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__personal_attachment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__personal_attachment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040602684020996','192.168.1.254','2019-06-16 04:06:27'),(54315,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__employment_history` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__employment_history` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\') ','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041389465332031','192.168.1.254','2019-06-16 04:06:27'),(54316,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__profesional_membership` `a`\nLEFT JOIN `user__profesional_membership_attachment` `b` ON `b`.`professional_membership_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__profesional_membership` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00049400329589844','192.168.1.254','2019-06-16 04:06:27'),(54317,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__license` `a`\nLEFT JOIN `user__license_attachment` `b` ON `b`.`license_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__license` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046992301940918','192.168.1.254','2019-06-16 04:06:27'),(54318,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__recognition` `a`\nLEFT JOIN `user__recognition_attachment` `b` ON `b`.`recognition_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recognition` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045084953308105','192.168.1.254','2019-06-16 04:06:27'),(54319,128,NULL,'others','SELECT `a`.*, `b`.`name`, `c`.`action_efective_date`, `d`.`type` as `action_type`, `e`.`id` as `attachment_id`, `e`.`attachment_name`, `e`.`location`, `e`.`file_type`, `e`.`file_ext`, `e`.`mask_id`\nFROM `user__bank_detail` `a`\nJOIN `_ref__bank` `b` ON `b`.`id` = `a`.`bank_id`\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nLEFT JOIN `user__bank_detail_attachment` `e` ON `e`.`bank_detail_id` = `a`.`id` and `e`.`is_delete` = 0\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__bank_detail` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00049185752868652','192.168.1.254','2019-06-16 04:06:27'),(54320,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__third_party_payment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__third_party_payment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00039386749267578','192.168.1.254','2019-06-16 04:06:27'),(54321,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` =0\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00038814544677734','192.168.1.254','2019-06-16 04:06:27'),(54322,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` = 1\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00038504600524902','192.168.1.254','2019-06-16 04:06:27'),(54323,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003960132598877','192.168.1.254','2019-06-16 04:06:27'),(54324,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00072312355041504','192.168.1.254','2019-06-16 04:06:27'),(54325,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00069499015808105','192.168.1.254','2019-06-16 04:06:27'),(54326,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00069189071655273','192.168.1.254','2019-06-16 04:06:27'),(54327,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00062417984008789','192.168.1.254','2019-06-16 04:06:27'),(54328,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 1019','StaffProfile/new_action_type','0.00040316581726074','192.168.1.254','2019-06-16 04:06:27'),(54329,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/hr/leave','0.01860499382019','192.168.1.254','2019-06-16 04:06:35'),(54330,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00037407875061035','192.168.1.254','2019-06-16 04:06:36'),(54331,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave','0.0013320446014404','192.168.1.254','2019-06-16 04:06:36'),(54332,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/hr/leave','0.018955945968628','192.168.1.254','2019-06-16 04:06:36'),(54333,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00042009353637695','192.168.1.254','2019-06-16 04:06:36'),(54334,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave','0.0013599395751953','192.168.1.254','2019-06-16 04:06:36'),(54335,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/hr/leave','0.018870115280151','192.168.1.254','2019-06-16 04:06:36'),(54336,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.0004119873046875','192.168.1.254','2019-06-16 04:06:36'),(54337,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave','0.0013670921325684','192.168.1.254','2019-06-16 04:06:36'),(54338,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave','0.00060415267944336','192.168.1.254','2019-06-16 04:06:36'),(54339,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave','0.00038695335388184','192.168.1.254','2019-06-16 04:06:36'),(54340,23,NULL,'others','SELECT `a`.*, `b`.`name` as `branch_name`, `c`.`name` as `hod_name`\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`hod_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/leave','0.00067996978759766','192.168.1.254','2019-06-16 04:06:36'),(54341,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `d`.`title`, `e`.`position` as `position_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`, `m`.`duration` as `contract_term`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__contract_element` `m` ON `m`.`id` = `d`.`contract_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.030791997909546','192.168.1.254','2019-06-16 04:06:36'),(54342,23,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`, `c`.`name` as `period_from`, `d`.`name` as `period_to`, `e`.`status` as `leave_status`, `f`.`name` as `leave_type`, `f`.`colour`, `f`.`code`, `g`.`name` as `user_name`, `h`.`file_name`, `h`.`file_location`, `k`.`name` as `relief_person`\nFROM `hr__leave_application` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nJOIN `hr__ref_leave_period` `c` ON `c`.`id` = `a`.`period_from_id`\nJOIN `hr__ref_leave_period` `d` ON `d`.`id` = `a`.`period_to_id`\nJOIN `hr__ref_leave_status` `e` ON `e`.`id` = `a`.`status`\nJOIN `hr__leave_type` `f` ON `f`.`id` = `a`.`type_id`\nJOIN `user` `g` ON `g`.`id` = `a`.`user_id`\nLEFT JOIN `hr__leave_attachment` `h` ON `h`.`application_id` = `a`.`id`\nLEFT JOIN `user__employment_detail` `i` ON `a`.`user_id` = `i`.`user_id`\nLEFT JOIN `company__position` `j` ON `i`.`position_id` = `j`.`id`\nJOIN `user` `k` ON `k`.`id` = `a`.`absent_relief_id`\nWHERE 0 = \'a.status in (1,2)\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`status` ASC, `a`.`created_ts` DESC','/salihin-digital/hr/leave','0.0071508884429932','192.168.1.254','2019-06-16 04:06:36'),(54343,23,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`, `c`.`name` as `period_from`, `d`.`name` as `period_to`, `e`.`status` as `leave_status`, `f`.`name` as `leave_type`, `f`.`colour`, `f`.`code`, `g`.`name` as `user_name`, `h`.`file_name`, `h`.`file_location`, `k`.`name` as `relief_person`\nFROM `hr__leave_application` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nJOIN `hr__ref_leave_period` `c` ON `c`.`id` = `a`.`period_from_id`\nJOIN `hr__ref_leave_period` `d` ON `d`.`id` = `a`.`period_to_id`\nJOIN `hr__ref_leave_status` `e` ON `e`.`id` = `a`.`status`\nJOIN `hr__leave_type` `f` ON `f`.`id` = `a`.`type_id`\nJOIN `user` `g` ON `g`.`id` = `a`.`user_id`\nLEFT JOIN `hr__leave_attachment` `h` ON `h`.`application_id` = `a`.`id`\nLEFT JOIN `user__employment_detail` `i` ON `a`.`user_id` = `i`.`user_id`\nLEFT JOIN `company__position` `j` ON `i`.`position_id` = `j`.`id`\nJOIN `user` `k` ON `k`.`id` = `a`.`absent_relief_id`\nWHERE `a`.`is_delete` =0\nAND 0 = \'a.status in (1,2)\'\nAND `a`.`department_id` IS NULL\nAND   (\n(\'2019-06-16\' BETWEEN `a`.`date_from` AND a.date_to)\nOR (\'2019-06-23\' BETWEEN `a`.`date_from` and a.date_to)\nOR (`a`.`date_from` BETWEEN \'2019-06-16\' AND \'2019-06-23\')\nOR (`a`.`date_to` BETWEEN \'2019-06-16\' AND \'2019-06-23\')\n )','/salihin-digital/hr/leave','0.0019428730010986','192.168.1.254','2019-06-16 04:06:36'),(54344,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `d`.`title`, `e`.`position` as `position_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`, `m`.`duration` as `contract_term`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__contract_element` `m` ON `m`.`id` = `d`.`contract_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'23\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.019475936889648','192.168.1.254','2019-06-16 04:06:36'),(54345,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave','0.00036001205444336','192.168.1.254','2019-06-16 04:06:36'),(54346,23,NULL,'others','SELECT (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019) as leaveTotal, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 1) as leavePending, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 2) as leaveApproved, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 3) as leaveRejected, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 4) as leaveCancelled','/salihin-digital/hr/leave','0.00060009956359863','192.168.1.254','2019-06-16 04:06:36'),(54347,23,NULL,'others','SELECT `a`.*, `b`.`code`, `b`.`name`, `d`.`name` as `departmentName`\nFROM `hr__leave_allocation` `a`\nJOIN `hr__leave_type` `b` ON `b`.`id` = `a`.`type_id`\nJOIN `user__employment_detail` `c` ON `c`.`user_id` = `a`.`user_id`\nJOIN `company__department` `d` ON `d`.`id` = `c`.`department_id`\nWHERE `a`.`user_id` = \'23\'\nAND `a`.`year` = \'2019\'\nAND `a`.`type_id` NOT IN(2, 4)\nAND `a`.`is_delete` =0\nORDER BY `a`.`year` DESC, `a`.`type_id` ASC','/salihin-digital/hr/leave','0.0020999908447266','192.168.1.254','2019-06-16 04:06:36'),(54348,23,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`, `c`.`name` as `period_from`, `d`.`name` as `period_to`, `e`.`status` as `leave_status`, `f`.`name` as `leave_type`, `f`.`colour`, `f`.`code`, `g`.`name` as `user_name`, `h`.`file_name`, `h`.`file_location`, `k`.`name` as `relief_person`\nFROM `hr__leave_application` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nJOIN `hr__ref_leave_period` `c` ON `c`.`id` = `a`.`period_from_id`\nJOIN `hr__ref_leave_period` `d` ON `d`.`id` = `a`.`period_to_id`\nJOIN `hr__ref_leave_status` `e` ON `e`.`id` = `a`.`status`\nJOIN `hr__leave_type` `f` ON `f`.`id` = `a`.`type_id`\nJOIN `user` `g` ON `g`.`id` = `a`.`user_id`\nLEFT JOIN `hr__leave_attachment` `h` ON `h`.`application_id` = `a`.`id`\nLEFT JOIN `user__employment_detail` `i` ON `a`.`user_id` = `i`.`user_id`\nLEFT JOIN `company__position` `j` ON `i`.`position_id` = `j`.`id`\nJOIN `user` `k` ON `k`.`id` = `a`.`absent_relief_id`\nWHERE `a`.`user_id` = \'23\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`status` ASC, `a`.`created_ts` DESC\n LIMIT 5','/salihin-digital/hr/leave','0.0058200359344482','192.168.1.254','2019-06-16 04:06:36'),(54349,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `d`.`title`, `e`.`position` as `position_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`, `m`.`duration` as `contract_term`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__contract_element` `m` ON `m`.`id` = `d`.`contract_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'23\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.01985502243042','192.168.1.254','2019-06-16 04:06:36'),(54350,23,NULL,'others','SELECT `a`.*, `b`.`code`, `b`.`name`, `d`.`name` as `departmentName`\nFROM `hr__leave_allocation` `a`\nJOIN `hr__leave_type` `b` ON `b`.`id` = `a`.`type_id`\nJOIN `user__employment_detail` `c` ON `c`.`user_id` = `a`.`user_id`\nJOIN `company__department` `d` ON `d`.`id` = `c`.`department_id`\nWHERE `a`.`user_id` = \'23\'\nAND `a`.`year` = \'2019\'\nAND `a`.`type_id` = 1\nAND `a`.`is_delete` =0\nORDER BY `a`.`year` DESC, `a`.`type_id` ASC','/salihin-digital/hr/leave','0.0019810199737549','192.168.1.254','2019-06-16 04:06:36'),(54351,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `e`.`parent_id` < 3\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.023179054260254','192.168.1.254','2019-06-16 04:06:36'),(54352,23,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/leave','0.00057482719421387','192.168.1.254','2019-06-16 04:06:36'),(54353,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00087785720825195','192.168.1.254','2019-06-16 04:06:36'),(54354,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00086498260498047','192.168.1.254','2019-06-16 04:06:36'),(54355,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00086593627929688','192.168.1.254','2019-06-16 04:06:36'),(54356,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00089693069458008','192.168.1.254','2019-06-16 04:06:36'),(54357,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/\'\nWHERE id = 1020','leave/index','0.00037598609924316','192.168.1.254','2019-06-16 04:06:36'),(54358,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/hr/leave','0.018934011459351','192.168.1.254','2019-06-16 04:07:06'),(54359,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00041794776916504','192.168.1.254','2019-06-16 04:07:06'),(54360,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave','0.00136399269104','192.168.1.254','2019-06-16 04:07:06'),(54361,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/hr/leave','0.019191026687622','192.168.1.254','2019-06-16 04:07:06'),(54362,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00040602684020996','192.168.1.254','2019-06-16 04:07:06'),(54363,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave','0.0013799667358398','192.168.1.254','2019-06-16 04:07:06'),(54364,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/hr/leave','0.019091844558716','192.168.1.254','2019-06-16 04:07:06'),(54365,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00041985511779785','192.168.1.254','2019-06-16 04:07:06'),(54366,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave','0.0013489723205566','192.168.1.254','2019-06-16 04:07:07'),(54367,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave','0.0006101131439209','192.168.1.254','2019-06-16 04:07:07'),(54368,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave','0.00038886070251465','192.168.1.254','2019-06-16 04:07:07'),(54369,23,NULL,'others','SELECT `a`.*, `b`.`name` as `branch_name`, `c`.`name` as `hod_name`\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`hod_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/leave','0.0006711483001709','192.168.1.254','2019-06-16 04:07:07'),(54370,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `d`.`title`, `e`.`position` as `position_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`, `m`.`duration` as `contract_term`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__contract_element` `m` ON `m`.`id` = `d`.`contract_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.027176856994629','192.168.1.254','2019-06-16 04:07:07'),(54371,23,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`, `c`.`name` as `period_from`, `d`.`name` as `period_to`, `e`.`status` as `leave_status`, `f`.`name` as `leave_type`, `f`.`colour`, `f`.`code`, `g`.`name` as `user_name`, `h`.`file_name`, `h`.`file_location`, `k`.`name` as `relief_person`\nFROM `hr__leave_application` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nJOIN `hr__ref_leave_period` `c` ON `c`.`id` = `a`.`period_from_id`\nJOIN `hr__ref_leave_period` `d` ON `d`.`id` = `a`.`period_to_id`\nJOIN `hr__ref_leave_status` `e` ON `e`.`id` = `a`.`status`\nJOIN `hr__leave_type` `f` ON `f`.`id` = `a`.`type_id`\nJOIN `user` `g` ON `g`.`id` = `a`.`user_id`\nLEFT JOIN `hr__leave_attachment` `h` ON `h`.`application_id` = `a`.`id`\nLEFT JOIN `user__employment_detail` `i` ON `a`.`user_id` = `i`.`user_id`\nLEFT JOIN `company__position` `j` ON `i`.`position_id` = `j`.`id`\nJOIN `user` `k` ON `k`.`id` = `a`.`absent_relief_id`\nWHERE 0 = \'a.status in (1,2)\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`status` ASC, `a`.`created_ts` DESC','/salihin-digital/hr/leave','0.0062401294708252','192.168.1.254','2019-06-16 04:07:07'),(54372,23,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`, `c`.`name` as `period_from`, `d`.`name` as `period_to`, `e`.`status` as `leave_status`, `f`.`name` as `leave_type`, `f`.`colour`, `f`.`code`, `g`.`name` as `user_name`, `h`.`file_name`, `h`.`file_location`, `k`.`name` as `relief_person`\nFROM `hr__leave_application` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nJOIN `hr__ref_leave_period` `c` ON `c`.`id` = `a`.`period_from_id`\nJOIN `hr__ref_leave_period` `d` ON `d`.`id` = `a`.`period_to_id`\nJOIN `hr__ref_leave_status` `e` ON `e`.`id` = `a`.`status`\nJOIN `hr__leave_type` `f` ON `f`.`id` = `a`.`type_id`\nJOIN `user` `g` ON `g`.`id` = `a`.`user_id`\nLEFT JOIN `hr__leave_attachment` `h` ON `h`.`application_id` = `a`.`id`\nLEFT JOIN `user__employment_detail` `i` ON `a`.`user_id` = `i`.`user_id`\nLEFT JOIN `company__position` `j` ON `i`.`position_id` = `j`.`id`\nJOIN `user` `k` ON `k`.`id` = `a`.`absent_relief_id`\nWHERE `a`.`is_delete` =0\nAND 0 = \'a.status in (1,2)\'\nAND `a`.`department_id` IS NULL\nAND   (\n(\'2019-06-16\' BETWEEN `a`.`date_from` AND a.date_to)\nOR (\'2019-06-23\' BETWEEN `a`.`date_from` and a.date_to)\nOR (`a`.`date_from` BETWEEN \'2019-06-16\' AND \'2019-06-23\')\nOR (`a`.`date_to` BETWEEN \'2019-06-16\' AND \'2019-06-23\')\n )','/salihin-digital/hr/leave','0.0019900798797607','192.168.1.254','2019-06-16 04:07:07'),(54373,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `d`.`title`, `e`.`position` as `position_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`, `m`.`duration` as `contract_term`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__contract_element` `m` ON `m`.`id` = `d`.`contract_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'23\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.019593954086304','192.168.1.254','2019-06-16 04:07:07'),(54374,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave','0.0003669261932373','192.168.1.254','2019-06-16 04:07:07'),(54375,23,NULL,'others','SELECT (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019) as leaveTotal, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 1) as leavePending, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 2) as leaveApproved, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 3) as leaveRejected, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 4) as leaveCancelled','/salihin-digital/hr/leave','0.00061702728271484','192.168.1.254','2019-06-16 04:07:07'),(54376,23,NULL,'others','SELECT `a`.*, `b`.`code`, `b`.`name`, `d`.`name` as `departmentName`\nFROM `hr__leave_allocation` `a`\nJOIN `hr__leave_type` `b` ON `b`.`id` = `a`.`type_id`\nJOIN `user__employment_detail` `c` ON `c`.`user_id` = `a`.`user_id`\nJOIN `company__department` `d` ON `d`.`id` = `c`.`department_id`\nWHERE `a`.`user_id` = \'23\'\nAND `a`.`year` = \'2019\'\nAND `a`.`type_id` NOT IN(2, 4)\nAND `a`.`is_delete` =0\nORDER BY `a`.`year` DESC, `a`.`type_id` ASC','/salihin-digital/hr/leave','0.0021049976348877','192.168.1.254','2019-06-16 04:07:07'),(54377,23,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`, `c`.`name` as `period_from`, `d`.`name` as `period_to`, `e`.`status` as `leave_status`, `f`.`name` as `leave_type`, `f`.`colour`, `f`.`code`, `g`.`name` as `user_name`, `h`.`file_name`, `h`.`file_location`, `k`.`name` as `relief_person`\nFROM `hr__leave_application` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nJOIN `hr__ref_leave_period` `c` ON `c`.`id` = `a`.`period_from_id`\nJOIN `hr__ref_leave_period` `d` ON `d`.`id` = `a`.`period_to_id`\nJOIN `hr__ref_leave_status` `e` ON `e`.`id` = `a`.`status`\nJOIN `hr__leave_type` `f` ON `f`.`id` = `a`.`type_id`\nJOIN `user` `g` ON `g`.`id` = `a`.`user_id`\nLEFT JOIN `hr__leave_attachment` `h` ON `h`.`application_id` = `a`.`id`\nLEFT JOIN `user__employment_detail` `i` ON `a`.`user_id` = `i`.`user_id`\nLEFT JOIN `company__position` `j` ON `i`.`position_id` = `j`.`id`\nJOIN `user` `k` ON `k`.`id` = `a`.`absent_relief_id`\nWHERE `a`.`user_id` = \'23\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`status` ASC, `a`.`created_ts` DESC\n LIMIT 5','/salihin-digital/hr/leave','0.0048727989196777','192.168.1.254','2019-06-16 04:07:07'),(54378,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `d`.`title`, `e`.`position` as `position_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`, `m`.`duration` as `contract_term`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__contract_element` `m` ON `m`.`id` = `d`.`contract_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'23\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.019505023956299','192.168.1.254','2019-06-16 04:07:07'),(54379,23,NULL,'others','SELECT `a`.*, `b`.`code`, `b`.`name`, `d`.`name` as `departmentName`\nFROM `hr__leave_allocation` `a`\nJOIN `hr__leave_type` `b` ON `b`.`id` = `a`.`type_id`\nJOIN `user__employment_detail` `c` ON `c`.`user_id` = `a`.`user_id`\nJOIN `company__department` `d` ON `d`.`id` = `c`.`department_id`\nWHERE `a`.`user_id` = \'23\'\nAND `a`.`year` = \'2019\'\nAND `a`.`type_id` = 1\nAND `a`.`is_delete` =0\nORDER BY `a`.`year` DESC, `a`.`type_id` ASC','/salihin-digital/hr/leave','0.0019750595092773','192.168.1.254','2019-06-16 04:07:07'),(54380,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `e`.`parent_id` < 3\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.024376153945923','192.168.1.254','2019-06-16 04:07:07'),(54381,23,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/leave','0.00055384635925293','192.168.1.254','2019-06-16 04:07:07'),(54382,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00088596343994141','192.168.1.254','2019-06-16 04:07:07'),(54383,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00085902214050293','192.168.1.254','2019-06-16 04:07:07'),(54384,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00088787078857422','192.168.1.254','2019-06-16 04:07:07'),(54385,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00091099739074707','192.168.1.254','2019-06-16 04:07:07'),(54386,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/\'\nWHERE id = 1020','leave/index','0.0004119873046875','192.168.1.254','2019-06-16 04:07:07'),(54387,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/hr/leave','0.019288063049316','192.168.1.254','2019-06-16 04:07:33'),(54388,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00040507316589355','192.168.1.254','2019-06-16 04:07:33'),(54389,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave','0.0013229846954346','192.168.1.254','2019-06-16 04:07:33'),(54390,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/hr/leave','0.019082069396973','192.168.1.254','2019-06-16 04:07:33'),(54391,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00039219856262207','192.168.1.254','2019-06-16 04:07:33'),(54392,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave','0.0013539791107178','192.168.1.254','2019-06-16 04:07:33'),(54393,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/hr/leave','0.018756151199341','192.168.1.254','2019-06-16 04:07:33'),(54394,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00040102005004883','192.168.1.254','2019-06-16 04:07:33'),(54395,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave','0.00136399269104','192.168.1.254','2019-06-16 04:07:33'),(54396,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave','0.00059986114501953','192.168.1.254','2019-06-16 04:07:33'),(54397,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave','0.00039505958557129','192.168.1.254','2019-06-16 04:07:33'),(54398,23,NULL,'others','SELECT `a`.*, `b`.`name` as `branch_name`, `c`.`name` as `hod_name`\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`hod_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/leave','0.00066089630126953','192.168.1.254','2019-06-16 04:07:33'),(54399,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `d`.`title`, `e`.`position` as `position_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`, `m`.`duration` as `contract_term`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__contract_element` `m` ON `m`.`id` = `d`.`contract_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.029858112335205','192.168.1.254','2019-06-16 04:07:33'),(54400,23,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`, `c`.`name` as `period_from`, `d`.`name` as `period_to`, `e`.`status` as `leave_status`, `f`.`name` as `leave_type`, `f`.`colour`, `f`.`code`, `g`.`name` as `user_name`, `h`.`file_name`, `h`.`file_location`, `k`.`name` as `relief_person`\nFROM `hr__leave_application` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nJOIN `hr__ref_leave_period` `c` ON `c`.`id` = `a`.`period_from_id`\nJOIN `hr__ref_leave_period` `d` ON `d`.`id` = `a`.`period_to_id`\nJOIN `hr__ref_leave_status` `e` ON `e`.`id` = `a`.`status`\nJOIN `hr__leave_type` `f` ON `f`.`id` = `a`.`type_id`\nJOIN `user` `g` ON `g`.`id` = `a`.`user_id`\nLEFT JOIN `hr__leave_attachment` `h` ON `h`.`application_id` = `a`.`id`\nLEFT JOIN `user__employment_detail` `i` ON `a`.`user_id` = `i`.`user_id`\nLEFT JOIN `company__position` `j` ON `i`.`position_id` = `j`.`id`\nJOIN `user` `k` ON `k`.`id` = `a`.`absent_relief_id`\nWHERE 0 = \'a.status in (1,2)\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`status` ASC, `a`.`created_ts` DESC','/salihin-digital/hr/leave','0.0057840347290039','192.168.1.254','2019-06-16 04:07:33'),(54401,23,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`, `c`.`name` as `period_from`, `d`.`name` as `period_to`, `e`.`status` as `leave_status`, `f`.`name` as `leave_type`, `f`.`colour`, `f`.`code`, `g`.`name` as `user_name`, `h`.`file_name`, `h`.`file_location`, `k`.`name` as `relief_person`\nFROM `hr__leave_application` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nJOIN `hr__ref_leave_period` `c` ON `c`.`id` = `a`.`period_from_id`\nJOIN `hr__ref_leave_period` `d` ON `d`.`id` = `a`.`period_to_id`\nJOIN `hr__ref_leave_status` `e` ON `e`.`id` = `a`.`status`\nJOIN `hr__leave_type` `f` ON `f`.`id` = `a`.`type_id`\nJOIN `user` `g` ON `g`.`id` = `a`.`user_id`\nLEFT JOIN `hr__leave_attachment` `h` ON `h`.`application_id` = `a`.`id`\nLEFT JOIN `user__employment_detail` `i` ON `a`.`user_id` = `i`.`user_id`\nLEFT JOIN `company__position` `j` ON `i`.`position_id` = `j`.`id`\nJOIN `user` `k` ON `k`.`id` = `a`.`absent_relief_id`\nWHERE `a`.`is_delete` =0\nAND 0 = \'a.status in (1,2)\'\nAND `a`.`department_id` IS NULL\nAND   (\n(\'2019-06-16\' BETWEEN `a`.`date_from` AND a.date_to)\nOR (\'2019-06-23\' BETWEEN `a`.`date_from` and a.date_to)\nOR (`a`.`date_from` BETWEEN \'2019-06-16\' AND \'2019-06-23\')\nOR (`a`.`date_to` BETWEEN \'2019-06-16\' AND \'2019-06-23\')\n )','/salihin-digital/hr/leave','0.0019550323486328','192.168.1.254','2019-06-16 04:07:33'),(54402,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `d`.`title`, `e`.`position` as `position_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`, `m`.`duration` as `contract_term`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__contract_element` `m` ON `m`.`id` = `d`.`contract_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'23\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.01946496963501','192.168.1.254','2019-06-16 04:07:33'),(54403,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave','0.00035691261291504','192.168.1.254','2019-06-16 04:07:33'),(54404,23,NULL,'others','SELECT (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019) as leaveTotal, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 1) as leavePending, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 2) as leaveApproved, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 3) as leaveRejected, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 4) as leaveCancelled','/salihin-digital/hr/leave','0.00059914588928223','192.168.1.254','2019-06-16 04:07:33'),(54405,23,NULL,'others','SELECT `a`.*, `b`.`code`, `b`.`name`, `d`.`name` as `departmentName`\nFROM `hr__leave_allocation` `a`\nJOIN `hr__leave_type` `b` ON `b`.`id` = `a`.`type_id`\nJOIN `user__employment_detail` `c` ON `c`.`user_id` = `a`.`user_id`\nJOIN `company__department` `d` ON `d`.`id` = `c`.`department_id`\nWHERE `a`.`user_id` = \'23\'\nAND `a`.`year` = \'2019\'\nAND `a`.`type_id` NOT IN(2, 4)\nAND `a`.`is_delete` =0\nORDER BY `a`.`year` DESC, `a`.`type_id` ASC','/salihin-digital/hr/leave','0.002155065536499','192.168.1.254','2019-06-16 04:07:33'),(54406,23,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`, `c`.`name` as `period_from`, `d`.`name` as `period_to`, `e`.`status` as `leave_status`, `f`.`name` as `leave_type`, `f`.`colour`, `f`.`code`, `g`.`name` as `user_name`, `h`.`file_name`, `h`.`file_location`, `k`.`name` as `relief_person`\nFROM `hr__leave_application` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nJOIN `hr__ref_leave_period` `c` ON `c`.`id` = `a`.`period_from_id`\nJOIN `hr__ref_leave_period` `d` ON `d`.`id` = `a`.`period_to_id`\nJOIN `hr__ref_leave_status` `e` ON `e`.`id` = `a`.`status`\nJOIN `hr__leave_type` `f` ON `f`.`id` = `a`.`type_id`\nJOIN `user` `g` ON `g`.`id` = `a`.`user_id`\nLEFT JOIN `hr__leave_attachment` `h` ON `h`.`application_id` = `a`.`id`\nLEFT JOIN `user__employment_detail` `i` ON `a`.`user_id` = `i`.`user_id`\nLEFT JOIN `company__position` `j` ON `i`.`position_id` = `j`.`id`\nJOIN `user` `k` ON `k`.`id` = `a`.`absent_relief_id`\nWHERE `a`.`user_id` = \'23\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`status` ASC, `a`.`created_ts` DESC\n LIMIT 5','/salihin-digital/hr/leave','0.0094249248504639','192.168.1.254','2019-06-16 04:07:33'),(54407,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `d`.`title`, `e`.`position` as `position_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`, `m`.`duration` as `contract_term`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__contract_element` `m` ON `m`.`id` = `d`.`contract_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'23\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.019356966018677','192.168.1.254','2019-06-16 04:07:33'),(54408,23,NULL,'others','SELECT `a`.*, `b`.`code`, `b`.`name`, `d`.`name` as `departmentName`\nFROM `hr__leave_allocation` `a`\nJOIN `hr__leave_type` `b` ON `b`.`id` = `a`.`type_id`\nJOIN `user__employment_detail` `c` ON `c`.`user_id` = `a`.`user_id`\nJOIN `company__department` `d` ON `d`.`id` = `c`.`department_id`\nWHERE `a`.`user_id` = \'23\'\nAND `a`.`year` = \'2019\'\nAND `a`.`type_id` = 1\nAND `a`.`is_delete` =0\nORDER BY `a`.`year` DESC, `a`.`type_id` ASC','/salihin-digital/hr/leave','0.0020208358764648','192.168.1.254','2019-06-16 04:07:33'),(54409,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `e`.`parent_id` < 3\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.024614810943604','192.168.1.254','2019-06-16 04:07:33'),(54410,23,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/leave','0.0005500316619873','192.168.1.254','2019-06-16 04:07:33'),(54411,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00085997581481934','192.168.1.254','2019-06-16 04:07:33'),(54412,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00084304809570312','192.168.1.254','2019-06-16 04:07:34'),(54413,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00088906288146973','192.168.1.254','2019-06-16 04:07:34'),(54414,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00088095664978027','192.168.1.254','2019-06-16 04:07:34'),(54415,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/\'\nWHERE id = 1020','leave/index','0.00036096572875977','192.168.1.254','2019-06-16 04:07:34'),(54416,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018785953521729','192.168.1.254','2019-06-16 04:08:35'),(54417,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0004420280456543','192.168.1.254','2019-06-16 04:08:35'),(54418,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012588500976562','192.168.1.254','2019-06-16 04:08:35'),(54419,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018748044967651','192.168.1.254','2019-06-16 04:08:35'),(54420,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040698051452637','192.168.1.254','2019-06-16 04:08:35'),(54421,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.001244068145752','192.168.1.254','2019-06-16 04:08:35'),(54422,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018666982650757','192.168.1.254','2019-06-16 04:08:35'),(54423,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00039911270141602','192.168.1.254','2019-06-16 04:08:35'),(54424,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012290477752686','192.168.1.254','2019-06-16 04:08:35'),(54425,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0011718273162842','192.168.1.254','2019-06-16 04:08:35'),(54426,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`position_id`, `e`.`position` as `position_name`, `i`.`position` as `position_category`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`, `m`.`expired_date` as `passport_expired_date`, `m`.`working_expired_date` as `passport_working_expired_date`, `m`.`issue`, `n`.`country` as `issue_country`, `o`.`country` as `citizen`, `p`.`race` as `race`, `q`.`name` as `religion`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__passport` `m` ON `m`.`staff_id` = `a`.`id`\nLEFT JOIN `_ref__country` `n` ON `m`.`issue` = `n`.`id`\nLEFT JOIN `_ref__country` `o` ON `o`.`id` = `a`.`citizen_id`\nLEFT JOIN `_ref__race` `p` ON `p`.`id` = `a`.`race_id`\nLEFT JOIN `_ref__religion` `q` ON `q`.`id` = `a`.`religion_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'3\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019442081451416','192.168.1.254','2019-06-16 04:08:35'),(54427,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034403800964355','192.168.1.254','2019-06-16 04:08:35'),(54428,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033307075500488','192.168.1.254','2019-06-16 04:08:35'),(54429,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032186508178711','192.168.1.254','2019-06-16 04:08:35'),(54430,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029587745666504','192.168.1.254','2019-06-16 04:08:35'),(54431,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043892860412598','192.168.1.254','2019-06-16 04:08:35'),(54432,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035881996154785','192.168.1.254','2019-06-16 04:08:35'),(54433,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0004119873046875','192.168.1.254','2019-06-16 04:08:35'),(54434,128,NULL,'others','SELECT `a`.*, `b`.`file_name`, `b`.`file_location`\nFROM `company` `a`\nLEFT JOIN `company__logo` `b` ON `b`.`id` = `a`.`main_logo_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00054597854614258','192.168.1.254','2019-06-16 04:08:35'),(54435,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00039792060852051','192.168.1.254','2019-06-16 04:08:35'),(54436,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `d`.`position_id` < 13\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.027884960174561','192.168.1.254','2019-06-16 04:08:35'),(54437,128,NULL,'others','SELECT `a`.*, `b`.`name` as `company_name`\nFROM `company__branch` `a`\nJOIN `company` `b` ON `b`.`id` = `a`.`company_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0055339336395264','192.168.1.254','2019-06-16 04:08:35'),(54438,128,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`\nFROM `company__division` `a`\nLEFT JOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00047993659973145','192.168.1.254','2019-06-16 04:08:35'),(54439,128,NULL,'others','SELECT `a`.*, `b`.`name` as `branch_name`, `c`.`name` as `hod_name`\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`hod_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00061202049255371','192.168.1.254','2019-06-16 04:08:35'),(54440,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033688545227051','192.168.1.254','2019-06-16 04:08:35'),(54441,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034403800964355','192.168.1.254','2019-06-16 04:08:35'),(54442,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031280517578125','192.168.1.254','2019-06-16 04:08:35'),(54443,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033187866210938','192.168.1.254','2019-06-16 04:08:35'),(54444,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033307075500488','192.168.1.254','2019-06-16 04:08:35'),(54445,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00038599967956543','192.168.1.254','2019-06-16 04:08:35'),(54446,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0056800842285156','192.168.1.254','2019-06-16 04:08:35'),(54447,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0033590793609619','192.168.1.254','2019-06-16 04:08:35'),(54448,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043988227844238','192.168.1.254','2019-06-16 04:08:35'),(54449,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030207633972168','192.168.1.254','2019-06-16 04:08:35'),(54450,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031495094299316','192.168.1.254','2019-06-16 04:08:35'),(54451,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031304359436035','192.168.1.254','2019-06-16 04:08:35'),(54452,128,NULL,'others','SELECT `a`.*, `b`.`country` as `country_issue`\nFROM `user__profiling` `a`\nLEFT JOIN `_ref__country` `b` ON `b`.`id` = `a`.`place_issue`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nORDER BY `a`.`action_efective_date` DESC, `a`.`id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00052690505981445','192.168.1.254','2019-06-16 04:08:35'),(54453,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035786628723145','192.168.1.254','2019-06-16 04:08:35'),(54454,128,NULL,'others','SELECT `a`.`id`\nFROM `user__profiling` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`action_efective_date` DESC, `id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033402442932129','192.168.1.254','2019-06-16 04:08:35'),(54455,128,NULL,'others','SELECT `a`.*, `b`.`relations`, `c`.`level` as `level_academic`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__family_member` `a`\nJOIN `_ref__relationship` `b` ON `b`.`id` = `a`.`relation`\nLEFT JOIN `_ref__academic` `c` ON `c`.`id` = `a`.`academic_lavel`\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__family_member` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00054597854614258','192.168.1.254','2019-06-16 04:08:35'),(54456,128,NULL,'others','SELECT `a`.*, `b`.`level` as `academic_level`, `c`.`id` as `attachment_id`, `c`.`attachment_name`, `c`.`location`, `c`.`file_type`, `c`.`file_ext`, `c`.`mask_id`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__academic_qualification` `a`\nJOIN `_ref__academic` `b` ON `b`.`id` = `a`.`level_id`\nLEFT OUTER JOIN `user__academic_qualification_attachment` `c` ON `c`.`academic_qualification_id` = `a`.`id` and `c`.`is_delete` = 0\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__academic_qualification` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00059604644775391','192.168.1.254','2019-06-16 04:08:35'),(54457,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__personal_attachment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__personal_attachment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046682357788086','192.168.1.254','2019-06-16 04:08:35'),(54458,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__employment_history` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__employment_history` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\') ','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00052595138549805','192.168.1.254','2019-06-16 04:08:35'),(54459,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__profesional_membership` `a`\nLEFT JOIN `user__profesional_membership_attachment` `b` ON `b`.`professional_membership_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__profesional_membership` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00059700012207031','192.168.1.254','2019-06-16 04:08:36'),(54460,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__license` `a`\nLEFT JOIN `user__license_attachment` `b` ON `b`.`license_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__license` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00059700012207031','192.168.1.254','2019-06-16 04:08:36'),(54461,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__recognition` `a`\nLEFT JOIN `user__recognition_attachment` `b` ON `b`.`recognition_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recognition` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0005650520324707','192.168.1.254','2019-06-16 04:08:36'),(54462,128,NULL,'others','SELECT `a`.*, `b`.`name`, `c`.`action_efective_date`, `d`.`type` as `action_type`, `e`.`id` as `attachment_id`, `e`.`attachment_name`, `e`.`location`, `e`.`file_type`, `e`.`file_ext`, `e`.`mask_id`\nFROM `user__bank_detail` `a`\nJOIN `_ref__bank` `b` ON `b`.`id` = `a`.`bank_id`\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nLEFT JOIN `user__bank_detail_attachment` `e` ON `e`.`bank_detail_id` = `a`.`id` and `e`.`is_delete` = 0\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__bank_detail` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00061702728271484','192.168.1.254','2019-06-16 04:08:36'),(54463,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__third_party_payment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__third_party_payment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00051999092102051','192.168.1.254','2019-06-16 04:08:36'),(54464,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` =0\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00049304962158203','192.168.1.254','2019-06-16 04:08:36'),(54465,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` = 1\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00050210952758789','192.168.1.254','2019-06-16 04:08:36'),(54466,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00052690505981445','192.168.1.254','2019-06-16 04:08:36'),(54467,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00088310241699219','192.168.1.254','2019-06-16 04:08:36'),(54468,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00085711479187012','192.168.1.254','2019-06-16 04:08:36'),(54469,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00083208084106445','192.168.1.254','2019-06-16 04:08:36'),(54470,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00083208084106445','192.168.1.254','2019-06-16 04:08:36'),(54471,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 1019','StaffProfile/new_action_type','0.00041508674621582','192.168.1.254','2019-06-16 04:08:36'),(54472,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019056081771851','192.168.1.254','2019-06-16 04:11:22'),(54473,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041103363037109','192.168.1.254','2019-06-16 04:11:22'),(54474,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012350082397461','192.168.1.254','2019-06-16 04:11:22'),(54475,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019071102142334','192.168.1.254','2019-06-16 04:11:22'),(54476,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040698051452637','192.168.1.254','2019-06-16 04:11:22'),(54477,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012590885162354','192.168.1.254','2019-06-16 04:11:22'),(54478,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019202947616577','192.168.1.254','2019-06-16 04:11:22'),(54479,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036215782165527','192.168.1.254','2019-06-16 04:11:22'),(54480,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0011789798736572','192.168.1.254','2019-06-16 04:11:22'),(54481,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012040138244629','192.168.1.254','2019-06-16 04:11:22'),(54482,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`position_id`, `e`.`position` as `position_name`, `i`.`position` as `position_category`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`, `m`.`expired_date` as `passport_expired_date`, `m`.`working_expired_date` as `passport_working_expired_date`, `m`.`issue`, `n`.`country` as `issue_country`, `o`.`country` as `citizen`, `p`.`race` as `race`, `q`.`name` as `religion`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__passport` `m` ON `m`.`staff_id` = `a`.`id`\nLEFT JOIN `_ref__country` `n` ON `m`.`issue` = `n`.`id`\nLEFT JOIN `_ref__country` `o` ON `o`.`id` = `a`.`citizen_id`\nLEFT JOIN `_ref__race` `p` ON `p`.`id` = `a`.`race_id`\nLEFT JOIN `_ref__religion` `q` ON `q`.`id` = `a`.`religion_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'3\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019568920135498','192.168.1.254','2019-06-16 04:11:22'),(54483,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034594535827637','192.168.1.254','2019-06-16 04:11:22'),(54484,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032806396484375','192.168.1.254','2019-06-16 04:11:22'),(54485,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003359317779541','192.168.1.254','2019-06-16 04:11:23'),(54486,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003349781036377','192.168.1.254','2019-06-16 04:11:23'),(54487,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00048518180847168','192.168.1.254','2019-06-16 04:11:23'),(54488,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040888786315918','192.168.1.254','2019-06-16 04:11:23'),(54489,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00044989585876465','192.168.1.254','2019-06-16 04:11:23'),(54490,128,NULL,'others','SELECT `a`.*, `b`.`file_name`, `b`.`file_location`\nFROM `company` `a`\nLEFT JOIN `company__logo` `b` ON `b`.`id` = `a`.`main_logo_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00058889389038086','192.168.1.254','2019-06-16 04:11:23'),(54491,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043511390686035','192.168.1.254','2019-06-16 04:11:23'),(54492,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `d`.`position_id` < 13\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.020947933197021','192.168.1.254','2019-06-16 04:11:23'),(54493,128,NULL,'others','SELECT `a`.*, `b`.`name` as `company_name`\nFROM `company__branch` `a`\nJOIN `company` `b` ON `b`.`id` = `a`.`company_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0032460689544678','192.168.1.254','2019-06-16 04:11:23'),(54494,128,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`\nFROM `company__division` `a`\nLEFT JOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041294097900391','192.168.1.254','2019-06-16 04:11:23'),(54495,128,NULL,'others','SELECT `a`.*, `b`.`name` as `branch_name`, `c`.`name` as `hod_name`\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`hod_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00054287910461426','192.168.1.254','2019-06-16 04:11:23'),(54496,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030612945556641','192.168.1.254','2019-06-16 04:11:23'),(54497,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030994415283203','192.168.1.254','2019-06-16 04:11:23'),(54498,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030398368835449','192.168.1.254','2019-06-16 04:11:23'),(54499,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030303001403809','192.168.1.254','2019-06-16 04:11:23'),(54500,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030112266540527','192.168.1.254','2019-06-16 04:11:23'),(54501,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00038790702819824','192.168.1.254','2019-06-16 04:11:23'),(54502,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0050029754638672','192.168.1.254','2019-06-16 04:11:23'),(54503,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0029652118682861','192.168.1.254','2019-06-16 04:11:23'),(54504,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041794776916504','192.168.1.254','2019-06-16 04:11:23'),(54505,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030612945556641','192.168.1.254','2019-06-16 04:11:23'),(54506,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031113624572754','192.168.1.254','2019-06-16 04:11:23'),(54507,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032687187194824','192.168.1.254','2019-06-16 04:11:23'),(54508,128,NULL,'others','SELECT `a`.*, `b`.`country` as `country_issue`\nFROM `user__profiling` `a`\nLEFT JOIN `_ref__country` `b` ON `b`.`id` = `a`.`place_issue`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nORDER BY `a`.`action_efective_date` DESC, `a`.`id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00051999092102051','192.168.1.254','2019-06-16 04:11:23'),(54509,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00037598609924316','192.168.1.254','2019-06-16 04:11:23'),(54510,128,NULL,'others','SELECT `a`.`id`\nFROM `user__profiling` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`action_efective_date` DESC, `id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00037908554077148','192.168.1.254','2019-06-16 04:11:23'),(54511,128,NULL,'others','SELECT `a`.*, `b`.`relations`, `c`.`level` as `level_academic`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__family_member` `a`\nJOIN `_ref__relationship` `b` ON `b`.`id` = `a`.`relation`\nLEFT JOIN `_ref__academic` `c` ON `c`.`id` = `a`.`academic_lavel`\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__family_member` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00052595138549805','192.168.1.254','2019-06-16 04:11:23'),(54512,128,NULL,'others','SELECT `a`.*, `b`.`level` as `academic_level`, `c`.`id` as `attachment_id`, `c`.`attachment_name`, `c`.`location`, `c`.`file_type`, `c`.`file_ext`, `c`.`mask_id`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__academic_qualification` `a`\nJOIN `_ref__academic` `b` ON `b`.`id` = `a`.`level_id`\nLEFT OUTER JOIN `user__academic_qualification_attachment` `c` ON `c`.`academic_qualification_id` = `a`.`id` and `c`.`is_delete` = 0\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__academic_qualification` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00056290626525879','192.168.1.254','2019-06-16 04:11:23'),(54513,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__personal_attachment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__personal_attachment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045204162597656','192.168.1.254','2019-06-16 04:11:23'),(54514,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__employment_history` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__employment_history` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\') ','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046205520629883','192.168.1.254','2019-06-16 04:11:23'),(54515,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__profesional_membership` `a`\nLEFT JOIN `user__profesional_membership_attachment` `b` ON `b`.`professional_membership_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__profesional_membership` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00054311752319336','192.168.1.254','2019-06-16 04:11:23'),(54516,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__license` `a`\nLEFT JOIN `user__license_attachment` `b` ON `b`.`license_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__license` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046706199645996','192.168.1.254','2019-06-16 04:11:23'),(54517,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__recognition` `a`\nLEFT JOIN `user__recognition_attachment` `b` ON `b`.`recognition_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recognition` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043296813964844','192.168.1.254','2019-06-16 04:11:23'),(54518,128,NULL,'others','SELECT `a`.*, `b`.`name`, `c`.`action_efective_date`, `d`.`type` as `action_type`, `e`.`id` as `attachment_id`, `e`.`attachment_name`, `e`.`location`, `e`.`file_type`, `e`.`file_ext`, `e`.`mask_id`\nFROM `user__bank_detail` `a`\nJOIN `_ref__bank` `b` ON `b`.`id` = `a`.`bank_id`\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nLEFT JOIN `user__bank_detail_attachment` `e` ON `e`.`bank_detail_id` = `a`.`id` and `e`.`is_delete` = 0\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__bank_detail` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046515464782715','192.168.1.254','2019-06-16 04:11:23'),(54519,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__third_party_payment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__third_party_payment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00037813186645508','192.168.1.254','2019-06-16 04:11:23'),(54520,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` =0\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00037002563476562','192.168.1.254','2019-06-16 04:11:23'),(54521,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` = 1\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003659725189209','192.168.1.254','2019-06-16 04:11:23'),(54522,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00037908554077148','192.168.1.254','2019-06-16 04:11:23'),(54523,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00067019462585449','192.168.1.254','2019-06-16 04:11:23'),(54524,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00064802169799805','192.168.1.254','2019-06-16 04:11:23'),(54525,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00064301490783691','192.168.1.254','2019-06-16 04:11:23'),(54526,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.000640869140625','192.168.1.254','2019-06-16 04:11:23'),(54527,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 1019','StaffProfile/new_action_type','0.00044703483581543','192.168.1.254','2019-06-16 04:11:23'),(54528,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018795967102051','192.168.1.254','2019-06-16 04:14:25'),(54529,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040602684020996','192.168.1.254','2019-06-16 04:14:25'),(54530,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012321472167969','192.168.1.254','2019-06-16 04:14:25'),(54531,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018985033035278','192.168.1.254','2019-06-16 04:14:25'),(54532,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041294097900391','192.168.1.254','2019-06-16 04:14:25'),(54533,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012438297271729','192.168.1.254','2019-06-16 04:14:25'),(54534,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018913984298706','192.168.1.254','2019-06-16 04:14:25'),(54535,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040197372436523','192.168.1.254','2019-06-16 04:14:25'),(54536,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012321472167969','192.168.1.254','2019-06-16 04:14:25'),(54537,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.001121997833252','192.168.1.254','2019-06-16 04:14:25'),(54538,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`position_id`, `e`.`position` as `position_name`, `i`.`position` as `position_category`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`, `m`.`expired_date` as `passport_expired_date`, `m`.`working_expired_date` as `passport_working_expired_date`, `m`.`issue`, `n`.`country` as `issue_country`, `o`.`country` as `citizen`, `p`.`race` as `race`, `q`.`name` as `religion`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__passport` `m` ON `m`.`staff_id` = `a`.`id`\nLEFT JOIN `_ref__country` `n` ON `m`.`issue` = `n`.`id`\nLEFT JOIN `_ref__country` `o` ON `o`.`id` = `a`.`citizen_id`\nLEFT JOIN `_ref__race` `p` ON `p`.`id` = `a`.`race_id`\nLEFT JOIN `_ref__religion` `q` ON `q`.`id` = `a`.`religion_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'3\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019512176513672','192.168.1.254','2019-06-16 04:14:25'),(54539,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036001205444336','192.168.1.254','2019-06-16 04:14:25'),(54540,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030994415283203','192.168.1.254','2019-06-16 04:14:25'),(54541,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028705596923828','192.168.1.254','2019-06-16 04:14:25'),(54542,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00027799606323242','192.168.1.254','2019-06-16 04:14:25'),(54543,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00042200088500977','192.168.1.254','2019-06-16 04:14:25'),(54544,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031685829162598','192.168.1.254','2019-06-16 04:14:25'),(54545,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003509521484375','192.168.1.254','2019-06-16 04:14:25'),(54546,128,NULL,'others','SELECT `a`.*, `b`.`file_name`, `b`.`file_location`\nFROM `company` `a`\nLEFT JOIN `company__logo` `b` ON `b`.`id` = `a`.`main_logo_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00049495697021484','192.168.1.254','2019-06-16 04:14:25'),(54547,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032901763916016','192.168.1.254','2019-06-16 04:14:25'),(54548,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `d`.`position_id` < 13\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.023727893829346','192.168.1.254','2019-06-16 04:14:25'),(54549,128,NULL,'others','SELECT `a`.*, `b`.`name` as `company_name`\nFROM `company__branch` `a`\nJOIN `company` `b` ON `b`.`id` = `a`.`company_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.007742166519165','192.168.1.254','2019-06-16 04:14:25'),(54550,128,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`\nFROM `company__division` `a`\nLEFT JOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00044989585876465','192.168.1.254','2019-06-16 04:14:25'),(54551,128,NULL,'others','SELECT `a`.*, `b`.`name` as `branch_name`, `c`.`name` as `hod_name`\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`hod_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00056099891662598','192.168.1.254','2019-06-16 04:14:25'),(54552,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029397010803223','192.168.1.254','2019-06-16 04:14:25'),(54553,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030708312988281','192.168.1.254','2019-06-16 04:14:25'),(54554,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00025391578674316','192.168.1.254','2019-06-16 04:14:25'),(54555,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00023007392883301','192.168.1.254','2019-06-16 04:14:26'),(54556,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00024795532226562','192.168.1.254','2019-06-16 04:14:26'),(54557,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034093856811523','192.168.1.254','2019-06-16 04:14:26'),(54558,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0055389404296875','192.168.1.254','2019-06-16 04:14:26'),(54559,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0032279491424561','192.168.1.254','2019-06-16 04:14:26'),(54560,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00039911270141602','192.168.1.254','2019-06-16 04:14:26'),(54561,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00024890899658203','192.168.1.254','2019-06-16 04:14:26'),(54562,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00024604797363281','192.168.1.254','2019-06-16 04:14:26'),(54563,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029993057250977','192.168.1.254','2019-06-16 04:14:26'),(54564,128,NULL,'others','SELECT `a`.*, `b`.`country` as `country_issue`\nFROM `user__profiling` `a`\nLEFT JOIN `_ref__country` `b` ON `b`.`id` = `a`.`place_issue`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nORDER BY `a`.`action_efective_date` DESC, `a`.`id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00052094459533691','192.168.1.254','2019-06-16 04:14:26'),(54565,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033807754516602','192.168.1.254','2019-06-16 04:14:26'),(54566,128,NULL,'others','SELECT `a`.`id`\nFROM `user__profiling` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`action_efective_date` DESC, `id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003361701965332','192.168.1.254','2019-06-16 04:14:26'),(54567,128,NULL,'others','SELECT `a`.*, `b`.`relations`, `c`.`level` as `level_academic`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__family_member` `a`\nJOIN `_ref__relationship` `b` ON `b`.`id` = `a`.`relation`\nLEFT JOIN `_ref__academic` `c` ON `c`.`id` = `a`.`academic_lavel`\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__family_member` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00053596496582031','192.168.1.254','2019-06-16 04:14:26'),(54568,128,NULL,'others','SELECT `a`.*, `b`.`level` as `academic_level`, `c`.`id` as `attachment_id`, `c`.`attachment_name`, `c`.`location`, `c`.`file_type`, `c`.`file_ext`, `c`.`mask_id`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__academic_qualification` `a`\nJOIN `_ref__academic` `b` ON `b`.`id` = `a`.`level_id`\nLEFT OUTER JOIN `user__academic_qualification_attachment` `c` ON `c`.`academic_qualification_id` = `a`.`id` and `c`.`is_delete` = 0\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__academic_qualification` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00055408477783203','192.168.1.254','2019-06-16 04:14:26'),(54569,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__personal_attachment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__personal_attachment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041794776916504','192.168.1.254','2019-06-16 04:14:26'),(54570,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__employment_history` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__employment_history` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\') ','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043201446533203','192.168.1.254','2019-06-16 04:14:26'),(54571,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__profesional_membership` `a`\nLEFT JOIN `user__profesional_membership_attachment` `b` ON `b`.`professional_membership_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__profesional_membership` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00055503845214844','192.168.1.254','2019-06-16 04:14:26'),(54572,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__license` `a`\nLEFT JOIN `user__license_attachment` `b` ON `b`.`license_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__license` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00051498413085938','192.168.1.254','2019-06-16 04:14:26'),(54573,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__recognition` `a`\nLEFT JOIN `user__recognition_attachment` `b` ON `b`.`recognition_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recognition` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00051188468933105','192.168.1.254','2019-06-16 04:14:26'),(54574,128,NULL,'others','SELECT `a`.*, `b`.`name`, `c`.`action_efective_date`, `d`.`type` as `action_type`, `e`.`id` as `attachment_id`, `e`.`attachment_name`, `e`.`location`, `e`.`file_type`, `e`.`file_ext`, `e`.`mask_id`\nFROM `user__bank_detail` `a`\nJOIN `_ref__bank` `b` ON `b`.`id` = `a`.`bank_id`\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nLEFT JOIN `user__bank_detail_attachment` `e` ON `e`.`bank_detail_id` = `a`.`id` and `e`.`is_delete` = 0\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__bank_detail` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00057387351989746','192.168.1.254','2019-06-16 04:14:26'),(54575,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__third_party_payment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__third_party_payment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00051093101501465','192.168.1.254','2019-06-16 04:14:26'),(54576,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` =0\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046110153198242','192.168.1.254','2019-06-16 04:14:26'),(54577,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` = 1\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00044798851013184','192.168.1.254','2019-06-16 04:14:26'),(54578,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00049495697021484','192.168.1.254','2019-06-16 04:14:26'),(54579,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00086379051208496','192.168.1.254','2019-06-16 04:14:26'),(54580,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00076508522033691','192.168.1.254','2019-06-16 04:14:26'),(54581,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0007469654083252','192.168.1.254','2019-06-16 04:14:26'),(54582,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00073885917663574','192.168.1.254','2019-06-16 04:14:26'),(54583,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 1019','StaffProfile/new_action_type','0.00044989585876465','192.168.1.254','2019-06-16 04:14:26'),(54584,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019122838973999','192.168.1.254','2019-06-16 04:16:21'),(54585,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041103363037109','192.168.1.254','2019-06-16 04:16:21'),(54586,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012390613555908','192.168.1.254','2019-06-16 04:16:21'),(54587,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019047975540161','192.168.1.254','2019-06-16 04:16:21'),(54588,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040388107299805','192.168.1.254','2019-06-16 04:16:21'),(54589,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012290477752686','192.168.1.254','2019-06-16 04:16:21'),(54590,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018911838531494','192.168.1.254','2019-06-16 04:16:21'),(54591,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040102005004883','192.168.1.254','2019-06-16 04:16:22'),(54592,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012400150299072','192.168.1.254','2019-06-16 04:16:22'),(54593,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0011730194091797','192.168.1.254','2019-06-16 04:16:22'),(54594,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`position_id`, `e`.`position` as `position_name`, `i`.`position` as `position_category`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`, `m`.`expired_date` as `passport_expired_date`, `m`.`working_expired_date` as `passport_working_expired_date`, `m`.`issue`, `n`.`country` as `issue_country`, `o`.`country` as `citizen`, `p`.`race` as `race`, `q`.`name` as `religion`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__passport` `m` ON `m`.`staff_id` = `a`.`id`\nLEFT JOIN `_ref__country` `n` ON `m`.`issue` = `n`.`id`\nLEFT JOIN `_ref__country` `o` ON `o`.`id` = `a`.`citizen_id`\nLEFT JOIN `_ref__race` `p` ON `p`.`id` = `a`.`race_id`\nLEFT JOIN `_ref__religion` `q` ON `q`.`id` = `a`.`religion_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'3\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019745111465454','192.168.1.254','2019-06-16 04:16:22'),(54595,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030088424682617','192.168.1.254','2019-06-16 04:16:22'),(54596,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029706954956055','192.168.1.254','2019-06-16 04:16:22'),(54597,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028610229492188','192.168.1.254','2019-06-16 04:16:22'),(54598,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028300285339355','192.168.1.254','2019-06-16 04:16:22'),(54599,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0004429817199707','192.168.1.254','2019-06-16 04:16:22'),(54600,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035905838012695','192.168.1.254','2019-06-16 04:16:22'),(54601,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040984153747559','192.168.1.254','2019-06-16 04:16:22'),(54602,128,NULL,'others','SELECT `a`.*, `b`.`file_name`, `b`.`file_location`\nFROM `company` `a`\nLEFT JOIN `company__logo` `b` ON `b`.`id` = `a`.`main_logo_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00054311752319336','192.168.1.254','2019-06-16 04:16:22'),(54603,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00049209594726562','192.168.1.254','2019-06-16 04:16:22'),(54604,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `d`.`position_id` < 13\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.027374982833862','192.168.1.254','2019-06-16 04:16:22'),(54605,128,NULL,'others','SELECT `a`.*, `b`.`name` as `company_name`\nFROM `company__branch` `a`\nJOIN `company` `b` ON `b`.`id` = `a`.`company_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0066699981689453','192.168.1.254','2019-06-16 04:16:22'),(54606,128,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`\nFROM `company__division` `a`\nLEFT JOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00042295455932617','192.168.1.254','2019-06-16 04:16:22'),(54607,128,NULL,'others','SELECT `a`.*, `b`.`name` as `branch_name`, `c`.`name` as `hod_name`\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`hod_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00058484077453613','192.168.1.254','2019-06-16 04:16:22'),(54608,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029301643371582','192.168.1.254','2019-06-16 04:16:22'),(54609,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029897689819336','192.168.1.254','2019-06-16 04:16:22'),(54610,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029206275939941','192.168.1.254','2019-06-16 04:16:22'),(54611,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00027298927307129','192.168.1.254','2019-06-16 04:16:22'),(54612,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00026202201843262','192.168.1.254','2019-06-16 04:16:22'),(54613,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036001205444336','192.168.1.254','2019-06-16 04:16:22'),(54614,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0056641101837158','192.168.1.254','2019-06-16 04:16:22'),(54615,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0032858848571777','192.168.1.254','2019-06-16 04:16:22'),(54616,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0004279613494873','192.168.1.254','2019-06-16 04:16:22'),(54617,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029706954956055','192.168.1.254','2019-06-16 04:16:22'),(54618,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029706954956055','192.168.1.254','2019-06-16 04:16:22'),(54619,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032901763916016','192.168.1.254','2019-06-16 04:16:22'),(54620,128,NULL,'others','SELECT `a`.*, `b`.`country` as `country_issue`\nFROM `user__profiling` `a`\nLEFT JOIN `_ref__country` `b` ON `b`.`id` = `a`.`place_issue`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nORDER BY `a`.`action_efective_date` DESC, `a`.`id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00053095817565918','192.168.1.254','2019-06-16 04:16:22'),(54621,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003960132598877','192.168.1.254','2019-06-16 04:16:22'),(54622,128,NULL,'others','SELECT `a`.`id`\nFROM `user__profiling` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`action_efective_date` DESC, `id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035405158996582','192.168.1.254','2019-06-16 04:16:22'),(54623,128,NULL,'others','SELECT `a`.*, `b`.`relations`, `c`.`level` as `level_academic`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__family_member` `a`\nJOIN `_ref__relationship` `b` ON `b`.`id` = `a`.`relation`\nLEFT JOIN `_ref__academic` `c` ON `c`.`id` = `a`.`academic_lavel`\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__family_member` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00052285194396973','192.168.1.254','2019-06-16 04:16:22'),(54624,128,NULL,'others','SELECT `a`.*, `b`.`level` as `academic_level`, `c`.`id` as `attachment_id`, `c`.`attachment_name`, `c`.`location`, `c`.`file_type`, `c`.`file_ext`, `c`.`mask_id`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__academic_qualification` `a`\nJOIN `_ref__academic` `b` ON `b`.`id` = `a`.`level_id`\nLEFT OUTER JOIN `user__academic_qualification_attachment` `c` ON `c`.`academic_qualification_id` = `a`.`id` and `c`.`is_delete` = 0\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__academic_qualification` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00058507919311523','192.168.1.254','2019-06-16 04:16:22'),(54625,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__personal_attachment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__personal_attachment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043106079101562','192.168.1.254','2019-06-16 04:16:22'),(54626,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__employment_history` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__employment_history` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\') ','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045394897460938','192.168.1.254','2019-06-16 04:16:22'),(54627,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__profesional_membership` `a`\nLEFT JOIN `user__profesional_membership_attachment` `b` ON `b`.`professional_membership_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__profesional_membership` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00053906440734863','192.168.1.254','2019-06-16 04:16:22'),(54628,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__license` `a`\nLEFT JOIN `user__license_attachment` `b` ON `b`.`license_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__license` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00052881240844727','192.168.1.254','2019-06-16 04:16:22'),(54629,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__recognition` `a`\nLEFT JOIN `user__recognition_attachment` `b` ON `b`.`recognition_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recognition` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00052094459533691','192.168.1.254','2019-06-16 04:16:22'),(54630,128,NULL,'others','SELECT `a`.*, `b`.`name`, `c`.`action_efective_date`, `d`.`type` as `action_type`, `e`.`id` as `attachment_id`, `e`.`attachment_name`, `e`.`location`, `e`.`file_type`, `e`.`file_ext`, `e`.`mask_id`\nFROM `user__bank_detail` `a`\nJOIN `_ref__bank` `b` ON `b`.`id` = `a`.`bank_id`\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nLEFT JOIN `user__bank_detail_attachment` `e` ON `e`.`bank_detail_id` = `a`.`id` and `e`.`is_delete` = 0\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__bank_detail` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00064706802368164','192.168.1.254','2019-06-16 04:16:22'),(54631,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__third_party_payment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__third_party_payment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00051283836364746','192.168.1.254','2019-06-16 04:16:22'),(54632,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` =0\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045204162597656','192.168.1.254','2019-06-16 04:16:22'),(54633,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` = 1\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043797492980957','192.168.1.254','2019-06-16 04:16:22'),(54634,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046682357788086','192.168.1.254','2019-06-16 04:16:22'),(54635,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00085186958312988','192.168.1.254','2019-06-16 04:16:22'),(54636,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00077700614929199','192.168.1.254','2019-06-16 04:16:22'),(54637,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00074601173400879','192.168.1.254','2019-06-16 04:16:22'),(54638,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0007479190826416','192.168.1.254','2019-06-16 04:16:22'),(54639,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 1019','StaffProfile/new_action_type','0.00040006637573242','192.168.1.254','2019-06-16 04:16:22'),(54640,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/hr/leave','0.019203186035156','192.168.1.254','2019-06-16 04:16:32'),(54641,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00041079521179199','192.168.1.254','2019-06-16 04:16:32'),(54642,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave','0.0013577938079834','192.168.1.254','2019-06-16 04:16:32'),(54643,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/hr/leave','0.0189528465271','192.168.1.254','2019-06-16 04:16:32'),(54644,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.0004420280456543','192.168.1.254','2019-06-16 04:16:32'),(54645,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave','0.0013840198516846','192.168.1.254','2019-06-16 04:16:32'),(54646,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/hr/leave','0.018771171569824','192.168.1.254','2019-06-16 04:16:32'),(54647,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00040316581726074','192.168.1.254','2019-06-16 04:16:32'),(54648,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave','0.0013978481292725','192.168.1.254','2019-06-16 04:16:32'),(54649,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave','0.0006101131439209','192.168.1.254','2019-06-16 04:16:32'),(54650,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave','0.00036311149597168','192.168.1.254','2019-06-16 04:16:32'),(54651,23,NULL,'others','SELECT `a`.*, `b`.`name` as `branch_name`, `c`.`name` as `hod_name`\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`hod_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/leave','0.00065994262695312','192.168.1.254','2019-06-16 04:16:32'),(54652,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `d`.`title`, `e`.`position` as `position_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`, `m`.`duration` as `contract_term`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__contract_element` `m` ON `m`.`id` = `d`.`contract_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.02885103225708','192.168.1.254','2019-06-16 04:16:32'),(54653,23,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`, `c`.`name` as `period_from`, `d`.`name` as `period_to`, `e`.`status` as `leave_status`, `f`.`name` as `leave_type`, `f`.`colour`, `f`.`code`, `g`.`name` as `user_name`, `h`.`file_name`, `h`.`file_location`, `k`.`name` as `relief_person`\nFROM `hr__leave_application` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nJOIN `hr__ref_leave_period` `c` ON `c`.`id` = `a`.`period_from_id`\nJOIN `hr__ref_leave_period` `d` ON `d`.`id` = `a`.`period_to_id`\nJOIN `hr__ref_leave_status` `e` ON `e`.`id` = `a`.`status`\nJOIN `hr__leave_type` `f` ON `f`.`id` = `a`.`type_id`\nJOIN `user` `g` ON `g`.`id` = `a`.`user_id`\nLEFT JOIN `hr__leave_attachment` `h` ON `h`.`application_id` = `a`.`id`\nLEFT JOIN `user__employment_detail` `i` ON `a`.`user_id` = `i`.`user_id`\nLEFT JOIN `company__position` `j` ON `i`.`position_id` = `j`.`id`\nJOIN `user` `k` ON `k`.`id` = `a`.`absent_relief_id`\nWHERE 0 = \'a.status in (1,2)\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`status` ASC, `a`.`created_ts` DESC','/salihin-digital/hr/leave','0.007194995880127','192.168.1.254','2019-06-16 04:16:32'),(54654,23,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`, `c`.`name` as `period_from`, `d`.`name` as `period_to`, `e`.`status` as `leave_status`, `f`.`name` as `leave_type`, `f`.`colour`, `f`.`code`, `g`.`name` as `user_name`, `h`.`file_name`, `h`.`file_location`, `k`.`name` as `relief_person`\nFROM `hr__leave_application` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nJOIN `hr__ref_leave_period` `c` ON `c`.`id` = `a`.`period_from_id`\nJOIN `hr__ref_leave_period` `d` ON `d`.`id` = `a`.`period_to_id`\nJOIN `hr__ref_leave_status` `e` ON `e`.`id` = `a`.`status`\nJOIN `hr__leave_type` `f` ON `f`.`id` = `a`.`type_id`\nJOIN `user` `g` ON `g`.`id` = `a`.`user_id`\nLEFT JOIN `hr__leave_attachment` `h` ON `h`.`application_id` = `a`.`id`\nLEFT JOIN `user__employment_detail` `i` ON `a`.`user_id` = `i`.`user_id`\nLEFT JOIN `company__position` `j` ON `i`.`position_id` = `j`.`id`\nJOIN `user` `k` ON `k`.`id` = `a`.`absent_relief_id`\nWHERE `a`.`is_delete` =0\nAND 0 = \'a.status in (1,2)\'\nAND `a`.`department_id` IS NULL\nAND   (\n(\'2019-06-16\' BETWEEN `a`.`date_from` AND a.date_to)\nOR (\'2019-06-23\' BETWEEN `a`.`date_from` and a.date_to)\nOR (`a`.`date_from` BETWEEN \'2019-06-16\' AND \'2019-06-23\')\nOR (`a`.`date_to` BETWEEN \'2019-06-16\' AND \'2019-06-23\')\n )','/salihin-digital/hr/leave','0.0029518604278564','192.168.1.254','2019-06-16 04:16:32'),(54655,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `d`.`title`, `e`.`position` as `position_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`, `m`.`duration` as `contract_term`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__contract_element` `m` ON `m`.`id` = `d`.`contract_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'23\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.019420862197876','192.168.1.254','2019-06-16 04:16:32'),(54656,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave','0.00036883354187012','192.168.1.254','2019-06-16 04:16:32'),(54657,23,NULL,'others','SELECT (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019) as leaveTotal, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 1) as leavePending, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 2) as leaveApproved, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 3) as leaveRejected, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 4) as leaveCancelled','/salihin-digital/hr/leave','0.00060510635375977','192.168.1.254','2019-06-16 04:16:32'),(54658,23,NULL,'others','SELECT `a`.*, `b`.`code`, `b`.`name`, `d`.`name` as `departmentName`\nFROM `hr__leave_allocation` `a`\nJOIN `hr__leave_type` `b` ON `b`.`id` = `a`.`type_id`\nJOIN `user__employment_detail` `c` ON `c`.`user_id` = `a`.`user_id`\nJOIN `company__department` `d` ON `d`.`id` = `c`.`department_id`\nWHERE `a`.`user_id` = \'23\'\nAND `a`.`year` = \'2019\'\nAND `a`.`type_id` NOT IN(2, 4)\nAND `a`.`is_delete` =0\nORDER BY `a`.`year` DESC, `a`.`type_id` ASC','/salihin-digital/hr/leave','0.002140998840332','192.168.1.254','2019-06-16 04:16:32'),(54659,23,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`, `c`.`name` as `period_from`, `d`.`name` as `period_to`, `e`.`status` as `leave_status`, `f`.`name` as `leave_type`, `f`.`colour`, `f`.`code`, `g`.`name` as `user_name`, `h`.`file_name`, `h`.`file_location`, `k`.`name` as `relief_person`\nFROM `hr__leave_application` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nJOIN `hr__ref_leave_period` `c` ON `c`.`id` = `a`.`period_from_id`\nJOIN `hr__ref_leave_period` `d` ON `d`.`id` = `a`.`period_to_id`\nJOIN `hr__ref_leave_status` `e` ON `e`.`id` = `a`.`status`\nJOIN `hr__leave_type` `f` ON `f`.`id` = `a`.`type_id`\nJOIN `user` `g` ON `g`.`id` = `a`.`user_id`\nLEFT JOIN `hr__leave_attachment` `h` ON `h`.`application_id` = `a`.`id`\nLEFT JOIN `user__employment_detail` `i` ON `a`.`user_id` = `i`.`user_id`\nLEFT JOIN `company__position` `j` ON `i`.`position_id` = `j`.`id`\nJOIN `user` `k` ON `k`.`id` = `a`.`absent_relief_id`\nWHERE `a`.`user_id` = \'23\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`status` ASC, `a`.`created_ts` DESC\n LIMIT 5','/salihin-digital/hr/leave','0.0086719989776611','192.168.1.254','2019-06-16 04:16:32'),(54660,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `d`.`title`, `e`.`position` as `position_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`, `m`.`duration` as `contract_term`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__contract_element` `m` ON `m`.`id` = `d`.`contract_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'23\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.019241094589233','192.168.1.254','2019-06-16 04:16:32'),(54661,23,NULL,'others','SELECT `a`.*, `b`.`code`, `b`.`name`, `d`.`name` as `departmentName`\nFROM `hr__leave_allocation` `a`\nJOIN `hr__leave_type` `b` ON `b`.`id` = `a`.`type_id`\nJOIN `user__employment_detail` `c` ON `c`.`user_id` = `a`.`user_id`\nJOIN `company__department` `d` ON `d`.`id` = `c`.`department_id`\nWHERE `a`.`user_id` = \'23\'\nAND `a`.`year` = \'2019\'\nAND `a`.`type_id` = 1\nAND `a`.`is_delete` =0\nORDER BY `a`.`year` DESC, `a`.`type_id` ASC','/salihin-digital/hr/leave','0.002032995223999','192.168.1.254','2019-06-16 04:16:33'),(54662,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `e`.`parent_id` < 3\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.026293992996216','192.168.1.254','2019-06-16 04:16:33'),(54663,23,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/leave','0.00057101249694824','192.168.1.254','2019-06-16 04:16:33'),(54664,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00089287757873535','192.168.1.254','2019-06-16 04:16:33'),(54665,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00086688995361328','192.168.1.254','2019-06-16 04:16:33'),(54666,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.0008699893951416','192.168.1.254','2019-06-16 04:16:33'),(54667,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00088286399841309','192.168.1.254','2019-06-16 04:16:33'),(54668,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/\'\nWHERE id = 1020','leave/index','0.00036501884460449','192.168.1.254','2019-06-16 04:16:33'),(54669,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/hr/leave','0.019033193588257','192.168.1.254','2019-06-16 04:17:18'),(54670,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00041413307189941','192.168.1.254','2019-06-16 04:17:18'),(54671,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave','0.0013828277587891','192.168.1.254','2019-06-16 04:17:18'),(54672,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/hr/leave','0.019182920455933','192.168.1.254','2019-06-16 04:17:18'),(54673,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00035500526428223','192.168.1.254','2019-06-16 04:17:18'),(54674,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave','0.001317024230957','192.168.1.254','2019-06-16 04:17:18'),(54675,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/hr/leave','0.019050121307373','192.168.1.254','2019-06-16 04:17:18'),(54676,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00039982795715332','192.168.1.254','2019-06-16 04:17:18'),(54677,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave','0.0013430118560791','192.168.1.254','2019-06-16 04:17:18'),(54678,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave','0.00060296058654785','192.168.1.254','2019-06-16 04:17:18'),(54679,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave','0.00039887428283691','192.168.1.254','2019-06-16 04:17:18'),(54680,23,NULL,'others','SELECT `a`.*, `b`.`name` as `branch_name`, `c`.`name` as `hod_name`\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`hod_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/leave','0.00066399574279785','192.168.1.254','2019-06-16 04:17:18'),(54681,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `d`.`title`, `e`.`position` as `position_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`, `m`.`duration` as `contract_term`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__contract_element` `m` ON `m`.`id` = `d`.`contract_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.029014110565186','192.168.1.254','2019-06-16 04:17:18'),(54682,23,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`, `c`.`name` as `period_from`, `d`.`name` as `period_to`, `e`.`status` as `leave_status`, `f`.`name` as `leave_type`, `f`.`colour`, `f`.`code`, `g`.`name` as `user_name`, `h`.`file_name`, `h`.`file_location`, `k`.`name` as `relief_person`\nFROM `hr__leave_application` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nJOIN `hr__ref_leave_period` `c` ON `c`.`id` = `a`.`period_from_id`\nJOIN `hr__ref_leave_period` `d` ON `d`.`id` = `a`.`period_to_id`\nJOIN `hr__ref_leave_status` `e` ON `e`.`id` = `a`.`status`\nJOIN `hr__leave_type` `f` ON `f`.`id` = `a`.`type_id`\nJOIN `user` `g` ON `g`.`id` = `a`.`user_id`\nLEFT JOIN `hr__leave_attachment` `h` ON `h`.`application_id` = `a`.`id`\nLEFT JOIN `user__employment_detail` `i` ON `a`.`user_id` = `i`.`user_id`\nLEFT JOIN `company__position` `j` ON `i`.`position_id` = `j`.`id`\nJOIN `user` `k` ON `k`.`id` = `a`.`absent_relief_id`\nWHERE 0 = \'a.status in (1,2)\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`status` ASC, `a`.`created_ts` DESC','/salihin-digital/hr/leave','0.0046820640563965','192.168.1.254','2019-06-16 04:17:18'),(54683,23,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`, `c`.`name` as `period_from`, `d`.`name` as `period_to`, `e`.`status` as `leave_status`, `f`.`name` as `leave_type`, `f`.`colour`, `f`.`code`, `g`.`name` as `user_name`, `h`.`file_name`, `h`.`file_location`, `k`.`name` as `relief_person`\nFROM `hr__leave_application` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nJOIN `hr__ref_leave_period` `c` ON `c`.`id` = `a`.`period_from_id`\nJOIN `hr__ref_leave_period` `d` ON `d`.`id` = `a`.`period_to_id`\nJOIN `hr__ref_leave_status` `e` ON `e`.`id` = `a`.`status`\nJOIN `hr__leave_type` `f` ON `f`.`id` = `a`.`type_id`\nJOIN `user` `g` ON `g`.`id` = `a`.`user_id`\nLEFT JOIN `hr__leave_attachment` `h` ON `h`.`application_id` = `a`.`id`\nLEFT JOIN `user__employment_detail` `i` ON `a`.`user_id` = `i`.`user_id`\nLEFT JOIN `company__position` `j` ON `i`.`position_id` = `j`.`id`\nJOIN `user` `k` ON `k`.`id` = `a`.`absent_relief_id`\nWHERE `a`.`is_delete` =0\nAND 0 = \'a.status in (1,2)\'\nAND `a`.`department_id` IS NULL\nAND   (\n(\'2019-06-16\' BETWEEN `a`.`date_from` AND a.date_to)\nOR (\'2019-06-23\' BETWEEN `a`.`date_from` and a.date_to)\nOR (`a`.`date_from` BETWEEN \'2019-06-16\' AND \'2019-06-23\')\nOR (`a`.`date_to` BETWEEN \'2019-06-16\' AND \'2019-06-23\')\n )','/salihin-digital/hr/leave','0.0019659996032715','192.168.1.254','2019-06-16 04:17:18'),(54684,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `d`.`title`, `e`.`position` as `position_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`, `m`.`duration` as `contract_term`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__contract_element` `m` ON `m`.`id` = `d`.`contract_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'23\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.019370079040527','192.168.1.254','2019-06-16 04:17:18'),(54685,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave','0.00035715103149414','192.168.1.254','2019-06-16 04:17:18'),(54686,23,NULL,'others','SELECT (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019) as leaveTotal, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 1) as leavePending, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 2) as leaveApproved, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 3) as leaveRejected, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 4) as leaveCancelled','/salihin-digital/hr/leave','0.00059604644775391','192.168.1.254','2019-06-16 04:17:18'),(54687,23,NULL,'others','SELECT `a`.*, `b`.`code`, `b`.`name`, `d`.`name` as `departmentName`\nFROM `hr__leave_allocation` `a`\nJOIN `hr__leave_type` `b` ON `b`.`id` = `a`.`type_id`\nJOIN `user__employment_detail` `c` ON `c`.`user_id` = `a`.`user_id`\nJOIN `company__department` `d` ON `d`.`id` = `c`.`department_id`\nWHERE `a`.`user_id` = \'23\'\nAND `a`.`year` = \'2019\'\nAND `a`.`type_id` NOT IN(2, 4)\nAND `a`.`is_delete` =0\nORDER BY `a`.`year` DESC, `a`.`type_id` ASC','/salihin-digital/hr/leave','0.0022280216217041','192.168.1.254','2019-06-16 04:17:18'),(54688,23,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`, `c`.`name` as `period_from`, `d`.`name` as `period_to`, `e`.`status` as `leave_status`, `f`.`name` as `leave_type`, `f`.`colour`, `f`.`code`, `g`.`name` as `user_name`, `h`.`file_name`, `h`.`file_location`, `k`.`name` as `relief_person`\nFROM `hr__leave_application` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nJOIN `hr__ref_leave_period` `c` ON `c`.`id` = `a`.`period_from_id`\nJOIN `hr__ref_leave_period` `d` ON `d`.`id` = `a`.`period_to_id`\nJOIN `hr__ref_leave_status` `e` ON `e`.`id` = `a`.`status`\nJOIN `hr__leave_type` `f` ON `f`.`id` = `a`.`type_id`\nJOIN `user` `g` ON `g`.`id` = `a`.`user_id`\nLEFT JOIN `hr__leave_attachment` `h` ON `h`.`application_id` = `a`.`id`\nLEFT JOIN `user__employment_detail` `i` ON `a`.`user_id` = `i`.`user_id`\nLEFT JOIN `company__position` `j` ON `i`.`position_id` = `j`.`id`\nJOIN `user` `k` ON `k`.`id` = `a`.`absent_relief_id`\nWHERE `a`.`user_id` = \'23\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`status` ASC, `a`.`created_ts` DESC\n LIMIT 5','/salihin-digital/hr/leave','0.0048911571502686','192.168.1.254','2019-06-16 04:17:18'),(54689,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `d`.`title`, `e`.`position` as `position_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`, `m`.`duration` as `contract_term`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__contract_element` `m` ON `m`.`id` = `d`.`contract_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'23\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.019504070281982','192.168.1.254','2019-06-16 04:17:18'),(54690,23,NULL,'others','SELECT `a`.*, `b`.`code`, `b`.`name`, `d`.`name` as `departmentName`\nFROM `hr__leave_allocation` `a`\nJOIN `hr__leave_type` `b` ON `b`.`id` = `a`.`type_id`\nJOIN `user__employment_detail` `c` ON `c`.`user_id` = `a`.`user_id`\nJOIN `company__department` `d` ON `d`.`id` = `c`.`department_id`\nWHERE `a`.`user_id` = \'23\'\nAND `a`.`year` = \'2019\'\nAND `a`.`type_id` = 1\nAND `a`.`is_delete` =0\nORDER BY `a`.`year` DESC, `a`.`type_id` ASC','/salihin-digital/hr/leave','0.0019550323486328','192.168.1.254','2019-06-16 04:17:18'),(54691,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `e`.`parent_id` < 3\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.027065992355347','192.168.1.254','2019-06-16 04:17:18'),(54692,23,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/leave','0.00055384635925293','192.168.1.254','2019-06-16 04:17:18'),(54693,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00090193748474121','192.168.1.254','2019-06-16 04:17:18'),(54694,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00086092948913574','192.168.1.254','2019-06-16 04:17:18'),(54695,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00084996223449707','192.168.1.254','2019-06-16 04:17:18'),(54696,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00086188316345215','192.168.1.254','2019-06-16 04:17:18'),(54697,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/\'\nWHERE id = 1020','leave/index','0.00037384033203125','192.168.1.254','2019-06-16 04:17:18'),(54698,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018899202346802','192.168.1.254','2019-06-16 04:17:27'),(54699,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040817260742188','192.168.1.254','2019-06-16 04:17:27'),(54700,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012350082397461','192.168.1.254','2019-06-16 04:17:27'),(54701,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019392013549805','192.168.1.254','2019-06-16 04:17:27'),(54702,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00044107437133789','192.168.1.254','2019-06-16 04:17:27'),(54703,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012788772583008','192.168.1.254','2019-06-16 04:17:27'),(54704,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019384145736694','192.168.1.254','2019-06-16 04:17:27'),(54705,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0004270076751709','192.168.1.254','2019-06-16 04:17:27'),(54706,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0013020038604736','192.168.1.254','2019-06-16 04:17:27'),(54707,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0011320114135742','192.168.1.254','2019-06-16 04:17:27'),(54708,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`position_id`, `e`.`position` as `position_name`, `i`.`position` as `position_category`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`, `m`.`expired_date` as `passport_expired_date`, `m`.`working_expired_date` as `passport_working_expired_date`, `m`.`issue`, `n`.`country` as `issue_country`, `o`.`country` as `citizen`, `p`.`race` as `race`, `q`.`name` as `religion`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__passport` `m` ON `m`.`staff_id` = `a`.`id`\nLEFT JOIN `_ref__country` `n` ON `m`.`issue` = `n`.`id`\nLEFT JOIN `_ref__country` `o` ON `o`.`id` = `a`.`citizen_id`\nLEFT JOIN `_ref__race` `p` ON `p`.`id` = `a`.`race_id`\nLEFT JOIN `_ref__religion` `q` ON `q`.`id` = `a`.`religion_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'3\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.020019054412842','192.168.1.254','2019-06-16 04:17:27'),(54709,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035691261291504','192.168.1.254','2019-06-16 04:17:27'),(54710,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034308433532715','192.168.1.254','2019-06-16 04:17:27'),(54711,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033712387084961','192.168.1.254','2019-06-16 04:17:27'),(54712,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033283233642578','192.168.1.254','2019-06-16 04:17:27'),(54713,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00048685073852539','192.168.1.254','2019-06-16 04:17:27'),(54714,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041794776916504','192.168.1.254','2019-06-16 04:17:27'),(54715,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045299530029297','192.168.1.254','2019-06-16 04:17:28'),(54716,128,NULL,'others','SELECT `a`.*, `b`.`file_name`, `b`.`file_location`\nFROM `company` `a`\nLEFT JOIN `company__logo` `b` ON `b`.`id` = `a`.`main_logo_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00057005882263184','192.168.1.254','2019-06-16 04:17:28'),(54717,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003960132598877','192.168.1.254','2019-06-16 04:17:28'),(54718,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `d`.`position_id` < 13\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.025959014892578','192.168.1.254','2019-06-16 04:17:28'),(54719,128,NULL,'others','SELECT `a`.*, `b`.`name` as `company_name`\nFROM `company__branch` `a`\nJOIN `company` `b` ON `b`.`id` = `a`.`company_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0042870044708252','192.168.1.254','2019-06-16 04:17:28'),(54720,128,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`\nFROM `company__division` `a`\nLEFT JOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00050902366638184','192.168.1.254','2019-06-16 04:17:28'),(54721,128,NULL,'others','SELECT `a`.*, `b`.`name` as `branch_name`, `c`.`name` as `hod_name`\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`hod_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00062918663024902','192.168.1.254','2019-06-16 04:17:28'),(54722,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033903121948242','192.168.1.254','2019-06-16 04:17:28'),(54723,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035595893859863','192.168.1.254','2019-06-16 04:17:28'),(54724,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029802322387695','192.168.1.254','2019-06-16 04:17:28'),(54725,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0002899169921875','192.168.1.254','2019-06-16 04:17:28'),(54726,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028204917907715','192.168.1.254','2019-06-16 04:17:28'),(54727,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00037884712219238','192.168.1.254','2019-06-16 04:17:28'),(54728,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0057129859924316','192.168.1.254','2019-06-16 04:17:28'),(54729,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0032060146331787','192.168.1.254','2019-06-16 04:17:28'),(54730,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045990943908691','192.168.1.254','2019-06-16 04:17:28'),(54731,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032997131347656','192.168.1.254','2019-06-16 04:17:28'),(54732,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031709671020508','192.168.1.254','2019-06-16 04:17:28'),(54733,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031614303588867','192.168.1.254','2019-06-16 04:17:28'),(54734,128,NULL,'others','SELECT `a`.*, `b`.`country` as `country_issue`\nFROM `user__profiling` `a`\nLEFT JOIN `_ref__country` `b` ON `b`.`id` = `a`.`place_issue`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nORDER BY `a`.`action_efective_date` DESC, `a`.`id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00054216384887695','192.168.1.254','2019-06-16 04:17:28'),(54735,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00037598609924316','192.168.1.254','2019-06-16 04:17:28'),(54736,128,NULL,'others','SELECT `a`.`id`\nFROM `user__profiling` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`action_efective_date` DESC, `id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035977363586426','192.168.1.254','2019-06-16 04:17:28'),(54737,128,NULL,'others','SELECT `a`.*, `b`.`relations`, `c`.`level` as `level_academic`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__family_member` `a`\nJOIN `_ref__relationship` `b` ON `b`.`id` = `a`.`relation`\nLEFT JOIN `_ref__academic` `c` ON `c`.`id` = `a`.`academic_lavel`\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__family_member` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00054693222045898','192.168.1.254','2019-06-16 04:17:28'),(54738,128,NULL,'others','SELECT `a`.*, `b`.`level` as `academic_level`, `c`.`id` as `attachment_id`, `c`.`attachment_name`, `c`.`location`, `c`.`file_type`, `c`.`file_ext`, `c`.`mask_id`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__academic_qualification` `a`\nJOIN `_ref__academic` `b` ON `b`.`id` = `a`.`level_id`\nLEFT OUTER JOIN `user__academic_qualification_attachment` `c` ON `c`.`academic_qualification_id` = `a`.`id` and `c`.`is_delete` = 0\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__academic_qualification` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00069308280944824','192.168.1.254','2019-06-16 04:17:28'),(54739,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__personal_attachment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__personal_attachment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043511390686035','192.168.1.254','2019-06-16 04:17:28'),(54740,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__employment_history` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__employment_history` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\') ','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043797492980957','192.168.1.254','2019-06-16 04:17:28'),(54741,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__profesional_membership` `a`\nLEFT JOIN `user__profesional_membership_attachment` `b` ON `b`.`professional_membership_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__profesional_membership` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00062894821166992','192.168.1.254','2019-06-16 04:17:28'),(54742,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__license` `a`\nLEFT JOIN `user__license_attachment` `b` ON `b`.`license_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__license` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00057411193847656','192.168.1.254','2019-06-16 04:17:28'),(54743,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__recognition` `a`\nLEFT JOIN `user__recognition_attachment` `b` ON `b`.`recognition_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recognition` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00052714347839355','192.168.1.254','2019-06-16 04:17:28'),(54744,128,NULL,'others','SELECT `a`.*, `b`.`name`, `c`.`action_efective_date`, `d`.`type` as `action_type`, `e`.`id` as `attachment_id`, `e`.`attachment_name`, `e`.`location`, `e`.`file_type`, `e`.`file_ext`, `e`.`mask_id`\nFROM `user__bank_detail` `a`\nJOIN `_ref__bank` `b` ON `b`.`id` = `a`.`bank_id`\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nLEFT JOIN `user__bank_detail_attachment` `e` ON `e`.`bank_detail_id` = `a`.`id` and `e`.`is_delete` = 0\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__bank_detail` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00056886672973633','192.168.1.254','2019-06-16 04:17:28'),(54745,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__third_party_payment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__third_party_payment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0004580020904541','192.168.1.254','2019-06-16 04:17:28'),(54746,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` =0\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043392181396484','192.168.1.254','2019-06-16 04:17:28'),(54747,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` = 1\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045990943908691','192.168.1.254','2019-06-16 04:17:28'),(54748,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00047993659973145','192.168.1.254','2019-06-16 04:17:28'),(54749,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00088787078857422','192.168.1.254','2019-06-16 04:17:28'),(54750,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0008080005645752','192.168.1.254','2019-06-16 04:17:28'),(54751,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00081276893615723','192.168.1.254','2019-06-16 04:17:28'),(54752,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00077605247497559','192.168.1.254','2019-06-16 04:17:28'),(54753,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 1019','StaffProfile/new_action_type','0.0004119873046875','192.168.1.254','2019-06-16 04:17:28'),(54754,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.018918991088867','192.168.1.254','2019-06-16 04:17:49'),(54755,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.00040388107299805','192.168.1.254','2019-06-16 04:17:49'),(54756,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.0013511180877686','192.168.1.254','2019-06-16 04:17:49'),(54757,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.018797874450684','192.168.1.254','2019-06-16 04:17:49'),(54758,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.00040102005004883','192.168.1.254','2019-06-16 04:17:49'),(54759,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.0013430118560791','192.168.1.254','2019-06-16 04:17:49'),(54760,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.018709182739258','192.168.1.254','2019-06-16 04:17:49'),(54761,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.00040507316589355','192.168.1.254','2019-06-16 04:17:49'),(54762,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.0013570785522461','192.168.1.254','2019-06-16 04:17:49'),(54763,23,NULL,'update','UPDATE `_log__module_session` SET `logout_ts` = \'2019-06-16 12:17:47\'\nWHERE id = 314','/index','0.023300170898438','192.168.1.254','2019-06-16 04:17:50'),(54764,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r/\'\nWHERE id = 1020','/index','0.00041413307189941','192.168.1.254','2019-06-16 04:17:50'),(54765,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/hr/leave/application','0.019151926040649','192.168.1.254','2019-06-16 04:17:52'),(54766,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/application','0.00040483474731445','192.168.1.254','2019-06-16 04:17:52'),(54767,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave/application','0.001349925994873','192.168.1.254','2019-06-16 04:17:52'),(54768,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/hr/leave/application','0.018982887268066','192.168.1.254','2019-06-16 04:17:52'),(54769,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/application','0.00043201446533203','192.168.1.254','2019-06-16 04:17:52'),(54770,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave/application','0.0013630390167236','192.168.1.254','2019-06-16 04:17:52'),(54771,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/hr/leave/application','0.019304037094116','192.168.1.254','2019-06-16 04:17:52'),(54772,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/application','0.00040197372436523','192.168.1.254','2019-06-16 04:17:52'),(54773,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave/application','0.0013618469238281','192.168.1.254','2019-06-16 04:17:52'),(54774,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = 4\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave/application','0.00093817710876465','192.168.1.254','2019-06-16 04:17:52'),(54775,23,NULL,'insert','INSERT INTO `_log__module_session` (`module_id`, `user_session_id`) VALUES (4, 1020)','leave/application','0.014631032943726','192.168.1.254','2019-06-16 04:17:52'),(54776,23,NULL,'others','SELECT `year`\nFROM `hr__leave_entitlement`\nWHERE `is_delete` =0\nGROUP BY `year`\nORDER BY `year` DESC','/salihin-digital/hr/leave/application','0.00050115585327148','192.168.1.254','2019-06-16 04:17:52'),(54777,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `d`.`title`, `e`.`position` as `position_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`, `m`.`duration` as `contract_term`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__contract_element` `m` ON `m`.`id` = `d`.`contract_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'23\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave/application','0.019464015960693','192.168.1.254','2019-06-16 04:17:52'),(54778,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `d`.`department_id` IS NULL\nAND `a`.`id` != \'23\'\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave/application','0.027263164520264','192.168.1.254','2019-06-16 04:17:52'),(54779,23,NULL,'others','SELECT `a`.*, `b`.`code`, `b`.`name`, `d`.`name` as `departmentName`\nFROM `hr__leave_allocation` `a`\nJOIN `hr__leave_type` `b` ON `b`.`id` = `a`.`type_id`\nJOIN `user__employment_detail` `c` ON `c`.`user_id` = `a`.`user_id`\nJOIN `company__department` `d` ON `d`.`id` = `c`.`department_id`\nWHERE `a`.`user_id` = \'23\'\nAND `a`.`year` = \'2019\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`year` DESC, `a`.`type_id` ASC','/salihin-digital/hr/leave/application','0.0025830268859863','192.168.1.254','2019-06-16 04:17:52'),(54780,23,NULL,'others','SELECT `a`.*, `b`.`name` as `type`\nFROM `hr__leave_allocation_request` `a`\nJOIN `hr__leave_type` `b` ON `a`.`type_id` = `b`.`id`\nWHERE `a`.`is_delete` =0\nAND `user_id` = \'23\'\nAND `year` = \'2019\'','/salihin-digital/hr/leave/application','0.00045299530029297','192.168.1.254','2019-06-16 04:17:52'),(54781,23,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`, `c`.`name` as `period_from`, `d`.`name` as `period_to`, `e`.`status` as `leave_status`, `f`.`name` as `leave_type`, `f`.`colour`, `f`.`code`, `g`.`name` as `user_name`, `h`.`file_name`, `h`.`file_location`, `k`.`name` as `relief_person`\nFROM `hr__leave_application` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nJOIN `hr__ref_leave_period` `c` ON `c`.`id` = `a`.`period_from_id`\nJOIN `hr__ref_leave_period` `d` ON `d`.`id` = `a`.`period_to_id`\nJOIN `hr__ref_leave_status` `e` ON `e`.`id` = `a`.`status`\nJOIN `hr__leave_type` `f` ON `f`.`id` = `a`.`type_id`\nJOIN `user` `g` ON `g`.`id` = `a`.`user_id`\nLEFT JOIN `hr__leave_attachment` `h` ON `h`.`application_id` = `a`.`id`\nLEFT JOIN `user__employment_detail` `i` ON `a`.`user_id` = `i`.`user_id`\nLEFT JOIN `company__position` `j` ON `i`.`position_id` = `j`.`id`\nJOIN `user` `k` ON `k`.`id` = `a`.`absent_relief_id`\nWHERE `a`.`user_id` = \'23\'\nAND year(a.date_from) = \'2019\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`status` ASC, `a`.`created_ts` DESC','/salihin-digital/hr/leave/application','0.0071830749511719','192.168.1.254','2019-06-16 04:17:52'),(54782,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave/application','0.00030803680419922','192.168.1.254','2019-06-16 04:17:52'),(54783,23,NULL,'others','SELECT (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019) as leaveTotal, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 1) as leavePending, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 2) as leaveApproved, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 3) as leaveRejected, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 4) as leaveCancelled','/salihin-digital/hr/leave/application','0.00056195259094238','192.168.1.254','2019-06-16 04:17:52'),(54784,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave/application','0.00048589706420898','192.168.1.254','2019-06-16 04:17:52'),(54785,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave/application','0.00032210350036621','192.168.1.254','2019-06-16 04:17:52'),(54786,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `d`.`title`, `e`.`position` as `position_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`, `m`.`duration` as `contract_term`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__contract_element` `m` ON `m`.`id` = `d`.`contract_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'23\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave/application','0.019515991210938','192.168.1.254','2019-06-16 04:17:52'),(54787,23,NULL,'others','SELECT `a`.*, `b`.`code`, `b`.`name`, `d`.`name` as `departmentName`\nFROM `hr__leave_allocation` `a`\nJOIN `hr__leave_type` `b` ON `b`.`id` = `a`.`type_id`\nJOIN `user__employment_detail` `c` ON `c`.`user_id` = `a`.`user_id`\nJOIN `company__department` `d` ON `d`.`id` = `c`.`department_id`\nWHERE `a`.`user_id` = \'23\'\nAND `a`.`year` = \'2019\'\nAND `a`.`type_id` = 1\nAND `a`.`is_delete` =0\nORDER BY `a`.`year` DESC, `a`.`type_id` ASC','/salihin-digital/hr/leave/application','0.0020201206207275','192.168.1.254','2019-06-16 04:17:52'),(54788,23,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/leave/application','0.00054001808166504','192.168.1.254','2019-06-16 04:17:52'),(54789,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave/application','0.00089287757873535','192.168.1.254','2019-06-16 04:17:52'),(54790,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave/application','0.00086021423339844','192.168.1.254','2019-06-16 04:17:52'),(54791,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave/application','0.00090599060058594','192.168.1.254','2019-06-16 04:17:52'),(54792,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave/application','0.00088191032409668','192.168.1.254','2019-06-16 04:17:52'),(54793,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/application/\'\nWHERE id = 1020','leave/application','0.00036907196044922','192.168.1.254','2019-06-16 04:17:53'),(54794,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/','0.019185781478882','192.168.1.254','2019-06-16 04:17:56'),(54795,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/','0.00034904479980469','192.168.1.254','2019-06-16 04:17:56'),(54796,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/','0.0012979507446289','192.168.1.254','2019-06-16 04:17:56'),(54797,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/','0.018771886825562','192.168.1.254','2019-06-16 04:17:56'),(54798,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/','0.00032997131347656','192.168.1.254','2019-06-16 04:17:56'),(54799,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/','0.0012490749359131','192.168.1.254','2019-06-16 04:17:56'),(54800,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/','0.018355131149292','192.168.1.254','2019-06-16 04:17:56'),(54801,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/','0.00040698051452637','192.168.1.254','2019-06-16 04:17:56'),(54802,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/','0.0013270378112793','192.168.1.254','2019-06-16 04:17:56'),(54803,23,NULL,'update','UPDATE `_log__module_session` SET `logout_ts` = \'2019-06-16 12:17:53\'\nWHERE id = 315','web/index','0.017236948013306','192.168.1.254','2019-06-16 04:17:56'),(54804,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'\'\nWHERE id = 1020','web/index','0.00037002563476562','192.168.1.254','2019-06-16 04:17:56'),(54805,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.019098043441772','192.168.1.254','2019-06-16 04:19:05'),(54806,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.00039792060852051','192.168.1.254','2019-06-16 04:19:06'),(54807,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.0013909339904785','192.168.1.254','2019-06-16 04:19:06'),(54808,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.018877983093262','192.168.1.254','2019-06-16 04:19:06'),(54809,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.00040197372436523','192.168.1.254','2019-06-16 04:19:06'),(54810,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.0013530254364014','192.168.1.254','2019-06-16 04:19:06'),(54811,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.018746852874756','192.168.1.254','2019-06-16 04:19:06'),(54812,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.0003809928894043','192.168.1.254','2019-06-16 04:19:06'),(54813,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.001410961151123','192.168.1.254','2019-06-16 04:19:06'),(54814,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r/\'\nWHERE id = 1020','/index','0.00048303604125977','192.168.1.254','2019-06-16 04:19:06'),(54815,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/hr/leave','0.019000053405762','192.168.1.254','2019-06-16 04:19:08'),(54816,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00035786628723145','192.168.1.254','2019-06-16 04:19:08'),(54817,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave','0.0012941360473633','192.168.1.254','2019-06-16 04:19:08'),(54818,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/hr/leave','0.018980979919434','192.168.1.254','2019-06-16 04:19:08'),(54819,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00040411949157715','192.168.1.254','2019-06-16 04:19:08'),(54820,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave','0.0013101100921631','192.168.1.254','2019-06-16 04:19:08'),(54821,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/hr/leave','0.02144193649292','192.168.1.254','2019-06-16 04:19:08'),(54822,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00035691261291504','192.168.1.254','2019-06-16 04:19:08'),(54823,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave','0.0012989044189453','192.168.1.254','2019-06-16 04:19:08'),(54824,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = 4\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00084090232849121','192.168.1.254','2019-06-16 04:19:08'),(54825,23,NULL,'insert','INSERT INTO `_log__module_session` (`module_id`, `user_session_id`) VALUES (4, 1020)','leave/index','0.023622989654541','192.168.1.254','2019-06-16 04:19:08'),(54826,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave','0.00058221817016602','192.168.1.254','2019-06-16 04:19:08'),(54827,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave','0.00033712387084961','192.168.1.254','2019-06-16 04:19:08'),(54828,23,NULL,'others','SELECT `a`.*, `b`.`name` as `branch_name`, `c`.`name` as `hod_name`\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`hod_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/leave','0.0007178783416748','192.168.1.254','2019-06-16 04:19:08'),(54829,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `d`.`title`, `e`.`position` as `position_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`, `m`.`duration` as `contract_term`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__contract_element` `m` ON `m`.`id` = `d`.`contract_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.034759044647217','192.168.1.254','2019-06-16 04:19:08'),(54830,23,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`, `c`.`name` as `period_from`, `d`.`name` as `period_to`, `e`.`status` as `leave_status`, `f`.`name` as `leave_type`, `f`.`colour`, `f`.`code`, `g`.`name` as `user_name`, `h`.`file_name`, `h`.`file_location`, `k`.`name` as `relief_person`\nFROM `hr__leave_application` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nJOIN `hr__ref_leave_period` `c` ON `c`.`id` = `a`.`period_from_id`\nJOIN `hr__ref_leave_period` `d` ON `d`.`id` = `a`.`period_to_id`\nJOIN `hr__ref_leave_status` `e` ON `e`.`id` = `a`.`status`\nJOIN `hr__leave_type` `f` ON `f`.`id` = `a`.`type_id`\nJOIN `user` `g` ON `g`.`id` = `a`.`user_id`\nLEFT JOIN `hr__leave_attachment` `h` ON `h`.`application_id` = `a`.`id`\nLEFT JOIN `user__employment_detail` `i` ON `a`.`user_id` = `i`.`user_id`\nLEFT JOIN `company__position` `j` ON `i`.`position_id` = `j`.`id`\nJOIN `user` `k` ON `k`.`id` = `a`.`absent_relief_id`\nWHERE 0 = \'a.status in (1,2)\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`status` ASC, `a`.`created_ts` DESC','/salihin-digital/hr/leave','0.010068893432617','192.168.1.254','2019-06-16 04:19:09'),(54831,23,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`, `c`.`name` as `period_from`, `d`.`name` as `period_to`, `e`.`status` as `leave_status`, `f`.`name` as `leave_type`, `f`.`colour`, `f`.`code`, `g`.`name` as `user_name`, `h`.`file_name`, `h`.`file_location`, `k`.`name` as `relief_person`\nFROM `hr__leave_application` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nJOIN `hr__ref_leave_period` `c` ON `c`.`id` = `a`.`period_from_id`\nJOIN `hr__ref_leave_period` `d` ON `d`.`id` = `a`.`period_to_id`\nJOIN `hr__ref_leave_status` `e` ON `e`.`id` = `a`.`status`\nJOIN `hr__leave_type` `f` ON `f`.`id` = `a`.`type_id`\nJOIN `user` `g` ON `g`.`id` = `a`.`user_id`\nLEFT JOIN `hr__leave_attachment` `h` ON `h`.`application_id` = `a`.`id`\nLEFT JOIN `user__employment_detail` `i` ON `a`.`user_id` = `i`.`user_id`\nLEFT JOIN `company__position` `j` ON `i`.`position_id` = `j`.`id`\nJOIN `user` `k` ON `k`.`id` = `a`.`absent_relief_id`\nWHERE `a`.`is_delete` =0\nAND 0 = \'a.status in (1,2)\'\nAND `a`.`department_id` IS NULL\nAND   (\n(\'2019-06-16\' BETWEEN `a`.`date_from` AND a.date_to)\nOR (\'2019-06-23\' BETWEEN `a`.`date_from` and a.date_to)\nOR (`a`.`date_from` BETWEEN \'2019-06-16\' AND \'2019-06-23\')\nOR (`a`.`date_to` BETWEEN \'2019-06-16\' AND \'2019-06-23\')\n )','/salihin-digital/hr/leave','0.0021960735321045','192.168.1.254','2019-06-16 04:19:09'),(54832,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `d`.`title`, `e`.`position` as `position_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`, `m`.`duration` as `contract_term`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__contract_element` `m` ON `m`.`id` = `d`.`contract_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'23\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.019028902053833','192.168.1.254','2019-06-16 04:19:09'),(54833,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave','0.00029897689819336','192.168.1.254','2019-06-16 04:19:09'),(54834,23,NULL,'others','SELECT (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019) as leaveTotal, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 1) as leavePending, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 2) as leaveApproved, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 3) as leaveRejected, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 4) as leaveCancelled','/salihin-digital/hr/leave','0.00049996376037598','192.168.1.254','2019-06-16 04:19:09'),(54835,23,NULL,'others','SELECT `a`.*, `b`.`code`, `b`.`name`, `d`.`name` as `departmentName`\nFROM `hr__leave_allocation` `a`\nJOIN `hr__leave_type` `b` ON `b`.`id` = `a`.`type_id`\nJOIN `user__employment_detail` `c` ON `c`.`user_id` = `a`.`user_id`\nJOIN `company__department` `d` ON `d`.`id` = `c`.`department_id`\nWHERE `a`.`user_id` = \'23\'\nAND `a`.`year` = \'2019\'\nAND `a`.`type_id` NOT IN(2, 4)\nAND `a`.`is_delete` =0\nORDER BY `a`.`year` DESC, `a`.`type_id` ASC','/salihin-digital/hr/leave','0.0020608901977539','192.168.1.254','2019-06-16 04:19:09'),(54836,23,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`, `c`.`name` as `period_from`, `d`.`name` as `period_to`, `e`.`status` as `leave_status`, `f`.`name` as `leave_type`, `f`.`colour`, `f`.`code`, `g`.`name` as `user_name`, `h`.`file_name`, `h`.`file_location`, `k`.`name` as `relief_person`\nFROM `hr__leave_application` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nJOIN `hr__ref_leave_period` `c` ON `c`.`id` = `a`.`period_from_id`\nJOIN `hr__ref_leave_period` `d` ON `d`.`id` = `a`.`period_to_id`\nJOIN `hr__ref_leave_status` `e` ON `e`.`id` = `a`.`status`\nJOIN `hr__leave_type` `f` ON `f`.`id` = `a`.`type_id`\nJOIN `user` `g` ON `g`.`id` = `a`.`user_id`\nLEFT JOIN `hr__leave_attachment` `h` ON `h`.`application_id` = `a`.`id`\nLEFT JOIN `user__employment_detail` `i` ON `a`.`user_id` = `i`.`user_id`\nLEFT JOIN `company__position` `j` ON `i`.`position_id` = `j`.`id`\nJOIN `user` `k` ON `k`.`id` = `a`.`absent_relief_id`\nWHERE `a`.`user_id` = \'23\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`status` ASC, `a`.`created_ts` DESC\n LIMIT 5','/salihin-digital/hr/leave','0.0083949565887451','192.168.1.254','2019-06-16 04:19:09'),(54837,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `d`.`title`, `e`.`position` as `position_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`, `m`.`duration` as `contract_term`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__contract_element` `m` ON `m`.`id` = `d`.`contract_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'23\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.018983840942383','192.168.1.254','2019-06-16 04:19:09'),(54838,23,NULL,'others','SELECT `a`.*, `b`.`code`, `b`.`name`, `d`.`name` as `departmentName`\nFROM `hr__leave_allocation` `a`\nJOIN `hr__leave_type` `b` ON `b`.`id` = `a`.`type_id`\nJOIN `user__employment_detail` `c` ON `c`.`user_id` = `a`.`user_id`\nJOIN `company__department` `d` ON `d`.`id` = `c`.`department_id`\nWHERE `a`.`user_id` = \'23\'\nAND `a`.`year` = \'2019\'\nAND `a`.`type_id` = 1\nAND `a`.`is_delete` =0\nORDER BY `a`.`year` DESC, `a`.`type_id` ASC','/salihin-digital/hr/leave','0.0028619766235352','192.168.1.254','2019-06-16 04:19:09'),(54839,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `e`.`parent_id` < 3\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.028014898300171','192.168.1.254','2019-06-16 04:19:09'),(54840,23,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/leave','0.00054407119750977','192.168.1.254','2019-06-16 04:19:09'),(54841,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00090479850769043','192.168.1.254','2019-06-16 04:19:09'),(54842,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.0008690357208252','192.168.1.254','2019-06-16 04:19:09'),(54843,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00084090232849121','192.168.1.254','2019-06-16 04:19:09'),(54844,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00082993507385254','192.168.1.254','2019-06-16 04:19:09'),(54845,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/\'\nWHERE id = 1020','leave/index','0.00036787986755371','192.168.1.254','2019-06-16 04:19:09'),(54846,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019084930419922','192.168.1.254','2019-06-16 04:19:53'),(54847,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041389465332031','192.168.1.254','2019-06-16 04:19:53'),(54848,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012400150299072','192.168.1.254','2019-06-16 04:19:53'),(54849,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018968820571899','192.168.1.254','2019-06-16 04:19:53'),(54850,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040197372436523','192.168.1.254','2019-06-16 04:19:53'),(54851,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012249946594238','192.168.1.254','2019-06-16 04:19:53'),(54852,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018882989883423','192.168.1.254','2019-06-16 04:19:53'),(54853,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00038385391235352','192.168.1.254','2019-06-16 04:19:53'),(54854,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012381076812744','192.168.1.254','2019-06-16 04:19:53'),(54855,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0011410713195801','192.168.1.254','2019-06-16 04:19:53');
