(43223,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.029432058334351','192.168.1.254','2019-06-15 04:22:04'),(43224,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.0034949779510498','192.168.1.254','2019-06-15 04:22:04'),(43225,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.00049781799316406','192.168.1.254','2019-06-15 04:22:04'),(43226,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.0006251335144043','192.168.1.254','2019-06-15 04:22:04'),(43227,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028800964355469','192.168.1.254','2019-06-15 04:22:04'),(43228,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00027990341186523','192.168.1.254','2019-06-15 04:22:04'),(43229,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0002448558807373','192.168.1.254','2019-06-15 04:22:04'),(43230,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00025200843811035','192.168.1.254','2019-06-15 04:22:04'),(43231,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00026893615722656','192.168.1.254','2019-06-15 04:22:04'),(43232,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034403800964355','192.168.1.254','2019-06-15 04:22:04'),(43233,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0059149265289307','192.168.1.254','2019-06-15 04:22:04'),(43234,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0032229423522949','192.168.1.254','2019-06-15 04:22:04'),(43235,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00037217140197754','192.168.1.254','2019-06-15 04:22:04'),(43236,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00026202201843262','192.168.1.254','2019-06-15 04:22:04'),(43237,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00023698806762695','192.168.1.254','2019-06-15 04:22:04'),(43238,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00024986267089844','192.168.1.254','2019-06-15 04:22:04'),(43239,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.00046896934509277','192.168.1.254','2019-06-15 04:22:04'),(43240,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031089782714844','192.168.1.254','2019-06-15 04:22:04'),(43241,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.00035810470581055','192.168.1.254','2019-06-15 04:22:04'),(43242,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.00056791305541992','192.168.1.254','2019-06-15 04:22:04'),(43243,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.00072789192199707','192.168.1.254','2019-06-15 04:22:04'),(43244,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.00042104721069336','192.168.1.254','2019-06-15 04:22:04'),(43245,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.00049209594726562','192.168.1.254','2019-06-15 04:22:04'),(43246,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.00061488151550293','192.168.1.254','2019-06-15 04:22:04'),(43247,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.00049901008605957','192.168.1.254','2019-06-15 04:22:04'),(43248,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.00051593780517578','192.168.1.254','2019-06-15 04:22:04'),(43249,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.00058794021606445','192.168.1.254','2019-06-15 04:22:04'),(43250,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.00043201446533203','192.168.1.254','2019-06-15 04:22:04'),(43251,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.00040698051452637','192.168.1.254','2019-06-15 04:22:04'),(43252,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.00040102005004883','192.168.1.254','2019-06-15 04:22:04'),(43253,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.0004570484161377','192.168.1.254','2019-06-15 04:22:04'),(43254,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.0009000301361084','192.168.1.254','2019-06-15 04:22:04'),(43255,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.00078916549682617','192.168.1.254','2019-06-15 04:22:04'),(43256,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.00080299377441406','192.168.1.254','2019-06-15 04:22:04'),(43257,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.00080299377441406','192.168.1.254','2019-06-15 04:22:04'),(43258,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 995','StaffProfile/new_action_type','0.00040006637573242','192.168.1.254','2019-06-15 04:22:04'),(43259,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.020018100738525','192.168.1.254','2019-06-15 04:22:55'),(43260,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045990943908691','192.168.1.254','2019-06-15 04:22:55'),(43261,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.0012600421905518','192.168.1.254','2019-06-15 04:22:55'),(43262,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.01984715461731','192.168.1.254','2019-06-15 04:22:55'),(43263,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036311149597168','192.168.1.254','2019-06-15 04:22:55'),(43264,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.0011970996856689','192.168.1.254','2019-06-15 04:22:55'),(43265,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.019319772720337','192.168.1.254','2019-06-15 04:22:55'),(43266,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00037813186645508','192.168.1.254','2019-06-15 04:22:55'),(43267,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-15 04:22:55'),(43268,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0011000633239746','192.168.1.254','2019-06-15 04:22:55'),(43269,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.020385980606079','192.168.1.254','2019-06-15 04:22:55'),(43270,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035786628723145','192.168.1.254','2019-06-15 04:22:55'),(43271,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032591819763184','192.168.1.254','2019-06-15 04:22:55'),(43272,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030398368835449','192.168.1.254','2019-06-15 04:22:55'),(43273,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028514862060547','192.168.1.254','2019-06-15 04:22:55'),(43274,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-15 04:22:56'),(43275,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036001205444336','192.168.1.254','2019-06-15 04:22:56'),(43276,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-15 04:22:56'),(43277,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-15 04:22:56'),(43278,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035595893859863','192.168.1.254','2019-06-15 04:22:56'),(43279,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.024883985519409','192.168.1.254','2019-06-15 04:22:56'),(43280,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.0051190853118896','192.168.1.254','2019-06-15 04:22:56'),(43281,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.00046515464782715','192.168.1.254','2019-06-15 04:22:56'),(43282,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.00064396858215332','192.168.1.254','2019-06-15 04:22:56'),(43283,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031113624572754','192.168.1.254','2019-06-15 04:22:56'),(43284,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003352165222168','192.168.1.254','2019-06-15 04:22:56'),(43285,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029516220092773','192.168.1.254','2019-06-15 04:22:56'),(43286,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028705596923828','192.168.1.254','2019-06-15 04:22:56'),(43287,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030684471130371','192.168.1.254','2019-06-15 04:22:56'),(43288,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00042104721069336','192.168.1.254','2019-06-15 04:22:56'),(43289,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0056471824645996','192.168.1.254','2019-06-15 04:22:56'),(43290,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0033700466156006','192.168.1.254','2019-06-15 04:22:56'),(43291,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00042390823364258','192.168.1.254','2019-06-15 04:22:56'),(43292,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030708312988281','192.168.1.254','2019-06-15 04:22:56'),(43293,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0002899169921875','192.168.1.254','2019-06-15 04:22:56'),(43294,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031685829162598','192.168.1.254','2019-06-15 04:22:56'),(43295,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.00057888031005859','192.168.1.254','2019-06-15 04:22:56'),(43296,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034999847412109','192.168.1.254','2019-06-15 04:22:56'),(43297,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.00031685829162598','192.168.1.254','2019-06-15 04:22:56'),(43298,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.00053906440734863','192.168.1.254','2019-06-15 04:22:56'),(43299,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.00054192543029785','192.168.1.254','2019-06-15 04:22:56'),(43300,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.0004420280456543','192.168.1.254','2019-06-15 04:22:56'),(43301,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.00047397613525391','192.168.1.254','2019-06-15 04:22:56'),(43302,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.00058794021606445','192.168.1.254','2019-06-15 04:22:56'),(43303,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.00049495697021484','192.168.1.254','2019-06-15 04:22:56'),(43304,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.00061488151550293','192.168.1.254','2019-06-15 04:22:56'),(43305,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-15 04:22:56'),(43306,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.00055313110351562','192.168.1.254','2019-06-15 04:22:56'),(43307,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.00049495697021484','192.168.1.254','2019-06-15 04:22:56'),(43308,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.00047898292541504','192.168.1.254','2019-06-15 04:22:56'),(43309,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.00046992301940918','192.168.1.254','2019-06-15 04:22:56'),(43310,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.00091814994812012','192.168.1.254','2019-06-15 04:22:56'),(43311,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.00091099739074707','192.168.1.254','2019-06-15 04:22:56'),(43312,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.00086283683776855','192.168.1.254','2019-06-15 04:22:56'),(43313,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.00080108642578125','192.168.1.254','2019-06-15 04:22:56'),(43314,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 995','StaffProfile/new_action_type','0.00042891502380371','192.168.1.254','2019-06-15 04:22:56'),(43315,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/admin/company/setting','0.019167184829712','192.168.1.254','2019-06-15 04:23:17'),(43316,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/admin/company/setting','0.00042390823364258','192.168.1.254','2019-06-15 04:23:17'),(43317,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/admin/company/setting','0.0012431144714355','192.168.1.254','2019-06-15 04:23:17'),(43318,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/admin/company/setting','0.019098043441772','192.168.1.254','2019-06-15 04:23:17'),(43319,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/admin/company/setting','0.00043201446533203','192.168.1.254','2019-06-15 04:23:17'),(43320,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/admin/company/setting','0.0012660026550293','192.168.1.254','2019-06-15 04:23:17'),(43321,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/admin/company/setting','0.019301176071167','192.168.1.254','2019-06-15 04:23:17'),(43322,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/admin/company/setting','0.0003662109375','192.168.1.254','2019-06-15 04:23:17'),(43323,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/admin/company/setting','0.0012328624725342','192.168.1.254','2019-06-15 04:23:17'),(43324,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/admin/company/setting','0.00086498260498047','192.168.1.254','2019-06-15 04:23:17'),(43325,128,NULL,'insert','INSERT INTO `_log__module_session` (`module_id`, `user_session_id`) VALUES (1, 995)','company/setting','0.088381052017212','192.168.1.254','2019-06-15 04:23:17'),(43326,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\nAND `a`.`id` = \'46\'\nORDER BY `a`.`name` ASC','/salihin-digital/admin/company/setting','0.00057506561279297','192.168.1.254','2019-06-15 04:23:17'),(43327,128,NULL,'others','SELECT *\nFROM `company__logo`\nWHERE `status` =0\nAND `is_delete` =0\nAND `company_id` = \'46\'\nORDER BY `title` ASC','/salihin-digital/admin/company/setting','0.00043296813964844','192.168.1.254','2019-06-15 04:23:17'),(43328,128,NULL,'others','SELECT `a`.*, `b`.`name` as `company_name`\nFROM `company__branch` `a`\nLEFT JOIN `company` `b` ON `b`.`id` = `a`.`company_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/admin/company/setting','0.00050687789916992','192.168.1.254','2019-06-15 04:23:17'),(43329,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 `a`.`name` ASC','/salihin-digital/admin/company/setting','0.0005640983581543','192.168.1.254','2019-06-15 04:23:17'),(43330,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/admin/company/setting','0.00038409233093262','192.168.1.254','2019-06-15 04:23:17'),(43331,128,NULL,'others','SELECT `a`.*, `b`.`name` as `company_name`\nFROM `company__business_entity` `a`\nLEFT JOIN `company` `b` ON `b`.`id` = `a`.`company_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/admin/company/setting','0.00051712989807129','192.168.1.254','2019-06-15 04:23:17'),(43332,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/admin/company/setting','0.00043892860412598','192.168.1.254','2019-06-15 04:23:17'),(43333,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/admin/company/setting','0.00084781646728516','192.168.1.254','2019-06-15 04:23:17'),(43334,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/admin/company/setting','0.00081014633178711','192.168.1.254','2019-06-15 04:23:17'),(43335,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/admin/company/setting','0.00076699256896973','192.168.1.254','2019-06-15 04:23:17'),(43336,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/admin/company/setting','0.00081396102905273','192.168.1.254','2019-06-15 04:23:17'),(43337,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'admin/company/setting/\'\nWHERE id = 995','company/setting','0.00038909912109375','192.168.1.254','2019-06-15 04:23:17'),(43338,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.019222974777222','192.168.1.254','2019-06-15 04:24:28'),(43339,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-15 04:24:28'),(43340,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-15 04:24:28'),(43341,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.019062042236328','192.168.1.254','2019-06-15 04:24:28'),(43342,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00038003921508789','192.168.1.254','2019-06-15 04:24:28'),(43343,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.0012421607971191','192.168.1.254','2019-06-15 04:24:28'),(43344,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.019755840301514','192.168.1.254','2019-06-15 04:24:28'),(43345,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-15 04:24:28'),(43346,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-15 04:24:28'),(43347,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.00098395347595215','192.168.1.254','2019-06-15 04:24:28'),(43348,128,NULL,'insert','INSERT INTO `_log__module_session` (`module_id`, `user_session_id`) VALUES (4, 995)','StaffProfile/new_action_type','0.094363927841187','192.168.1.254','2019-06-15 04:24:28'),(43349,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0010590553283691','192.168.1.254','2019-06-15 04:24:28'),(43350,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.019645214080811','192.168.1.254','2019-06-15 04:24:28'),(43351,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028395652770996','192.168.1.254','2019-06-15 04:24:28'),(43352,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028705596923828','192.168.1.254','2019-06-15 04:24:28'),(43353,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00026607513427734','192.168.1.254','2019-06-15 04:24:28'),(43354,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00024700164794922','192.168.1.254','2019-06-15 04:24:28'),(43355,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00039410591125488','192.168.1.254','2019-06-15 04:24:28'),(43356,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032901763916016','192.168.1.254','2019-06-15 04:24:28'),(43357,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035715103149414','192.168.1.254','2019-06-15 04:24:28'),(43358,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.00050497055053711','192.168.1.254','2019-06-15 04:24:28'),(43359,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032901763916016','192.168.1.254','2019-06-15 04:24:28'),(43360,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.027717113494873','192.168.1.254','2019-06-15 04:24:28'),(43361,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.0050089359283447','192.168.1.254','2019-06-15 04:24:28'),(43362,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.00044703483581543','192.168.1.254','2019-06-15 04:24:28'),(43363,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.00059819221496582','192.168.1.254','2019-06-15 04:24:28'),(43364,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00026798248291016','192.168.1.254','2019-06-15 04:24:28'),(43365,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00027894973754883','192.168.1.254','2019-06-15 04:24:28'),(43366,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00025105476379395','192.168.1.254','2019-06-15 04:24:29'),(43367,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028300285339355','192.168.1.254','2019-06-15 04:24:29'),(43368,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00025701522827148','192.168.1.254','2019-06-15 04:24:29'),(43369,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036287307739258','192.168.1.254','2019-06-15 04:24:29'),(43370,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0056071281433105','192.168.1.254','2019-06-15 04:24:29'),(43371,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0032479763031006','192.168.1.254','2019-06-15 04:24:29'),(43372,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00042510032653809','192.168.1.254','2019-06-15 04:24:29'),(43373,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0002598762512207','192.168.1.254','2019-06-15 04:24:29'),(43374,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00027894973754883','192.168.1.254','2019-06-15 04:24:29'),(43375,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00027799606323242','192.168.1.254','2019-06-15 04:24:29'),(43376,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.00055480003356934','192.168.1.254','2019-06-15 04:24:29'),(43377,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00038385391235352','192.168.1.254','2019-06-15 04:24:29'),(43378,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-15 04:24:29'),(43379,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.00052809715270996','192.168.1.254','2019-06-15 04:24:29'),(43380,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.00059795379638672','192.168.1.254','2019-06-15 04:24:29'),(43381,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.00046205520629883','192.168.1.254','2019-06-15 04:24:29'),(43382,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.00047087669372559','192.168.1.254','2019-06-15 04:24:29'),(43383,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.0006871223449707','192.168.1.254','2019-06-15 04:24:29'),(43384,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.00054693222045898','192.168.1.254','2019-06-15 04:24:29'),(43385,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.00054001808166504','192.168.1.254','2019-06-15 04:24:29'),(43386,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.00056099891662598','192.168.1.254','2019-06-15 04:24:29'),(43387,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.00042200088500977','192.168.1.254','2019-06-15 04:24:29'),(43388,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.00041580200195312','192.168.1.254','2019-06-15 04:24:29'),(43389,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.00041007995605469','192.168.1.254','2019-06-15 04:24:29'),(43390,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.00046396255493164','192.168.1.254','2019-06-15 04:24:29'),(43391,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.00087785720825195','192.168.1.254','2019-06-15 04:24:29'),(43392,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.00085091590881348','192.168.1.254','2019-06-15 04:24:29'),(43393,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.00088310241699219','192.168.1.254','2019-06-15 04:24:29'),(43394,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.00081014633178711','192.168.1.254','2019-06-15 04:24:29'),(43395,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 995','StaffProfile/new_action_type','0.00040102005004883','192.168.1.254','2019-06-15 04:24:29'),(43396,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.019407987594604','192.168.1.254','2019-06-15 04:24:57'),(43397,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00038719177246094','192.168.1.254','2019-06-15 04:24:57'),(43398,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.001352071762085','192.168.1.254','2019-06-15 04:24:58'),(43399,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.019222974777222','192.168.1.254','2019-06-15 04:24:58'),(43400,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-15 04:24:58'),(43401,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.0013480186462402','192.168.1.254','2019-06-15 04:24:58'),(43402,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.019020080566406','192.168.1.254','2019-06-15 04:24:58'),(43403,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00040006637573242','192.168.1.254','2019-06-15 04:24:58'),(43404,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.0013689994812012','192.168.1.254','2019-06-15 04:24:58'),(43405,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave','0.00058913230895996','192.168.1.254','2019-06-15 04:24:58'),(43406,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave','0.00035881996154785','192.168.1.254','2019-06-15 04:24:58'),(43407,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.00063991546630859','192.168.1.254','2019-06-15 04:24:58'),(43408,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.030407905578613','192.168.1.254','2019-06-15 04:24:58'),(43409,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.0052838325500488','192.168.1.254','2019-06-15 04:24:58'),(43410,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-15\' BETWEEN `a`.`date_from` AND a.date_to)\nOR (\'2019-06-22\' BETWEEN `a`.`date_from` and a.date_to)\nOR (`a`.`date_from` BETWEEN \'2019-06-15\' AND \'2019-06-22\')\nOR (`a`.`date_to` BETWEEN \'2019-06-15\' AND \'2019-06-22\')\n )','/salihin-digital/hr/leave','0.0021779537200928','192.168.1.254','2019-06-15 04:24:58'),(43411,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.019932985305786','192.168.1.254','2019-06-15 04:24:58'),(43412,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave','0.00032210350036621','192.168.1.254','2019-06-15 04:24:58'),(43413,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.00056195259094238','192.168.1.254','2019-06-15 04:24:58'),(43414,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.0020821094512939','192.168.1.254','2019-06-15 04:24:58'),(43415,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.0095360279083252','192.168.1.254','2019-06-15 04:24:58'),(43416,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.01981520652771','192.168.1.254','2019-06-15 04:24:58'),(43417,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.001945972442627','192.168.1.254','2019-06-15 04:24:58'),(43418,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.026608943939209','192.168.1.254','2019-06-15 04:24:58'),(43419,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.00057005882263184','192.168.1.254','2019-06-15 04:24:58'),(43420,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-15 04:24:58'),(43421,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.00087404251098633','192.168.1.254','2019-06-15 04:24:58'),(43422,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.00089001655578613','192.168.1.254','2019-06-15 04:24:58'),(43423,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.00088405609130859','192.168.1.254','2019-06-15 04:24:58'),(43424,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/\'\nWHERE id = 997','leave/index','0.00035500526428223','192.168.1.254','2019-06-15 04:24:58'),(43425,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.019295930862427','192.168.1.254','2019-06-15 04:25:55'),(43426,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040578842163086','192.168.1.254','2019-06-15 04:25:55'),(43427,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.0012540817260742','192.168.1.254','2019-06-15 04:25:55'),(43428,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.019331216812134','192.168.1.254','2019-06-15 04:25:55'),(43429,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00039887428283691','192.168.1.254','2019-06-15 04:25:55'),(43430,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.0011999607086182','192.168.1.254','2019-06-15 04:25:55'),(43431,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.018939018249512','192.168.1.254','2019-06-15 04:25:55'),(43432,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035905838012695','192.168.1.254','2019-06-15 04:25:55'),(43433,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.0011811256408691','192.168.1.254','2019-06-15 04:25:55'),(43434,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0011088848114014','192.168.1.254','2019-06-15 04:25:55'),(43435,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.020216941833496','192.168.1.254','2019-06-15 04:25:56'),(43436,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030612945556641','192.168.1.254','2019-06-15 04:25:56'),(43437,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00023603439331055','192.168.1.254','2019-06-15 04:25:56'),(43438,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00023603439331055','192.168.1.254','2019-06-15 04:25:56'),(43439,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029206275939941','192.168.1.254','2019-06-15 04:25:56'),(43440,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00039291381835938','192.168.1.254','2019-06-15 04:25:56'),(43441,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031614303588867','192.168.1.254','2019-06-15 04:25:56'),(43442,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00038981437683105','192.168.1.254','2019-06-15 04:25:56'),(43443,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.00051307678222656','192.168.1.254','2019-06-15 04:25:56'),(43444,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032687187194824','192.168.1.254','2019-06-15 04:25:56'),(43445,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.026587009429932','192.168.1.254','2019-06-15 04:25:56'),(43446,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.0027840137481689','192.168.1.254','2019-06-15 04:25:56'),(43447,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.0004420280456543','192.168.1.254','2019-06-15 04:25:56'),(43448,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.00057792663574219','192.168.1.254','2019-06-15 04:25:56'),(43449,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00026178359985352','192.168.1.254','2019-06-15 04:25:56'),(43450,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0002892017364502','192.168.1.254','2019-06-15 04:25:56'),(43451,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00025391578674316','192.168.1.254','2019-06-15 04:25:56'),(43452,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00023508071899414','192.168.1.254','2019-06-15 04:25:56'),(43453,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00026392936706543','192.168.1.254','2019-06-15 04:25:56'),(43454,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003669261932373','192.168.1.254','2019-06-15 04:25:56'),(43455,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0056099891662598','192.168.1.254','2019-06-15 04:25:56'),(43456,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0033321380615234','192.168.1.254','2019-06-15 04:25:56'),(43457,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00044083595275879','192.168.1.254','2019-06-15 04:25:56'),(43458,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029110908508301','192.168.1.254','2019-06-15 04:25:56'),(43459,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00027704238891602','192.168.1.254','2019-06-15 04:25:56'),(43460,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00026702880859375','192.168.1.254','2019-06-15 04:25:56'),(43461,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.00053000450134277','192.168.1.254','2019-06-15 04:25:56'),(43462,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036215782165527','192.168.1.254','2019-06-15 04:25:56'),(43463,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.00033307075500488','192.168.1.254','2019-06-15 04:25:56'),(43464,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-15 04:25:56'),(43465,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.00058698654174805','192.168.1.254','2019-06-15 04:25:56'),(43466,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.0004270076751709','192.168.1.254','2019-06-15 04:25:56'),(43467,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.00042104721069336','192.168.1.254','2019-06-15 04:25:56'),(43468,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.0013101100921631','192.168.1.254','2019-06-15 04:25:56'),(43469,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.00064682960510254','192.168.1.254','2019-06-15 04:25:56'),(43470,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.00054693222045898','192.168.1.254','2019-06-15 04:25:56'),(43471,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.00060415267944336','192.168.1.254','2019-06-15 04:25:56'),(43472,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.00043010711669922','192.168.1.254','2019-06-15 04:25:56'),(43473,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.00041007995605469','192.168.1.254','2019-06-15 04:25:56'),(43474,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.00041389465332031','192.168.1.254','2019-06-15 04:25:56'),(43475,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.00045013427734375','192.168.1.254','2019-06-15 04:25:56'),(43476,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.00077486038208008','192.168.1.254','2019-06-15 04:25:56'),(43477,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.00068306922912598','192.168.1.254','2019-06-15 04:25:56'),(43478,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.00072693824768066','192.168.1.254','2019-06-15 04:25:56'),(43479,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.00071287155151367','192.168.1.254','2019-06-15 04:25:56'),(43480,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 995','StaffProfile/new_action_type','0.00046896934509277','192.168.1.254','2019-06-15 04:25:57'),(43481,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.019011974334717','192.168.1.254','2019-06-15 04:26:02'),(43482,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-15 04:26:02'),(43483,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.0013680458068848','192.168.1.254','2019-06-15 04:26:02'),(43484,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.020516157150269','192.168.1.254','2019-06-15 04:26:02'),(43485,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00039315223693848','192.168.1.254','2019-06-15 04:26:02'),(43486,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.0014381408691406','192.168.1.254','2019-06-15 04:26:02'),(43487,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.020478963851929','192.168.1.254','2019-06-15 04:26:02'),(43488,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00038504600524902','192.168.1.254','2019-06-15 04:26:02'),(43489,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.0014770030975342','192.168.1.254','2019-06-15 04:26:02'),(43490,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave','0.00058102607727051','192.168.1.254','2019-06-15 04:26:02'),(43491,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave','0.00029802322387695','192.168.1.254','2019-06-15 04:26:02'),(43492,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.0006098747253418','192.168.1.254','2019-06-15 04:26:02'),(43493,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.033226013183594','192.168.1.254','2019-06-15 04:26:02'),(43494,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.007749080657959','192.168.1.254','2019-06-15 04:26:02'),(43495,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-15\' BETWEEN `a`.`date_from` AND a.date_to)\nOR (\'2019-06-22\' BETWEEN `a`.`date_from` and a.date_to)\nOR (`a`.`date_from` BETWEEN \'2019-06-15\' AND \'2019-06-22\')\nOR (`a`.`date_to` BETWEEN \'2019-06-15\' AND \'2019-06-22\')\n )','/salihin-digital/hr/leave','0.0021660327911377','192.168.1.254','2019-06-15 04:26:02'),(43496,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.020927906036377','192.168.1.254','2019-06-15 04:26:02'),(43497,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave','0.00032687187194824','192.168.1.254','2019-06-15 04:26:02'),(43498,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.00055813789367676','192.168.1.254','2019-06-15 04:26:02'),(43499,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.0021610260009766','192.168.1.254','2019-06-15 04:26:02'),(43500,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.007108211517334','192.168.1.254','2019-06-15 04:26:02'),(43501,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.019882917404175','192.168.1.254','2019-06-15 04:26:03'),(43502,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.0022361278533936','192.168.1.254','2019-06-15 04:26:03'),(43503,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.023760795593262','192.168.1.254','2019-06-15 04:26:03'),(43504,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.00047087669372559','192.168.1.254','2019-06-15 04:26:03'),(43505,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.00087594985961914','192.168.1.254','2019-06-15 04:26:03'),(43506,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.00083398818969727','192.168.1.254','2019-06-15 04:26:03'),(43507,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.00087594985961914','192.168.1.254','2019-06-15 04:26:03'),(43508,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.00084590911865234','192.168.1.254','2019-06-15 04:26:03'),(43509,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/\'\nWHERE id = 997','leave/index','0.00037980079650879','192.168.1.254','2019-06-15 04:26:03'),(43510,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.018986940383911','192.168.1.254','2019-06-15 04:32:25'),(43511,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.0003969669342041','192.168.1.254','2019-06-15 04:32:25'),(43512,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-15 04:32:25'),(43513,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.019298076629639','192.168.1.254','2019-06-15 04:32:25'),(43514,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00041508674621582','192.168.1.254','2019-06-15 04:32:25'),(43515,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.0013580322265625','192.168.1.254','2019-06-15 04:32:25'),(43516,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.019078969955444','192.168.1.254','2019-06-15 04:32:25'),(43517,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00034403800964355','192.168.1.254','2019-06-15 04:32:25'),(43518,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.0013859272003174','192.168.1.254','2019-06-15 04:32:25'),(43519,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave','0.00056695938110352','192.168.1.254','2019-06-15 04:32:25'),(43520,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave','0.00030612945556641','192.168.1.254','2019-06-15 04:32:26'),(43521,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.0006101131439209','192.168.1.254','2019-06-15 04:32:26'),(43522,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.13179802894592','192.168.1.254','2019-06-15 04:32:26'),(43523,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.0057780742645264','192.168.1.254','2019-06-15 04:32:26'),(43524,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-15\' BETWEEN `a`.`date_from` AND a.date_to)\nOR (\'2019-06-22\' BETWEEN `a`.`date_from` and a.date_to)\nOR (`a`.`date_from` BETWEEN \'2019-06-15\' AND \'2019-06-22\')\nOR (`a`.`date_to` BETWEEN \'2019-06-15\' AND \'2019-06-22\')\n )','/salihin-digital/hr/leave','0.0020627975463867','192.168.1.254','2019-06-15 04:32:26'),(43525,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.019669055938721','192.168.1.254','2019-06-15 04:32:26'),(43526,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave','0.00030899047851562','192.168.1.254','2019-06-15 04:32:26'),(43527,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.00053191184997559','192.168.1.254','2019-06-15 04:32:26'),(43528,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.002100944519043','192.168.1.254','2019-06-15 04:32:26'),(43529,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.0051259994506836','192.168.1.254','2019-06-15 04:32:26'),(43530,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.020092964172363','192.168.1.254','2019-06-15 04:32:26'),(43531,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.0019989013671875','192.168.1.254','2019-06-15 04:32:26'),(43532,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.023275136947632','192.168.1.254','2019-06-15 04:32:26'),(43533,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.0005040168762207','192.168.1.254','2019-06-15 04:32:26'),(43534,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.00089788436889648','192.168.1.254','2019-06-15 04:32:26'),(43535,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.00087189674377441','192.168.1.254','2019-06-15 04:32:26'),(43536,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.00085616111755371','192.168.1.254','2019-06-15 04:32:26'),(43537,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-15 04:32:26'),(43538,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/\'\nWHERE id = 997','leave/index','0.00045299530029297','192.168.1.254','2019-06-15 04:32:26'),(43539,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.019152879714966','192.168.1.254','2019-06-15 04:33:25'),(43540,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.0003960132598877','192.168.1.254','2019-06-15 04:33:25'),(43541,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.0013830661773682','192.168.1.254','2019-06-15 04:33:25'),(43542,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.019152164459229','192.168.1.254','2019-06-15 04:33:25'),(43543,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-15 04:33:25'),(43544,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.00130295753479','192.168.1.254','2019-06-15 04:33:25'),(43545,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.018637895584106','192.168.1.254','2019-06-15 04:33:25'),(43546,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00035595893859863','192.168.1.254','2019-06-15 04:33:25'),(43547,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.001276969909668','192.168.1.254','2019-06-15 04:33:25'),(43548,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave','0.00053000450134277','192.168.1.254','2019-06-15 04:33:25'),(43549,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave','0.00029301643371582','192.168.1.254','2019-06-15 04:33:25'),(43550,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.00056219100952148','192.168.1.254','2019-06-15 04:33:25'),(43551,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.030987024307251','192.168.1.254','2019-06-15 04:33:25'),(43552,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.0060820579528809','192.168.1.254','2019-06-15 04:33:25'),(43553,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-15\' BETWEEN `a`.`date_from` AND a.date_to)\nOR (\'2019-06-22\' BETWEEN `a`.`date_from` and a.date_to)\nOR (`a`.`date_from` BETWEEN \'2019-06-15\' AND \'2019-06-22\')\nOR (`a`.`date_to` BETWEEN \'2019-06-15\' AND \'2019-06-22\')\n )','/salihin-digital/hr/leave','0.0019209384918213','192.168.1.254','2019-06-15 04:33:25'),(43554,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.019208192825317','192.168.1.254','2019-06-15 04:33:25'),(43555,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave','0.0003199577331543','192.168.1.254','2019-06-15 04:33:25'),(43556,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.00057291984558105','192.168.1.254','2019-06-15 04:33:25'),(43557,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.0020380020141602','192.168.1.254','2019-06-15 04:33:25'),(43558,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.0066521167755127','192.168.1.254','2019-06-15 04:33:25'),(43559,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.01970911026001','192.168.1.254','2019-06-15 04:33:25'),(43560,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.0020959377288818','192.168.1.254','2019-06-15 04:33:25'),(43561,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.078022003173828','192.168.1.254','2019-06-15 04:33:25'),(43562,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.00059294700622559','192.168.1.254','2019-06-15 04:33:25'),(43563,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.00088000297546387','192.168.1.254','2019-06-15 04:33:25'),(43564,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.00082993507385254','192.168.1.254','2019-06-15 04:33:25'),(43565,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.000823974609375','192.168.1.254','2019-06-15 04:33:25'),(43566,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.00081896781921387','192.168.1.254','2019-06-15 04:33:25'),(43567,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/\'\nWHERE id = 997','leave/index','0.00046181678771973','192.168.1.254','2019-06-15 04:33:25'),(43568,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.01888108253479','192.168.1.254','2019-06-15 04:33:29'),(43569,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/','0.00040292739868164','192.168.1.254','2019-06-15 04:33:29'),(43570,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.0013589859008789','192.168.1.254','2019-06-15 04:33:29'),(43571,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.018841028213501','192.168.1.254','2019-06-15 04:33:29'),(43572,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/','0.00036311149597168','192.168.1.254','2019-06-15 04:33:29'),(43573,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.0013298988342285','192.168.1.254','2019-06-15 04:33:29'),(43574,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.019126176834106','192.168.1.254','2019-06-15 04:33:29'),(43575,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/','0.00036883354187012','192.168.1.254','2019-06-15 04:33:29'),(43576,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.0013749599456787','192.168.1.254','2019-06-15 04:33:29'),(43577,23,NULL,'update','UPDATE `_log__module_session` SET `logout_ts` = \'2019-06-15 12:33:27\'\nWHERE id = 302','web/index','0.030415058135986','192.168.1.254','2019-06-15 04:33:29'),(43578,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'\'\nWHERE id = 997','web/index','0.00042104721069336','192.168.1.254','2019-06-15 04:33:29'),(43579,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.018921852111816','192.168.1.254','2019-06-15 04:38:59'),(43580,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-15 04:38:59'),(43581,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-15 04:38:59'),(43582,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.018928050994873','192.168.1.254','2019-06-15 04:38:59'),(43583,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-15 04:38:59'),(43584,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-15 04:38:59'),(43585,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.018708944320679','192.168.1.254','2019-06-15 04:38:59'),(43586,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00039887428283691','192.168.1.254','2019-06-15 04:38:59'),(43587,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.0012149810791016','192.168.1.254','2019-06-15 04:38:59'),(43588,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-15 04:38:59'),(43589,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.019429922103882','192.168.1.254','2019-06-15 04:38:59'),(43590,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034213066101074','192.168.1.254','2019-06-15 04:38:59'),(43591,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032806396484375','192.168.1.254','2019-06-15 04:38:59'),(43592,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033378601074219','192.168.1.254','2019-06-15 04:38:59'),(43593,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033402442932129','192.168.1.254','2019-06-15 04:38:59'),(43594,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-15 04:38:59'),(43595,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041294097900391','192.168.1.254','2019-06-15 04:38:59'),(43596,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045108795166016','192.168.1.254','2019-06-15 04:38:59'),(43597,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.00058293342590332','192.168.1.254','2019-06-15 04:38:59'),(43598,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043296813964844','192.168.1.254','2019-06-15 04:38:59'),(43599,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.023914098739624','192.168.1.254','2019-06-15 04:38:59'),(43600,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.0055580139160156','192.168.1.254','2019-06-15 04:38:59'),(43601,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.00046396255493164','192.168.1.254','2019-06-15 04:38:59'),(43602,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.00060701370239258','192.168.1.254','2019-06-15 04:38:59'),(43603,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003509521484375','192.168.1.254','2019-06-15 04:38:59'),(43604,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-15 04:38:59'),(43605,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033712387084961','192.168.1.254','2019-06-15 04:38:59'),(43606,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003361701965332','192.168.1.254','2019-06-15 04:38:59'),(43607,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003349781036377','192.168.1.254','2019-06-15 04:38:59'),(43608,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043606758117676','192.168.1.254','2019-06-15 04:38:59'),(43609,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0056090354919434','192.168.1.254','2019-06-15 04:38:59'),(43610,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0031940937042236','192.168.1.254','2019-06-15 04:38:59'),(43611,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046086311340332','192.168.1.254','2019-06-15 04:38:59'),(43612,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034093856811523','192.168.1.254','2019-06-15 04:39:00'),(43613,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034904479980469','192.168.1.254','2019-06-15 04:39:00'),(43614,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036311149597168','192.168.1.254','2019-06-15 04:39:00'),(43615,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.00056099891662598','192.168.1.254','2019-06-15 04:39:00'),(43616,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00042295455932617','192.168.1.254','2019-06-15 04:39:00'),(43617,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.00040102005004883','192.168.1.254','2019-06-15 04:39:00'),(43618,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.00058197975158691','192.168.1.254','2019-06-15 04:39:00'),(43619,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.00062799453735352','192.168.1.254','2019-06-15 04:39:00'),(43620,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.00049400329589844','192.168.1.254','2019-06-15 04:39:00'),(43621,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.00050497055053711','192.168.1.254','2019-06-15 04:39:00'),(43622,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.0005948543548584','192.168.1.254','2019-06-15 04:39:00'),(43623,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.00059390068054199','192.168.1.254','2019-06-15 04:39:00'),(43624,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.00067901611328125','192.168.1.254','2019-06-15 04:39:00'),(43625,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.00057315826416016','192.168.1.254','2019-06-15 04:39:00'),(43626,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.00045204162597656','192.168.1.254','2019-06-15 04:39:00'),(43627,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.00041294097900391','192.168.1.254','2019-06-15 04:39:00'),(43628,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.00045108795166016','192.168.1.254','2019-06-15 04:39:00'),(43629,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-15 04:39:00'),(43630,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.00084805488586426','192.168.1.254','2019-06-15 04:39:00'),(43631,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.00079798698425293','192.168.1.254','2019-06-15 04:39:00'),(43632,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.00077509880065918','192.168.1.254','2019-06-15 04:39:00'),(43633,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.00077390670776367','192.168.1.254','2019-06-15 04:39:00'),(43634,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 995','StaffProfile/new_action_type','0.00043416023254395','192.168.1.254','2019-06-15 04:39:00'),(43635,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.019876956939697','192.168.1.254','2019-06-15 04:39:28'),(43636,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-15 04:39:28'),(43637,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-15 04:39:28'),(43638,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.019217967987061','192.168.1.254','2019-06-15 04:39:28'),(43639,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.0003659725189209','192.168.1.254','2019-06-15 04:39:28'),(43640,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.0013689994812012','192.168.1.254','2019-06-15 04:39:28'),(43641,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.019140958786011','192.168.1.254','2019-06-15 04:39:28'),(43642,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00039005279541016','192.168.1.254','2019-06-15 04:39:28'),(43643,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-15 04:39:28'),(43644,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.00087594985961914','192.168.1.254','2019-06-15 04:39:28'),(43645,23,NULL,'insert','INSERT INTO `_log__module_session` (`module_id`, `user_session_id`) VALUES (4, 997)','leave/index','0.091788053512573','192.168.1.254','2019-06-15 04:39:28'),(43646,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave','0.00059199333190918','192.168.1.254','2019-06-15 04:39:28'),(43647,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave','0.00032591819763184','192.168.1.254','2019-06-15 04:39:28'),(43648,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.0007319450378418','192.168.1.254','2019-06-15 04:39:28'),(43649,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.032613039016724','192.168.1.254','2019-06-15 04:39:28'),(43650,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.011891841888428','192.168.1.254','2019-06-15 04:39:28'),(43651,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-15\' BETWEEN `a`.`date_from` AND a.date_to)\nOR (\'2019-06-22\' BETWEEN `a`.`date_from` and a.date_to)\nOR (`a`.`date_from` BETWEEN \'2019-06-15\' AND \'2019-06-22\')\nOR (`a`.`date_to` BETWEEN \'2019-06-15\' AND \'2019-06-22\')\n )','/salihin-digital/hr/leave','0.0022249221801758','192.168.1.254','2019-06-15 04:39:28'),(43652,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.021064043045044','192.168.1.254','2019-06-15 04:39:28'),(43653,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave','0.00039815902709961','192.168.1.254','2019-06-15 04:39:28'),(43654,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.00059700012207031','192.168.1.254','2019-06-15 04:39:28'),(43655,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.0021979808807373','192.168.1.254','2019-06-15 04:39:28'),(43656,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.0081789493560791','192.168.1.254','2019-06-15 04:39:28'),(43657,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.020610809326172','192.168.1.254','2019-06-15 04:39:28'),(43658,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.0020580291748047','192.168.1.254','2019-06-15 04:39:28'),(43659,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.025997877120972','192.168.1.254','2019-06-15 04:39:28'),(43660,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.00056600570678711','192.168.1.254','2019-06-15 04:39:28'),(43661,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.00089907646179199','192.168.1.254','2019-06-15 04:39:28'),(43662,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.00089788436889648','192.168.1.254','2019-06-15 04:39:28'),(43663,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.0008399486541748','192.168.1.254','2019-06-15 04:39:28'),(43664,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.00080513954162598','192.168.1.254','2019-06-15 04:39:29'),(43665,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/\'\nWHERE id = 997','leave/index','0.00040984153747559','192.168.1.254','2019-06-15 04:39:29'),(43666,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.019078016281128','192.168.1.254','2019-06-15 04:39:32'),(43667,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/','0.00036787986755371','192.168.1.254','2019-06-15 04:39:32'),(43668,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.0013020038604736','192.168.1.254','2019-06-15 04:39:32'),(43669,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.019083976745605','192.168.1.254','2019-06-15 04:39:32'),(43670,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/','0.00043511390686035','192.168.1.254','2019-06-15 04:39:32'),(43671,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.0014011859893799','192.168.1.254','2019-06-15 04:39:32'),(43672,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.019243955612183','192.168.1.254','2019-06-15 04:39:32'),(43673,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/','0.00041818618774414','192.168.1.254','2019-06-15 04:39:33'),(43674,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.0013680458068848','192.168.1.254','2019-06-15 04:39:33'),(43675,23,NULL,'update','UPDATE `_log__module_session` SET `logout_ts` = \'2019-06-15 12:39:30\'\nWHERE id = 305','web/index','0.042989015579224','192.168.1.254','2019-06-15 04:39:33'),(43676,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'\'\nWHERE id = 997','web/index','0.0003960132598877','192.168.1.254','2019-06-15 04:39:33'),(43677,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.019052028656006','192.168.1.254','2019-06-15 04:40:09'),(43678,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-15 04:40:09'),(43679,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-15 04:40:09'),(43680,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.019144058227539','192.168.1.254','2019-06-15 04:40:09'),(43681,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034093856811523','192.168.1.254','2019-06-15 04:40:09'),(43682,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.0011568069458008','192.168.1.254','2019-06-15 04:40:09'),(43683,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.019930124282837','192.168.1.254','2019-06-15 04:40:09'),(43684,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035381317138672','192.168.1.254','2019-06-15 04:40:09'),(43685,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.0011641979217529','192.168.1.254','2019-06-15 04:40:09'),(43686,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0011169910430908','192.168.1.254','2019-06-15 04:40:09'),(43687,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.019740104675293','192.168.1.254','2019-06-15 04:40:09'),(43688,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036907196044922','192.168.1.254','2019-06-15 04:40:09'),(43689,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032997131347656','192.168.1.254','2019-06-15 04:40:09'),(43690,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033783912658691','192.168.1.254','2019-06-15 04:40:09'),(43691,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031208992004395','192.168.1.254','2019-06-15 04:40:09'),(43692,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00051021575927734','192.168.1.254','2019-06-15 04:40:09'),(43693,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040912628173828','192.168.1.254','2019-06-15 04:40:09'),(43694,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00047612190246582','192.168.1.254','2019-06-15 04:40:09'),(43695,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.00060200691223145','192.168.1.254','2019-06-15 04:40:09'),(43696,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00042295455932617','192.168.1.254','2019-06-15 04:40:09'),(43697,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.026169061660767','192.168.1.254','2019-06-15 04:40:09'),(43698,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.0034120082855225','192.168.1.254','2019-06-15 04:40:09'),(43699,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.00042104721069336','192.168.1.254','2019-06-15 04:40:09'),(43700,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.00058388710021973','192.168.1.254','2019-06-15 04:40:09'),(43701,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034189224243164','192.168.1.254','2019-06-15 04:40:10'),(43702,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031685829162598','192.168.1.254','2019-06-15 04:40:10'),(43703,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033116340637207','192.168.1.254','2019-06-15 04:40:10'),(43704,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029397010803223','192.168.1.254','2019-06-15 04:40:10'),(43705,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028514862060547','192.168.1.254','2019-06-15 04:40:10'),(43706,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00037789344787598','192.168.1.254','2019-06-15 04:40:10'),(43707,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0057311058044434','192.168.1.254','2019-06-15 04:40:10'),(43708,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0033118724822998','192.168.1.254','2019-06-15 04:40:10'),(43709,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00044894218444824','192.168.1.254','2019-06-15 04:40:10'),(43710,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029706954956055','192.168.1.254','2019-06-15 04:40:10'),(43711,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030899047851562','192.168.1.254','2019-06-15 04:40:10'),(43712,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031805038452148','192.168.1.254','2019-06-15 04:40:10'),(43713,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.00053596496582031','192.168.1.254','2019-06-15 04:40:10'),(43714,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00038003921508789','192.168.1.254','2019-06-15 04:40:10'),(43715,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.00036287307739258','192.168.1.254','2019-06-15 04:40:10'),(43716,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-15 04:40:10'),(43717,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.00058197975158691','192.168.1.254','2019-06-15 04:40:10'),(43718,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.00044989585876465','192.168.1.254','2019-06-15 04:40:10'),(43719,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-15 04:40:10'),(43720,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.00054407119750977','192.168.1.254','2019-06-15 04:40:10'),(43721,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.00048089027404785','192.168.1.254','2019-06-15 04:40:10'),(43722,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.00042390823364258','192.168.1.254','2019-06-15 04:40:10'),(43723,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.00046300888061523','192.168.1.254','2019-06-15 04:40:10'),(43724,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.00036883354187012','192.168.1.254','2019-06-15 04:40:10'),(43725,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.00039315223693848','192.168.1.254','2019-06-15 04:40:10'),(43726,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.00037503242492676','192.168.1.254','2019-06-15 04:40:10'),(43727,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.0003809928894043','192.168.1.254','2019-06-15 04:40:10'),(43728,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.00076508522033691','192.168.1.254','2019-06-15 04:40:10'),(43729,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.00072097778320312','192.168.1.254','2019-06-15 04:40:10'),(43730,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.00069093704223633','192.168.1.254','2019-06-15 04:40:10'),(43731,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.00072884559631348','192.168.1.254','2019-06-15 04:40:10'),(43732,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 995','StaffProfile/new_action_type','0.00040912628173828','192.168.1.254','2019-06-15 04:40:10'),(43733,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.018975019454956','192.168.1.254','2019-06-15 04:41:14'),(43734,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00037312507629395','192.168.1.254','2019-06-15 04:41:14'),(43735,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.0012478828430176','192.168.1.254','2019-06-15 04:41:14'),(43736,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.018712997436523','192.168.1.254','2019-06-15 04:41:14'),(43737,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040006637573242','192.168.1.254','2019-06-15 04:41:14'),(43738,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-15 04:41:14'),(43739,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.019260168075562','192.168.1.254','2019-06-15 04:41:14'),(43740,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-15 04:41:14'),(43741,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-15 04:41:14'),(43742,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0011959075927734','192.168.1.254','2019-06-15 04:41:14'),(43743,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.019517183303833','192.168.1.254','2019-06-15 04:41:14'),(43744,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029397010803223','192.168.1.254','2019-06-15 04:41:14'),(43745,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00023794174194336','192.168.1.254','2019-06-15 04:41:14'),(43746,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0002439022064209','192.168.1.254','2019-06-15 04:41:14'),(43747,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00023198127746582','192.168.1.254','2019-06-15 04:41:14'),(43748,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00039005279541016','192.168.1.254','2019-06-15 04:41:14'),(43749,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030803680419922','192.168.1.254','2019-06-15 04:41:14'),(43750,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034785270690918','192.168.1.254','2019-06-15 04:41:14'),(43751,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.00050115585327148','192.168.1.254','2019-06-15 04:41:14'),(43752,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035786628723145','192.168.1.254','2019-06-15 04:41:14'),(43753,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.026082038879395','192.168.1.254','2019-06-15 04:41:14'),(43754,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.0068368911743164','192.168.1.254','2019-06-15 04:41:14'),(43755,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.00042104721069336','192.168.1.254','2019-06-15 04:41:14'),(43756,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.00056695938110352','192.168.1.254','2019-06-15 04:41:14'),(43757,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029492378234863','192.168.1.254','2019-06-15 04:41:14'),(43758,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028300285339355','192.168.1.254','2019-06-15 04:41:14'),(43759,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00023698806762695','192.168.1.254','2019-06-15 04:41:14'),(43760,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00025105476379395','192.168.1.254','2019-06-15 04:41:14'),(43761,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00024294853210449','192.168.1.254','2019-06-15 04:41:14'),(43762,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033092498779297','192.168.1.254','2019-06-15 04:41:14'),(43763,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0054779052734375','192.168.1.254','2019-06-15 04:41:14'),(43764,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0032598972320557','192.168.1.254','2019-06-15 04:41:14'),(43765,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0004279613494873','192.168.1.254','2019-06-15 04:41:14'),(43766,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031709671020508','192.168.1.254','2019-06-15 04:41:15'),(43767,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030207633972168','192.168.1.254','2019-06-15 04:41:15'),(43768,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003361701965332','192.168.1.254','2019-06-15 04:41:15'),(43769,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.00052905082702637','192.168.1.254','2019-06-15 04:41:15'),(43770,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036501884460449','192.168.1.254','2019-06-15 04:41:15'),(43771,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.00036811828613281','192.168.1.254','2019-06-15 04:41:15'),(43772,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.00056791305541992','192.168.1.254','2019-06-15 04:41:15'),(43773,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.00060296058654785','192.168.1.254','2019-06-15 04:41:15'),(43774,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.00046706199645996','192.168.1.254','2019-06-15 04:41:15'),(43775,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.00046706199645996','192.168.1.254','2019-06-15 04:41:15'),(43776,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-15 04:41:15'),(43777,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.00052404403686523','192.168.1.254','2019-06-15 04:41:15'),(43778,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.00053501129150391','192.168.1.254','2019-06-15 04:41:15'),(43779,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.00057888031005859','192.168.1.254','2019-06-15 04:41:15'),(43780,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.0004730224609375','192.168.1.254','2019-06-15 04:41:15'),(43781,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.00046300888061523','192.168.1.254','2019-06-15 04:41:15'),(43782,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.00042891502380371','192.168.1.254','2019-06-15 04:41:15'),(43783,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.00051212310791016','192.168.1.254','2019-06-15 04:41:15'),(43784,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.0009009838104248','192.168.1.254','2019-06-15 04:41:15'),(43785,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.00084519386291504','192.168.1.254','2019-06-15 04:41:15'),(43786,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.00083804130554199','192.168.1.254','2019-06-15 04:41:15'),(43787,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.00083184242248535','192.168.1.254','2019-06-15 04:41:15'),(43788,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 995','StaffProfile/new_action_type','0.00042819976806641','192.168.1.254','2019-06-15 04:41:15'),(43789,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.019362926483154','192.168.1.254','2019-06-15 04:41:48'),(43790,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00038886070251465','192.168.1.254','2019-06-15 04:41:48'),(43791,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-15 04:41:48'),(43792,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.019129037857056','192.168.1.254','2019-06-15 04:41:48'),(43793,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040292739868164','192.168.1.254','2019-06-15 04:41:48'),(43794,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.001248836517334','192.168.1.254','2019-06-15 04:41:48'),(43795,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.018656969070435','192.168.1.254','2019-06-15 04:41:48'),(43796,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-15 04:41:48'),(43797,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.0013668537139893','192.168.1.254','2019-06-15 04:41:48'),(43798,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0011570453643799','192.168.1.254','2019-06-15 04:41:48'),(43799,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.020059108734131','192.168.1.254','2019-06-15 04:41:48'),(43800,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034689903259277','192.168.1.254','2019-06-15 04:41:48'),(43801,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028300285339355','192.168.1.254','2019-06-15 04:41:48'),(43802,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00025796890258789','192.168.1.254','2019-06-15 04:41:48'),(43803,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00025296211242676','192.168.1.254','2019-06-15 04:41:48'),(43804,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043010711669922','192.168.1.254','2019-06-15 04:41:48'),(43805,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034785270690918','192.168.1.254','2019-06-15 04:41:48'),(43806,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00039792060852051','192.168.1.254','2019-06-15 04:41:48'),(43807,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.00060296058654785','192.168.1.254','2019-06-15 04:41:48'),(43808,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041699409484863','192.168.1.254','2019-06-15 04:41:48'),(43809,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.029839992523193','192.168.1.254','2019-06-15 04:41:48'),(43810,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.0048670768737793','192.168.1.254','2019-06-15 04:41:48'),(43811,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.00037693977355957','192.168.1.254','2019-06-15 04:41:48'),(43812,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.00052404403686523','192.168.1.254','2019-06-15 04:41:48'),(43813,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00024509429931641','192.168.1.254','2019-06-15 04:41:48'),(43814,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00023198127746582','192.168.1.254','2019-06-15 04:41:48'),(43815,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00021505355834961','192.168.1.254','2019-06-15 04:41:48'),(43816,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00022506713867188','192.168.1.254','2019-06-15 04:41:48'),(43817,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00024008750915527','192.168.1.254','2019-06-15 04:41:49'),(43818,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00037097930908203','192.168.1.254','2019-06-15 04:41:49'),(43819,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0050129890441895','192.168.1.254','2019-06-15 04:41:49'),(43820,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0033588409423828','192.168.1.254','2019-06-15 04:41:49'),(43821,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046896934509277','192.168.1.254','2019-06-15 04:41:49'),(43822,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029993057250977','192.168.1.254','2019-06-15 04:41:49'),(43823,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00027990341186523','192.168.1.254','2019-06-15 04:41:49'),(43824,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00039315223693848','192.168.1.254','2019-06-15 04:41:49'),(43825,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-15 04:41:49'),(43826,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00038409233093262','192.168.1.254','2019-06-15 04:41:49'),(43827,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.00033903121948242','192.168.1.254','2019-06-15 04:41:49'),(43828,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.00057101249694824','192.168.1.254','2019-06-15 04:41:49'),(43829,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.00070405006408691','192.168.1.254','2019-06-15 04:41:49'),(43830,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.00049591064453125','192.168.1.254','2019-06-15 04:41:49'),(43831,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.00051593780517578','192.168.1.254','2019-06-15 04:41:49'),(43832,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.00062179565429688','192.168.1.254','2019-06-15 04:41:49'),(43833,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.00060009956359863','192.168.1.254','2019-06-15 04:41:49'),(43834,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.00057196617126465','192.168.1.254','2019-06-15 04:41:49'),(43835,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.00066089630126953','192.168.1.254','2019-06-15 04:41:49'),(43836,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-15 04:41:49'),(43837,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.0004889965057373','192.168.1.254','2019-06-15 04:41:49'),(43838,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-15 04:41:49'),(43839,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.00052714347839355','192.168.1.254','2019-06-15 04:41:49'),(43840,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.00087118148803711','192.168.1.254','2019-06-15 04:41:49'),(43841,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.00078701972961426','192.168.1.254','2019-06-15 04:41:49'),(43842,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.00081801414489746','192.168.1.254','2019-06-15 04:41:49'),(43843,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.00079798698425293','192.168.1.254','2019-06-15 04:41:49'),(43844,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 995','StaffProfile/new_action_type','0.0004279613494873','192.168.1.254','2019-06-15 04:41:49'),(43845,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.018961906433105','192.168.1.254','2019-06-15 04:43:40'),(43846,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-15 04:43:40'),(43847,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.0012328624725342','192.168.1.254','2019-06-15 04:43:40'),(43848,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.019243955612183','192.168.1.254','2019-06-15 04:43:40'),(43849,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00037503242492676','192.168.1.254','2019-06-15 04:43:40'),(43850,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.0012600421905518','192.168.1.254','2019-06-15 04:43:40'),(43851,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.018688917160034','192.168.1.254','2019-06-15 04:43:40'),(43852,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034809112548828','192.168.1.254','2019-06-15 04:43:40'),(43853,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.0011610984802246','192.168.1.254','2019-06-15 04:43:40'),(43854,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0010769367218018','192.168.1.254','2019-06-15 04:43:40'),(43855,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.019146919250488','192.168.1.254','2019-06-15 04:43:40'),(43856,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028800964355469','192.168.1.254','2019-06-15 04:43:40'),(43857,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00026679039001465','192.168.1.254','2019-06-15 04:43:40'),(43858,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00023889541625977','192.168.1.254','2019-06-15 04:43:40'),(43859,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00025510787963867','192.168.1.254','2019-06-15 04:43:40'),(43860,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041007995605469','192.168.1.254','2019-06-15 04:43:40'),(43861,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034880638122559','192.168.1.254','2019-06-15 04:43:40'),(43862,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036191940307617','192.168.1.254','2019-06-15 04:43:40'),(43863,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.00052094459533691','192.168.1.254','2019-06-15 04:43:40'),(43864,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043320655822754','192.168.1.254','2019-06-15 04:43:40'),(43865,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.026024103164673','192.168.1.254','2019-06-15 04:43:40'),(43866,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.0025429725646973','192.168.1.254','2019-06-15 04:43:40'),(43867,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.00040078163146973','192.168.1.254','2019-06-15 04:43:40'),(43868,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.00055098533630371','192.168.1.254','2019-06-15 04:43:40'),(43869,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00026512145996094','192.168.1.254','2019-06-15 04:43:40'),(43870,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00025510787963867','192.168.1.254','2019-06-15 04:43:40'),(43871,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00024795532226562','192.168.1.254','2019-06-15 04:43:40'),(43872,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00027203559875488','192.168.1.254','2019-06-15 04:43:40'),(43873,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00024580955505371','192.168.1.254','2019-06-15 04:43:40'),(43874,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00038814544677734','192.168.1.254','2019-06-15 04:43:40'),(43875,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0055849552154541','192.168.1.254','2019-06-15 04:43:40'),(43876,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0031619071960449','192.168.1.254','2019-06-15 04:43:40'),(43877,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003969669342041','192.168.1.254','2019-06-15 04:43:40'),(43878,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00024580955505371','192.168.1.254','2019-06-15 04:43:40'),(43879,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00025582313537598','192.168.1.254','2019-06-15 04:43:40'),(43880,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00025391578674316','192.168.1.254','2019-06-15 04:43:40'),(43881,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.00050806999206543','192.168.1.254','2019-06-15 04:43:40'),(43882,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031089782714844','192.168.1.254','2019-06-15 04:43:40'),(43883,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.00032496452331543','192.168.1.254','2019-06-15 04:43:40'),(43884,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.0006251335144043','192.168.1.254','2019-06-15 04:43:40'),(43885,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.0006098747253418','192.168.1.254','2019-06-15 04:43:40'),(43886,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.00043296813964844','192.168.1.254','2019-06-15 04:43:40'),(43887,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.0004730224609375','192.168.1.254','2019-06-15 04:43:40'),(43888,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.00052189826965332','192.168.1.254','2019-06-15 04:43:40'),(43889,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.00048089027404785','192.168.1.254','2019-06-15 04:43:40'),(43890,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.00054001808166504','192.168.1.254','2019-06-15 04:43:40'),(43891,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.00057077407836914','192.168.1.254','2019-06-15 04:43:40'),(43892,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.00046396255493164','192.168.1.254','2019-06-15 04:43:40'),(43893,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.00045394897460938','192.168.1.254','2019-06-15 04:43:40'),(43894,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.00044608116149902','192.168.1.254','2019-06-15 04:43:41'),(43895,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.00047111511230469','192.168.1.254','2019-06-15 04:43:41'),(43896,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.00087094306945801','192.168.1.254','2019-06-15 04:43:41'),(43897,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.00078296661376953','192.168.1.254','2019-06-15 04:43:41'),(43898,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.00082707405090332','192.168.1.254','2019-06-15 04:43:41'),(43899,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.00076794624328613','192.168.1.254','2019-06-15 04:43:41'),(43900,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 995','StaffProfile/new_action_type','0.00046396255493164','192.168.1.254','2019-06-15 04:43:41'),(43901,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.018859148025513','192.168.1.254','2019-06-15 04:44:12'),(43902,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-15 04:44:12'),(43903,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-15 04:44:12'),(43904,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.019493103027344','192.168.1.254','2019-06-15 04:44:12'),(43905,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00039291381835938','192.168.1.254','2019-06-15 04:44:12'),(43906,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.0012121200561523','192.168.1.254','2019-06-15 04:44:12'),(43907,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.020361185073853','192.168.1.254','2019-06-15 04:44:12'),(43908,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00048422813415527','192.168.1.254','2019-06-15 04:44:12'),(43909,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.0012969970703125','192.168.1.254','2019-06-15 04:44:12'),(43910,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0011460781097412','192.168.1.254','2019-06-15 04:44:12'),(43911,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.020699024200439','192.168.1.254','2019-06-15 04:44:12'),(43912,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0002899169921875','192.168.1.254','2019-06-15 04:44:12'),(43913,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032806396484375','192.168.1.254','2019-06-15 04:44:12'),(43914,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0002739429473877','192.168.1.254','2019-06-15 04:44:12'),(43915,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0002748966217041','192.168.1.254','2019-06-15 04:44:12'),(43916,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003969669342041','192.168.1.254','2019-06-15 04:44:12'),(43917,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032997131347656','192.168.1.254','2019-06-15 04:44:12'),(43918,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034618377685547','192.168.1.254','2019-06-15 04:44:12'),(43919,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.00050187110900879','192.168.1.254','2019-06-15 04:44:12'),(43920,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036883354187012','192.168.1.254','2019-06-15 04:44:13'),(43921,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.022126913070679','192.168.1.254','2019-06-15 04:44:13'),(43922,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.0084230899810791','192.168.1.254','2019-06-15 04:44:13'),(43923,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.00041699409484863','192.168.1.254','2019-06-15 04:44:13'),(43924,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.00057101249694824','192.168.1.254','2019-06-15 04:44:13'),(43925,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0002448558807373','192.168.1.254','2019-06-15 04:44:13'),(43926,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00025415420532227','192.168.1.254','2019-06-15 04:44:13'),(43927,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00023984909057617','192.168.1.254','2019-06-15 04:44:13'),(43928,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.000244140625','192.168.1.254','2019-06-15 04:44:13'),(43929,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00024700164794922','192.168.1.254','2019-06-15 04:44:13'),(43930,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034594535827637','192.168.1.254','2019-06-15 04:44:13'),(43931,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0057809352874756','192.168.1.254','2019-06-15 04:44:13'),(43932,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0031578540802002','192.168.1.254','2019-06-15 04:44:13'),(43933,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041484832763672','192.168.1.254','2019-06-15 04:44:13'),(43934,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00025296211242676','192.168.1.254','2019-06-15 04:44:13'),(43935,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00025105476379395','192.168.1.254','2019-06-15 04:44:13'),(43936,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00027585029602051','192.168.1.254','2019-06-15 04:44:13'),(43937,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.00053691864013672','192.168.1.254','2019-06-15 04:44:13'),(43938,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-15 04:44:13'),(43939,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.00030779838562012','192.168.1.254','2019-06-15 04:44:13'),(43940,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.00051283836364746','192.168.1.254','2019-06-15 04:44:13'),(43941,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-15 04:44:13'),(43942,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-15 04:44:13'),(43943,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.00041890144348145','192.168.1.254','2019-06-15 04:44:13'),(43944,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.00052213668823242','192.168.1.254','2019-06-15 04:44:13'),(43945,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.00047993659973145','192.168.1.254','2019-06-15 04:44:13'),(43946,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.00047206878662109','192.168.1.254','2019-06-15 04:44:13'),(43947,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.0005500316619873','192.168.1.254','2019-06-15 04:44:13'),(43948,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.00054287910461426','192.168.1.254','2019-06-15 04:44:13'),(43949,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.00046801567077637','192.168.1.254','2019-06-15 04:44:13'),(43950,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.00041413307189941','192.168.1.254','2019-06-15 04:44:13'),(43951,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.00044417381286621','192.168.1.254','2019-06-15 04:44:13'),(43952,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.00090312957763672','192.168.1.254','2019-06-15 04:44:13'),(43953,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.00076198577880859','192.168.1.254','2019-06-15 04:44:13'),(43954,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.00080394744873047','192.168.1.254','2019-06-15 04:44:13'),(43955,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.00082492828369141','192.168.1.254','2019-06-15 04:44:13'),(43956,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 995','StaffProfile/new_action_type','0.00041818618774414','192.168.1.254','2019-06-15 04:44:13'),(43957,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.019784927368164','192.168.1.254','2019-06-15 04:45:10'),(43958,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-15 04:45:10'),(43959,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.0012838840484619','192.168.1.254','2019-06-15 04:45:10'),(43960,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.019336938858032','192.168.1.254','2019-06-15 04:45:10'),(43961,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034904479980469','192.168.1.254','2019-06-15 04:45:10'),(43962,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.0012068748474121','192.168.1.254','2019-06-15 04:45:10'),(43963,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.019150972366333','192.168.1.254','2019-06-15 04:45:10'),(43964,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00038695335388184','192.168.1.254','2019-06-15 04:45:10'),(43965,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.0011839866638184','192.168.1.254','2019-06-15 04:45:10'),(43966,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00105881690979','192.168.1.254','2019-06-15 04:45:10'),(43967,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.019173860549927','192.168.1.254','2019-06-15 04:45:10'),(43968,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030303001403809','192.168.1.254','2019-06-15 04:45:10'),(43969,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028085708618164','192.168.1.254','2019-06-15 04:45:10'),(43970,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030994415283203','192.168.1.254','2019-06-15 04:45:10'),(43971,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00026798248291016','192.168.1.254','2019-06-15 04:45:10'),(43972,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-15 04:45:10'),(43973,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031709671020508','192.168.1.254','2019-06-15 04:45:10'),(43974,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035405158996582','192.168.1.254','2019-06-15 04:45:10'),(43975,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.00049901008605957','192.168.1.254','2019-06-15 04:45:10'),(43976,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033187866210938','192.168.1.254','2019-06-15 04:45:10'),(43977,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.027889966964722','192.168.1.254','2019-06-15 04:45:10'),(43978,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.0043179988861084','192.168.1.254','2019-06-15 04:45:10'),(43979,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.00043916702270508','192.168.1.254','2019-06-15 04:45:10'),(43980,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.00054693222045898','192.168.1.254','2019-06-15 04:45:10'),(43981,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00026392936706543','192.168.1.254','2019-06-15 04:45:10'),(43982,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00024604797363281','192.168.1.254','2019-06-15 04:45:10'),(43983,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00024986267089844','192.168.1.254','2019-06-15 04:45:10'),(43984,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00023794174194336','192.168.1.254','2019-06-15 04:45:11'),(43985,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00025200843811035','192.168.1.254','2019-06-15 04:45:11'),(43986,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034189224243164','192.168.1.254','2019-06-15 04:45:11'),(43987,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0058372020721436','192.168.1.254','2019-06-15 04:45:11'),(43988,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0033378601074219','192.168.1.254','2019-06-15 04:45:11'),(43989,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043988227844238','192.168.1.254','2019-06-15 04:45:11'),(43990,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030398368835449','192.168.1.254','2019-06-15 04:45:11'),(43991,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029397010803223','192.168.1.254','2019-06-15 04:45:11'),(43992,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030899047851562','192.168.1.254','2019-06-15 04:45:11'),(43993,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.00054192543029785','192.168.1.254','2019-06-15 04:45:11'),(43994,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034785270690918','192.168.1.254','2019-06-15 04:45:11'),(43995,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.00032997131347656','192.168.1.254','2019-06-15 04:45:11'),(43996,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.00050783157348633','192.168.1.254','2019-06-15 04:45:11'),(43997,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.00059700012207031','192.168.1.254','2019-06-15 04:45:11'),(43998,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.00049996376037598','192.168.1.254','2019-06-15 04:45:11'),(43999,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.00050592422485352','192.168.1.254','2019-06-15 04:45:11'),(44000,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.00059318542480469','192.168.1.254','2019-06-15 04:45:11'),(44001,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.00057220458984375','192.168.1.254','2019-06-15 04:45:11'),(44002,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.00057101249694824','192.168.1.254','2019-06-15 04:45:11'),(44003,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.00061798095703125','192.168.1.254','2019-06-15 04:45:11'),(44004,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.00050711631774902','192.168.1.254','2019-06-15 04:45:11'),(44005,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.00049185752868652','192.168.1.254','2019-06-15 04:45:11'),(44006,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.00050091743469238','192.168.1.254','2019-06-15 04:45:11'),(44007,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.00051307678222656','192.168.1.254','2019-06-15 04:45:11'),(44008,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.0009610652923584','192.168.1.254','2019-06-15 04:45:11'),(44009,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.00082778930664062','192.168.1.254','2019-06-15 04:45:11'),(44010,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-15 04:45:11'),(44011,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.00084304809570312','192.168.1.254','2019-06-15 04:45:11'),(44012,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 995','StaffProfile/new_action_type','0.0003969669342041','192.168.1.254','2019-06-15 04:45:11'),(44013,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.01932692527771','192.168.1.254','2019-06-15 04:46:07'),(44014,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-15 04:46:07'),(44015,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.001227855682373','192.168.1.254','2019-06-15 04:46:07'),(44016,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.02054500579834','192.168.1.254','2019-06-15 04:46:07'),(44017,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00037479400634766','192.168.1.254','2019-06-15 04:46:07'),(44018,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.0013270378112793','192.168.1.254','2019-06-15 04:46:07'),(44019,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.018533945083618','192.168.1.254','2019-06-15 04:46:07'),(44020,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036907196044922','192.168.1.254','2019-06-15 04:46:07'),(44021,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.0012240409851074','192.168.1.254','2019-06-15 04:46:07'),(44022,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0011458396911621','192.168.1.254','2019-06-15 04:46:07'),(44023,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.021049022674561','192.168.1.254','2019-06-15 04:46:07'),(44024,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030398368835449','192.168.1.254','2019-06-15 04:46:07'),(44025,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028204917907715','192.168.1.254','2019-06-15 04:46:07'),(44026,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.000244140625','192.168.1.254','2019-06-15 04:46:07'),(44027,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00026106834411621','192.168.1.254','2019-06-15 04:46:07'),(44028,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00038313865661621','192.168.1.254','2019-06-15 04:46:07'),(44029,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031900405883789','192.168.1.254','2019-06-15 04:46:07'),(44030,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040006637573242','192.168.1.254','2019-06-15 04:46:07'),(44031,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.00056219100952148','192.168.1.254','2019-06-15 04:46:07'),(44032,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032782554626465','192.168.1.254','2019-06-15 04:46:07'),(44033,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.027283906936646','192.168.1.254','2019-06-15 04:46:07'),(44034,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.002791166305542','192.168.1.254','2019-06-15 04:46:07'),(44035,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.00042605400085449','192.168.1.254','2019-06-15 04:46:07'),(44036,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.00059700012207031','192.168.1.254','2019-06-15 04:46:07'),(44037,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003349781036377','192.168.1.254','2019-06-15 04:46:07'),(44038,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030899047851562','192.168.1.254','2019-06-15 04:46:07'),(44039,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029301643371582','192.168.1.254','2019-06-15 04:46:07'),(44040,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00027799606323242','192.168.1.254','2019-06-15 04:46:07'),(44041,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00027585029602051','192.168.1.254','2019-06-15 04:46:07'),(44042,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036501884460449','192.168.1.254','2019-06-15 04:46:07'),(44043,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0058538913726807','192.168.1.254','2019-06-15 04:46:07'),(44044,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0032680034637451','192.168.1.254','2019-06-15 04:46:07'),(44045,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0004279613494873','192.168.1.254','2019-06-15 04:46:07'),(44046,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00026297569274902','192.168.1.254','2019-06-15 04:46:07'),(44047,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00024294853210449','192.168.1.254','2019-06-15 04:46:07'),(44048,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00025200843811035','192.168.1.254','2019-06-15 04:46:07'),(44049,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.00055289268493652','192.168.1.254','2019-06-15 04:46:07'),(44050,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032591819763184','192.168.1.254','2019-06-15 04:46:07'),(44051,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.00032806396484375','192.168.1.254','2019-06-15 04:46:07'),(44052,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.00054383277893066','192.168.1.254','2019-06-15 04:46:07'),(44053,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.00058794021606445','192.168.1.254','2019-06-15 04:46:07'),(44054,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.00039005279541016','192.168.1.254','2019-06-15 04:46:07'),(44055,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.00039005279541016','192.168.1.254','2019-06-15 04:46:07'),(44056,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.0005638599395752','192.168.1.254','2019-06-15 04:46:07'),(44057,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.00052809715270996','192.168.1.254','2019-06-15 04:46:07'),(44058,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.00048112869262695','192.168.1.254','2019-06-15 04:46:07'),(44059,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.00056314468383789','192.168.1.254','2019-06-15 04:46:07'),(44060,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.00044393539428711','192.168.1.254','2019-06-15 04:46:07'),(44061,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.00043511390686035','192.168.1.254','2019-06-15 04:46:07'),(44062,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.00044012069702148','192.168.1.254','2019-06-15 04:46:07'),(44063,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.00041413307189941','192.168.1.254','2019-06-15 04:46:07'),(44064,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.00086593627929688','192.168.1.254','2019-06-15 04:46:07'),(44065,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.00083708763122559','192.168.1.254','2019-06-15 04:46:07'),(44066,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.00080609321594238','192.168.1.254','2019-06-15 04:46:07'),(44067,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.0007939338684082','192.168.1.254','2019-06-15 04:46:07'),(44068,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 995','StaffProfile/new_action_type','0.0004580020904541','192.168.1.254','2019-06-15 04:46:07'),(44069,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.018980026245117','192.168.1.254','2019-06-15 04:46:49'),(44070,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00037097930908203','192.168.1.254','2019-06-15 04:46:49'),(44071,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-15 04:46:49'),(44072,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.019026041030884','192.168.1.254','2019-06-15 04:46:49'),(44073,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00043296813964844','192.168.1.254','2019-06-15 04:46:49'),(44074,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-15 04:46:49'),(44075,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.019366979598999','192.168.1.254','2019-06-15 04:46:49'),(44076,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00036811828613281','192.168.1.254','2019-06-15 04:46:49'),(44077,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.0013220310211182','192.168.1.254','2019-06-15 04:46:49'),(44078,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.00086402893066406','192.168.1.254','2019-06-15 04:46:49'),(44079,23,NULL,'insert','INSERT INTO `_log__module_session` (`module_id`, `user_session_id`) VALUES (4, 997)','leave/index','0.15671396255493','192.168.1.254','2019-06-15 04:46:49'),(44080,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave','0.00063800811767578','192.168.1.254','2019-06-15 04:46:49'),(44081,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave','0.00035214424133301','192.168.1.254','2019-06-15 04:46:49'),(44082,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.00071597099304199','192.168.1.254','2019-06-15 04:46:49'),(44083,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.030496835708618','192.168.1.254','2019-06-15 04:46:49'),(44084,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.0079920291900635','192.168.1.254','2019-06-15 04:46:50'),(44085,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-15\' BETWEEN `a`.`date_from` AND a.date_to)\nOR (\'2019-06-22\' BETWEEN `a`.`date_from` and a.date_to)\nOR (`a`.`date_from` BETWEEN \'2019-06-15\' AND \'2019-06-22\')\nOR (`a`.`date_to` BETWEEN \'2019-06-15\' AND \'2019-06-22\')\n )','/salihin-digital/hr/leave','0.0019729137420654','192.168.1.254','2019-06-15 04:46:50'),(44086,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.019534111022949','192.168.1.254','2019-06-15 04:46:50'),(44087,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave','0.00037598609924316','192.168.1.254','2019-06-15 04:46:50'),(44088,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.00058794021606445','192.168.1.254','2019-06-15 04:46:50'),(44089,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.0022060871124268','192.168.1.254','2019-06-15 04:46:50'),(44090,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.0095829963684082','192.168.1.254','2019-06-15 04:46:50'),(44091,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.019747018814087','192.168.1.254','2019-06-15 04:46:50'),(44092,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.0018949508666992','192.168.1.254','2019-06-15 04:46:50'),(44093,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.025806903839111','192.168.1.254','2019-06-15 04:46:50'),(44094,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.0005338191986084','192.168.1.254','2019-06-15 04:46:50'),(44095,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.0009009838104248','192.168.1.254','2019-06-15 04:46:50'),(44096,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.00082302093505859','192.168.1.254','2019-06-15 04:46:50'),(44097,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.00084114074707031','192.168.1.254','2019-06-15 04:46:50'),(44098,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.00080990791320801','192.168.1.254','2019-06-15 04:46:50'),(44099,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/\'\nWHERE id = 997','leave/index','0.00036287307739258','192.168.1.254','2019-06-15 04:46:50'),(44100,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.019032955169678','192.168.1.254','2019-06-15 04:46:54'),(44101,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/','0.00041007995605469','192.168.1.254','2019-06-15 04:46:54'),(44102,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.0013561248779297','192.168.1.254','2019-06-15 04:46:54'),(44103,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.019145965576172','192.168.1.254','2019-06-15 04:46:54'),(44104,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/','0.00038981437683105','192.168.1.254','2019-06-15 04:46:54'),(44105,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.001410961151123','192.168.1.254','2019-06-15 04:46:54'),(44106,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.019783020019531','192.168.1.254','2019-06-15 04:46:54'),(44107,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/','0.00033903121948242','192.168.1.254','2019-06-15 04:46:54'),(44108,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.0013620853424072','192.168.1.254','2019-06-15 04:46:54'),(44109,23,NULL,'update','UPDATE `_log__module_session` SET `logout_ts` = \'2019-06-15 12:46:51\'\nWHERE id = 306','web/index','0.01972484588623','192.168.1.254','2019-06-15 04:46:54'),(44110,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'\'\nWHERE id = 997','web/index','0.00041389465332031','192.168.1.254','2019-06-15 04:46:54'),(44111,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.019531011581421','192.168.1.254','2019-06-15 04:47:14'),(44112,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00037002563476562','192.168.1.254','2019-06-15 04:47:14'),(44113,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.0013449192047119','192.168.1.254','2019-06-15 04:47:14'),(44114,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.019284963607788','192.168.1.254','2019-06-15 04:47:14'),(44115,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00037193298339844','192.168.1.254','2019-06-15 04:47:14'),(44116,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-15 04:47:14'),(44117,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.018706083297729','192.168.1.254','2019-06-15 04:47:14'),(44118,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00033807754516602','192.168.1.254','2019-06-15 04:47:14'),(44119,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.0012729167938232','192.168.1.254','2019-06-15 04:47:14'),(44120,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.00085687637329102','192.168.1.254','2019-06-15 04:47:14'),(44121,23,NULL,'insert','INSERT INTO `_log__module_session` (`module_id`, `user_session_id`) VALUES (4, 997)','leave/index','0.11289215087891','192.168.1.254','2019-06-15 04:47:14'),(44122,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave','0.00061988830566406','192.168.1.254','2019-06-15 04:47:14'),(44123,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave','0.00035405158996582','192.168.1.254','2019-06-15 04:47:14'),(44124,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-15 04:47:14'),(44125,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.032608032226562','192.168.1.254','2019-06-15 04:47:14'),(44126,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.0070009231567383','192.168.1.254','2019-06-15 04:47:14'),(44127,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-15\' BETWEEN `a`.`date_from` AND a.date_to)\nOR (\'2019-06-22\' BETWEEN `a`.`date_from` and a.date_to)\nOR (`a`.`date_from` BETWEEN \'2019-06-15\' AND \'2019-06-22\')\nOR (`a`.`date_to` BETWEEN \'2019-06-15\' AND \'2019-06-22\')\n )','/salihin-digital/hr/leave','0.0019829273223877','192.168.1.254','2019-06-15 04:47:14'),(44128,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.019191980361938','192.168.1.254','2019-06-15 04:47:14'),(44129,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave','0.00031185150146484','192.168.1.254','2019-06-15 04:47:14'),(44130,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.00055289268493652','192.168.1.254','2019-06-15 04:47:14'),(44131,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.0020279884338379','192.168.1.254','2019-06-15 04:47:14'),(44132,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.0075969696044922','192.168.1.254','2019-06-15 04:47:14'),(44133,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.019637823104858','192.168.1.254','2019-06-15 04:47:14'),(44134,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.0020790100097656','192.168.1.254','2019-06-15 04:47:14'),(44135,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.028546094894409','192.168.1.254','2019-06-15 04:47:14'),(44136,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.00053286552429199','192.168.1.254','2019-06-15 04:47:14'),(44137,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.00085186958312988','192.168.1.254','2019-06-15 04:47:14'),(44138,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.000823974609375','192.168.1.254','2019-06-15 04:47:15'),(44139,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.00081992149353027','192.168.1.254','2019-06-15 04:47:15'),(44140,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.00084590911865234','192.168.1.254','2019-06-15 04:47:15'),(44141,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/\'\nWHERE id = 997','leave/index','0.00041818618774414','192.168.1.254','2019-06-15 04:47:15'),(44142,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.020156145095825','192.168.1.254','2019-06-15 04:47:18'),(44143,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/','0.00043296813964844','192.168.1.254','2019-06-15 04:47:18'),(44144,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-15 04:47:18'),(44145,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.019153118133545','192.168.1.254','2019-06-15 04:47:18'),(44146,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/','0.00038695335388184','192.168.1.254','2019-06-15 04:47:18'),(44147,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-15 04:47:18'),(44148,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.019198179244995','192.168.1.254','2019-06-15 04:47:18'),(44149,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/','0.00034689903259277','192.168.1.254','2019-06-15 04:47:18'),(44150,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.001370906829834','192.168.1.254','2019-06-15 04:47:18'),(44151,23,NULL,'update','UPDATE `_log__module_session` SET `logout_ts` = \'2019-06-15 12:47:16\'\nWHERE id = 307','web/index','0.023275136947632','192.168.1.254','2019-06-15 04:47:18'),(44152,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'\'\nWHERE id = 997','web/index','0.00036883354187012','192.168.1.254','2019-06-15 04:47:18'),(44153,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.020914077758789','192.168.1.254','2019-06-15 04:48:12'),(44154,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00042200088500977','192.168.1.254','2019-06-15 04:48:12'),(44155,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.0013890266418457','192.168.1.254','2019-06-15 04:48:12'),(44156,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.019158124923706','192.168.1.254','2019-06-15 04:48:12'),(44157,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00032401084899902','192.168.1.254','2019-06-15 04:48:12'),(44158,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.0013511180877686','192.168.1.254','2019-06-15 04:48:12'),(44159,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.019392967224121','192.168.1.254','2019-06-15 04:48:12'),(44160,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00036907196044922','192.168.1.254','2019-06-15 04:48:12'),(44161,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.001276969909668','192.168.1.254','2019-06-15 04:48:12'),(44162,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.00089383125305176','192.168.1.254','2019-06-15 04:48:12'),(44163,23,NULL,'insert','INSERT INTO `_log__module_session` (`module_id`, `user_session_id`) VALUES (4, 997)','leave/index','0.027600049972534','192.168.1.254','2019-06-15 04:48:12'),(44164,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave','0.00064301490783691','192.168.1.254','2019-06-15 04:48:12'),(44165,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave','0.00034904479980469','192.168.1.254','2019-06-15 04:48:12'),(44166,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.0006868839263916','192.168.1.254','2019-06-15 04:48:12'),(44167,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.03049898147583','192.168.1.254','2019-06-15 04:48:12'),(44168,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.0093998908996582','192.168.1.254','2019-06-15 04:48:12'),(44169,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-15\' BETWEEN `a`.`date_from` AND a.date_to)\nOR (\'2019-06-22\' BETWEEN `a`.`date_from` and a.date_to)\nOR (`a`.`date_from` BETWEEN \'2019-06-15\' AND \'2019-06-22\')\nOR (`a`.`date_to` BETWEEN \'2019-06-15\' AND \'2019-06-22\')\n )','/salihin-digital/hr/leave','0.002249002456665','192.168.1.254','2019-06-15 04:48:12'),(44170,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.0191810131073','192.168.1.254','2019-06-15 04:48:12'),(44171,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave','0.0003049373626709','192.168.1.254','2019-06-15 04:48:12'),(44172,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.00055217742919922','192.168.1.254','2019-06-15 04:48:12'),(44173,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.0020558834075928','192.168.1.254','2019-06-15 04:48:12'),(44174,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.0080578327178955','192.168.1.254','2019-06-15 04:48:12'),(44175,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.019231081008911','192.168.1.254','2019-06-15 04:48:12'),(44176,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.0020620822906494','192.168.1.254','2019-06-15 04:48:12'),(44177,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.025891065597534','192.168.1.254','2019-06-15 04:48:12'),(44178,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.00051712989807129','192.168.1.254','2019-06-15 04:48:12'),(44179,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.00084996223449707','192.168.1.254','2019-06-15 04:48:12'),(44180,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.00084185600280762','192.168.1.254','2019-06-15 04:48:12'),(44181,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.00080490112304688','192.168.1.254','2019-06-15 04:48:12'),(44182,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.00087618827819824','192.168.1.254','2019-06-15 04:48:12'),(44183,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/\'\nWHERE id = 997','leave/index','0.00042986869812012','192.168.1.254','2019-06-15 04:48:12'),(44184,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.019722938537598','192.168.1.254','2019-06-15 04:48:21'),(44185,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00038003921508789','192.168.1.254','2019-06-15 04:48:21'),(44186,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.0011930465698242','192.168.1.254','2019-06-15 04:48:21'),(44187,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.0205078125','192.168.1.254','2019-06-15 04:48:21'),(44188,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00037217140197754','192.168.1.254','2019-06-15 04:48:21'),(44189,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.0012478828430176','192.168.1.254','2019-06-15 04:48:21'),(44190,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.020263910293579','192.168.1.254','2019-06-15 04:48:21'),(44191,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003659725189209','192.168.1.254','2019-06-15 04:48:21'),(44192,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.0011849403381348','192.168.1.254','2019-06-15 04:48:21'),(44193,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0011568069458008','192.168.1.254','2019-06-15 04:48:21'),(44194,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.019706010818481','192.168.1.254','2019-06-15 04:48:21'),(44195,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032401084899902','192.168.1.254','2019-06-15 04:48:21'),(44196,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031805038452148','192.168.1.254','2019-06-15 04:48:21'),(44197,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028896331787109','192.168.1.254','2019-06-15 04:48:21'),(44198,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030612945556641','192.168.1.254','2019-06-15 04:48:21'),(44199,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043511390686035','192.168.1.254','2019-06-15 04:48:21'),(44200,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035905838012695','192.168.1.254','2019-06-15 04:48:21'),(44201,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040602684020996','192.168.1.254','2019-06-15 04:48:21'),(44202,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.00051498413085938','192.168.1.254','2019-06-15 04:48:21'),(44203,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00038814544677734','192.168.1.254','2019-06-15 04:48:21'),(44204,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.028423070907593','192.168.1.254','2019-06-15 04:48:21'),(44205,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.0051770210266113','192.168.1.254','2019-06-15 04:48:21'),(44206,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.0004270076751709','192.168.1.254','2019-06-15 04:48:21'),(44207,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-15 04:48:21'),(44208,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00025200843811035','192.168.1.254','2019-06-15 04:48:21'),(44209,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029706954956055','192.168.1.254','2019-06-15 04:48:21'),(44210,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00027298927307129','192.168.1.254','2019-06-15 04:48:21'),(44211,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00027704238891602','192.168.1.254','2019-06-15 04:48:21'),(44212,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00025796890258789','192.168.1.254','2019-06-15 04:48:21'),(44213,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035285949707031','192.168.1.254','2019-06-15 04:48:21'),(44214,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0056169033050537','192.168.1.254','2019-06-15 04:48:21'),(44215,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0032107830047607','192.168.1.254','2019-06-15 04:48:21'),(44216,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041985511779785','192.168.1.254','2019-06-15 04:48:21'),(44217,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00025606155395508','192.168.1.254','2019-06-15 04:48:21'),(44218,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00026106834411621','192.168.1.254','2019-06-15 04:48:21'),(44219,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031113624572754','192.168.1.254','2019-06-15 04:48:21'),(44220,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.00049901008605957','192.168.1.254','2019-06-15 04:48:21'),(44221,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034093856811523','192.168.1.254','2019-06-15 04:48:21'),(44222,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.00030994415283203','192.168.1.254','2019-06-15 04:48:21'),(44223,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.00052189826965332','192.168.1.254','2019-06-15 04:48:21'),(44224,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.00056886672973633','192.168.1.254','2019-06-15 04:48:21'),(44225,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.00042581558227539','192.168.1.254','2019-06-15 04:48:21'),(44226,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.00041007995605469','192.168.1.254','2019-06-15 04:48:21'),(44227,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.0004880428314209','192.168.1.254','2019-06-15 04:48:21'),(44228,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.00059413909912109','192.168.1.254','2019-06-15 04:48:21'),(44229,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.00058794021606445','192.168.1.254','2019-06-15 04:48:21'),(44230,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.0006101131439209','192.168.1.254','2019-06-15 04:48:22'),(44231,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.0005180835723877','192.168.1.254','2019-06-15 04:48:22'),(44232,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.00050187110900879','192.168.1.254','2019-06-15 04:48:22'),(44233,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.00050497055053711','192.168.1.254','2019-06-15 04:48:22'),(44234,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.00049114227294922','192.168.1.254','2019-06-15 04:48:22'),(44235,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.00089907646179199','192.168.1.254','2019-06-15 04:48:22'),(44236,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.00085687637329102','192.168.1.254','2019-06-15 04:48:22'),(44237,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.00086712837219238','192.168.1.254','2019-06-15 04:48:22'),(44238,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.0008540153503418','192.168.1.254','2019-06-15 04:48:22'),(44239,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 995','StaffProfile/new_action_type','0.00033116340637207','192.168.1.254','2019-06-15 04:48:22'),(44240,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.019337892532349','192.168.1.254','2019-06-15 04:48:55'),(44241,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-15 04:48:55'),(44242,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-15 04:48:55'),(44243,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.020373106002808','192.168.1.254','2019-06-15 04:48:55'),(44244,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003969669342041','192.168.1.254','2019-06-15 04:48:55'),(44245,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.0012359619140625','192.168.1.254','2019-06-15 04:48:55'),(44246,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.019519090652466','192.168.1.254','2019-06-15 04:48:55'),(44247,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-15 04:48:55'),(44248,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.0011849403381348','192.168.1.254','2019-06-15 04:48:55'),(44249,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0010290145874023','192.168.1.254','2019-06-15 04:48:55'),(44250,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.021402835845947','192.168.1.254','2019-06-15 04:48:55'),(44251,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029611587524414','192.168.1.254','2019-06-15 04:48:56'),(44252,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0002439022064209','192.168.1.254','2019-06-15 04:48:56'),(44253,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00026702880859375','192.168.1.254','2019-06-15 04:48:56'),(44254,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00023698806762695','192.168.1.254','2019-06-15 04:48:56'),(44255,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00039219856262207','192.168.1.254','2019-06-15 04:48:56'),(44256,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031590461730957','192.168.1.254','2019-06-15 04:48:56'),(44257,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00038290023803711','192.168.1.254','2019-06-15 04:48:56'),(44258,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.00053596496582031','192.168.1.254','2019-06-15 04:48:56'),(44259,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00037002563476562','192.168.1.254','2019-06-15 04:48:56'),(44260,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.0294189453125','192.168.1.254','2019-06-15 04:48:56'),(44261,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.0048799514770508','192.168.1.254','2019-06-15 04:48:56'),(44262,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.00041103363037109','192.168.1.254','2019-06-15 04:48:56'),(44263,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.00052905082702637','192.168.1.254','2019-06-15 04:48:56'),(44264,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028419494628906','192.168.1.254','2019-06-15 04:48:56'),(44265,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00027012825012207','192.168.1.254','2019-06-15 04:48:56'),(44266,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00025486946105957','192.168.1.254','2019-06-15 04:48:56'),(44267,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00024294853210449','192.168.1.254','2019-06-15 04:48:56'),(44268,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00024008750915527','192.168.1.254','2019-06-15 04:48:56'),(44269,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00037097930908203','192.168.1.254','2019-06-15 04:48:56'),(44270,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0057787895202637','192.168.1.254','2019-06-15 04:48:56'),(44271,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0031778812408447','192.168.1.254','2019-06-15 04:48:56'),(44272,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040411949157715','192.168.1.254','2019-06-15 04:48:56'),(44273,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00026297569274902','192.168.1.254','2019-06-15 04:48:56'),(44274,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00025796890258789','192.168.1.254','2019-06-15 04:48:56'),(44275,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00026893615722656','192.168.1.254','2019-06-15 04:48:56'),(44276,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.00048518180847168','192.168.1.254','2019-06-15 04:48:56'),(44277,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035309791564941','192.168.1.254','2019-06-15 04:48:56'),(44278,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.0003199577331543','192.168.1.254','2019-06-15 04:48:56'),(44279,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.00052094459533691','192.168.1.254','2019-06-15 04:48:56'),(44280,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.00053501129150391','192.168.1.254','2019-06-15 04:48:56'),(44281,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.00040316581726074','192.168.1.254','2019-06-15 04:48:56'),(44282,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.00043582916259766','192.168.1.254','2019-06-15 04:48:56'),(44283,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.00052404403686523','192.168.1.254','2019-06-15 04:48:56'),(44284,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.00049090385437012','192.168.1.254','2019-06-15 04:48:56'),(44285,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.00047802925109863','192.168.1.254','2019-06-15 04:48:56'),(44286,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.00051617622375488','192.168.1.254','2019-06-15 04:48:56'),(44287,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.00042200088500977','192.168.1.254','2019-06-15 04:48:56'),(44288,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.00040793418884277','192.168.1.254','2019-06-15 04:48:56'),(44289,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.0003969669342041','192.168.1.254','2019-06-15 04:48:56'),(44290,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.00042319297790527','192.168.1.254','2019-06-15 04:48:56'),(44291,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.00083708763122559','192.168.1.254','2019-06-15 04:48:56'),(44292,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.00079607963562012','192.168.1.254','2019-06-15 04:48:56'),(44293,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.0008389949798584','192.168.1.254','2019-06-15 04:48:56'),(44294,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.00080490112304688','192.168.1.254','2019-06-15 04:48:56'),(44295,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 995','StaffProfile/new_action_type','0.00047016143798828','192.168.1.254','2019-06-15 04:48:56'),(44296,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.018877983093262','192.168.1.254','2019-06-15 04:55:05'),(44297,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-15 04:55:05'),(44298,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.0012481212615967','192.168.1.254','2019-06-15 04:55:05'),(44299,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.019284963607788','192.168.1.254','2019-06-15 04:55:05'),(44300,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-15 04:55:05'),(44301,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-15 04:55:05'),(44302,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.018961906433105','192.168.1.254','2019-06-15 04:55:05'),(44303,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043988227844238','192.168.1.254','2019-06-15 04:55:05'),(44304,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-15 04:55:05'),(44305,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0010600090026855','192.168.1.254','2019-06-15 04:55:05'),(44306,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.021245002746582','192.168.1.254','2019-06-15 04:55:05'),(44307,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031304359436035','192.168.1.254','2019-06-15 04:55:05'),(44308,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00027012825012207','192.168.1.254','2019-06-15 04:55:06'),(44309,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00024509429931641','192.168.1.254','2019-06-15 04:55:06'),(44310,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00025820732116699','192.168.1.254','2019-06-15 04:55:06'),(44311,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040006637573242','192.168.1.254','2019-06-15 04:55:06'),(44312,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041389465332031','192.168.1.254','2019-06-15 04:55:06'),(44313,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035190582275391','192.168.1.254','2019-06-15 04:55:06'),(44314,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.0005650520324707','192.168.1.254','2019-06-15 04:55:06'),(44315,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00038599967956543','192.168.1.254','2019-06-15 04:55:06'),(44316,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.02695107460022','192.168.1.254','2019-06-15 04:55:06'),(44317,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.004518985748291','192.168.1.254','2019-06-15 04:55:06'),(44318,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.00039911270141602','192.168.1.254','2019-06-15 04:55:06'),(44319,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.00052690505981445','192.168.1.254','2019-06-15 04:55:06'),(44320,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00025200843811035','192.168.1.254','2019-06-15 04:55:06'),(44321,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00027990341186523','192.168.1.254','2019-06-15 04:55:06'),(44322,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0002448558807373','192.168.1.254','2019-06-15 04:55:06'),(44323,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00024199485778809','192.168.1.254','2019-06-15 04:55:06'),(44324,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00022506713867188','192.168.1.254','2019-06-15 04:55:06'),(44325,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033283233642578','192.168.1.254','2019-06-15 04:55:06'),(44326,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0056560039520264','192.168.1.254','2019-06-15 04:55:06'),(44327,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0032851696014404','192.168.1.254','2019-06-15 04:55:06'),(44328,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043892860412598','192.168.1.254','2019-06-15 04:55:06'),(44329,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00024604797363281','192.168.1.254','2019-06-15 04:55:06'),(44330,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00025486946105957','192.168.1.254','2019-06-15 04:55:06'),(44331,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00027894973754883','192.168.1.254','2019-06-15 04:55:06'),(44332,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.00049304962158203','192.168.1.254','2019-06-15 04:55:06'),(44333,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032997131347656','192.168.1.254','2019-06-15 04:55:06'),(44334,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.00031304359436035','192.168.1.254','2019-06-15 04:55:06'),(44335,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.00050520896911621','192.168.1.254','2019-06-15 04:55:06'),(44336,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.00054097175598145','192.168.1.254','2019-06-15 04:55:06'),(44337,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.00043010711669922','192.168.1.254','2019-06-15 04:55:06'),(44338,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.00041079521179199','192.168.1.254','2019-06-15 04:55:06'),(44339,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.00049495697021484','192.168.1.254','2019-06-15 04:55:06'),(44340,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.00051188468933105','192.168.1.254','2019-06-15 04:55:06'),(44341,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.00051212310791016','192.168.1.254','2019-06-15 04:55:06'),(44342,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-15 04:55:06'),(44343,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.00045990943908691','192.168.1.254','2019-06-15 04:55:06'),(44344,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.00044488906860352','192.168.1.254','2019-06-15 04:55:06'),(44345,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.00043702125549316','192.168.1.254','2019-06-15 04:55:06'),(44346,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.00046896934509277','192.168.1.254','2019-06-15 04:55:06'),(44347,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.00086212158203125','192.168.1.254','2019-06-15 04:55:06'),(44348,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.00082087516784668','192.168.1.254','2019-06-15 04:55:06'),(44349,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.00078797340393066','192.168.1.254','2019-06-15 04:55:06'),(44350,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-15 04:55:06'),(44351,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 995','StaffProfile/new_action_type','0.00041794776916504','192.168.1.254','2019-06-15 04:55:06'),(44352,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.018934011459351','192.168.1.254','2019-06-15 04:55:14'),(44353,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.0003659725189209','192.168.1.254','2019-06-15 04:55:14'),(44354,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.0013070106506348','192.168.1.254','2019-06-15 04:55:14'),(44355,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.018906831741333','192.168.1.254','2019-06-15 04:55:14'),(44356,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.00042486190795898','192.168.1.254','2019-06-15 04:55:14'),(44357,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.0013461112976074','192.168.1.254','2019-06-15 04:55:14'),(44358,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.018990039825439','192.168.1.254','2019-06-15 04:55:14'),(44359,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.00040912628173828','192.168.1.254','2019-06-15 04:55:14'),(44360,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.001492977142334','192.168.1.254','2019-06-15 04:55:14'),(44361,23,NULL,'update','UPDATE `_log__module_session` SET `logout_ts` = \'2019-06-15 12:55:11\'\nWHERE id = 308','/index','0.2821741104126','192.168.1.254','2019-06-15 04:55:14'),(44362,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 = 997','/index','0.00037503242492676','192.168.1.254','2019-06-15 04:55:14'),(44363,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/kbs/search','0.019509077072144','192.168.1.254','2019-06-15 04:55:17'),(44364,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/search','0.00040817260742188','192.168.1.254','2019-06-15 04:55:17'),(44365,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/kbs/search','0.0013470649719238','192.168.1.254','2019-06-15 04:55:17'),(44366,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/kbs/search','0.019686937332153','192.168.1.254','2019-06-15 04:55:17'),(44367,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/search','0.00042200088500977','192.168.1.254','2019-06-15 04:55:17'),(44368,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/kbs/search','0.0013961791992188','192.168.1.254','2019-06-15 04:55:17'),(44369,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/kbs/search','0.02042293548584','192.168.1.254','2019-06-15 04:55:17'),(44370,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/search','0.00042390823364258','192.168.1.254','2019-06-15 04:55:17'),(44371,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/kbs/search','0.0013618469238281','192.168.1.254','2019-06-15 04:55:17'),(44372,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/kbs/search','0.00087594985961914','192.168.1.254','2019-06-15 04:55:17'),(44373,23,NULL,'insert','INSERT INTO `_log__module_session` (`module_id`, `user_session_id`) VALUES (3, 997)','kbs/search','0.02243185043335','192.168.1.254','2019-06-15 04:55:17'),(44374,23,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/kbs/search','0.00052499771118164','192.168.1.254','2019-06-15 04:55:17'),(44375,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/kbs/search','0.00090503692626953','192.168.1.254','2019-06-15 04:55:17'),(44376,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/kbs/search','0.00086498260498047','192.168.1.254','2019-06-15 04:55:17'),(44377,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/kbs/search','0.00086283683776855','192.168.1.254','2019-06-15 04:55:17'),(44378,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/kbs/search','0.00086307525634766','192.168.1.254','2019-06-15 04:55:17'),(44379,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/search/\'\nWHERE id = 997','kbs/search','0.00039100646972656','192.168.1.254','2019-06-15 04:55:17'),(44380,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.019674062728882','192.168.1.254','2019-06-15 04:55:42'),(44381,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003659725189209','192.168.1.254','2019-06-15 04:55:42'),(44382,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.0011579990386963','192.168.1.254','2019-06-15 04:55:42'),(44383,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.019336223602295','192.168.1.254','2019-06-15 04:55:42'),(44384,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032711029052734','192.168.1.254','2019-06-15 04:55:42'),(44385,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.0012099742889404','192.168.1.254','2019-06-15 04:55:42'),(44386,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.019145011901855','192.168.1.254','2019-06-15 04:55:42'),(44387,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-15 04:55:42'),(44388,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.0012202262878418','192.168.1.254','2019-06-15 04:55:42'),(44389,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0011360645294189','192.168.1.254','2019-06-15 04:55:42'),(44390,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.019787073135376','192.168.1.254','2019-06-15 04:55:42'),(44391,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029993057250977','192.168.1.254','2019-06-15 04:55:42'),(44392,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00024914741516113','192.168.1.254','2019-06-15 04:55:42'),(44393,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00024008750915527','192.168.1.254','2019-06-15 04:55:42'),(44394,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0002601146697998','192.168.1.254','2019-06-15 04:55:42'),(44395,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00039005279541016','192.168.1.254','2019-06-15 04:55:42'),(44396,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036287307739258','192.168.1.254','2019-06-15 04:55:42'),(44397,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035309791564941','192.168.1.254','2019-06-15 04:55:42'),(44398,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.00051212310791016','192.168.1.254','2019-06-15 04:55:42'),(44399,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033307075500488','192.168.1.254','2019-06-15 04:55:42'),(44400,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.027489900588989','192.168.1.254','2019-06-15 04:55:42'),(44401,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.0056500434875488','192.168.1.254','2019-06-15 04:55:42'),(44402,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-15 04:55:42'),(44403,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.00059103965759277','192.168.1.254','2019-06-15 04:55:43'),(44404,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033092498779297','192.168.1.254','2019-06-15 04:55:43'),(44405,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029611587524414','192.168.1.254','2019-06-15 04:55:43'),(44406,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00024795532226562','192.168.1.254','2019-06-15 04:55:43'),(44407,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028109550476074','192.168.1.254','2019-06-15 04:55:43'),(44408,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028610229492188','192.168.1.254','2019-06-15 04:55:43'),(44409,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003819465637207','192.168.1.254','2019-06-15 04:55:43'),(44410,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0056271553039551','192.168.1.254','2019-06-15 04:55:43'),(44411,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0035388469696045','192.168.1.254','2019-06-15 04:55:43'),(44412,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045895576477051','192.168.1.254','2019-06-15 04:55:43'),(44413,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030708312988281','192.168.1.254','2019-06-15 04:55:43'),(44414,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029110908508301','192.168.1.254','2019-06-15 04:55:43'),(44415,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0002901554107666','192.168.1.254','2019-06-15 04:55:43'),(44416,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.0005500316619873','192.168.1.254','2019-06-15 04:55:43'),(44417,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036287307739258','192.168.1.254','2019-06-15 04:55:43'),(44418,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.00038790702819824','192.168.1.254','2019-06-15 04:55:43'),(44419,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.00057101249694824','192.168.1.254','2019-06-15 04:55:43'),(44420,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.00061392784118652','192.168.1.254','2019-06-15 04:55:43'),(44421,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.0005030632019043','192.168.1.254','2019-06-15 04:55:43'),(44422,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.00046300888061523','192.168.1.254','2019-06-15 04:55:43'),(44423,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.00057482719421387','192.168.1.254','2019-06-15 04:55:43'),(44424,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-15 04:55:43'),(44425,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.00049614906311035','192.168.1.254','2019-06-15 04:55:43'),(44426,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.00053691864013672','192.168.1.254','2019-06-15 04:55:43'),(44427,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.00044703483581543','192.168.1.254','2019-06-15 04:55:43'),(44428,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.00039792060852051','192.168.1.254','2019-06-15 04:55:43'),(44429,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.00038981437683105','192.168.1.254','2019-06-15 04:55:43'),(44430,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.00037503242492676','192.168.1.254','2019-06-15 04:55:43'),(44431,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.00070285797119141','192.168.1.254','2019-06-15 04:55:43'),(44432,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.00065302848815918','192.168.1.254','2019-06-15 04:55:43'),(44433,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.00069499015808105','192.168.1.254','2019-06-15 04:55:43'),(44434,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.00064682960510254','192.168.1.254','2019-06-15 04:55:43'),(44435,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 995','StaffProfile/new_action_type','0.00041794776916504','192.168.1.254','2019-06-15 04:55:43'),(44436,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/kbs/search','0.019402027130127','192.168.1.254','2019-06-15 04:55:44'),(44437,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/search','0.00037717819213867','192.168.1.254','2019-06-15 04:55:44'),(44438,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/kbs/search','0.0013570785522461','192.168.1.254','2019-06-15 04:55:44'),(44439,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/kbs/search','0.019150018692017','192.168.1.254','2019-06-15 04:55:44'),(44440,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/search','0.0003819465637207','192.168.1.254','2019-06-15 04:55:44'),(44441,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/kbs/search','0.0013689994812012','192.168.1.254','2019-06-15 04:55:44'),(44442,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/kbs/search','0.019007921218872','192.168.1.254','2019-06-15 04:55:44'),(44443,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/search','0.00037288665771484','192.168.1.254','2019-06-15 04:55:44'),(44444,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/kbs/search','0.001345157623291','192.168.1.254','2019-06-15 04:55:44'),(44445,23,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/kbs/search','0.00057387351989746','192.168.1.254','2019-06-15 04:55:44'),(44446,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/kbs/search','0.00085997581481934','192.168.1.254','2019-06-15 04:55:44'),(44447,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/kbs/search','0.00075697898864746','192.168.1.254','2019-06-15 04:55:44'),(44448,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/kbs/search','0.00074100494384766','192.168.1.254','2019-06-15 04:55:44');
