INSERT INTO `_log__query` VALUES (39486,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00050902366638184','192.168.1.254','2019-06-15 02:09:53'),(39487,128,NULL,'others','SELECT *\nFROM `_ref__staff_action_type`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00039792060852051','192.168.1.254','2019-06-15 02:09:53'),(39488,128,NULL,'others','SELECT `a`.*, `b`.`type` as `contract_type`, `c`.`type` as `confirmation_type`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__contract_element` `a`\nJOIN `_ref__contract_type` `b` ON `b`.`id` = `a`.`contract_hiring_type_id`\nJOIN `_ref__contract_confirmation` `c` ON `c`.`id` = `a`.`confirmation`\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','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00051689147949219','192.168.1.254','2019-06-15 02:09:53'),(39489,128,NULL,'others','SELECT `id`, `position`\nFROM `company__position`\nWHERE `is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00037789344787598','192.168.1.254','2019-06-15 02:09:53'),(39490,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00037002563476562','192.168.1.254','2019-06-15 02:09:53'),(39491,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\nORDER BY `a`.`name` ASC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.035305023193359','192.168.1.254','2019-06-15 02:09:53'),(39492,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/staffDetail/3','0.0084221363067627','192.168.1.254','2019-06-15 02:09:53'),(39493,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00043416023254395','192.168.1.254','2019-06-15 02:09:53'),(39494,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`.`recurring_type` = \'0\'\nAND `a`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00051093101501465','192.168.1.254','2019-06-15 02:09:53'),(39495,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`.`recurring_type` = 1\nAND `a`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00049090385437012','192.168.1.254','2019-06-15 02:09:53'),(39496,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','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0004270076751709','192.168.1.254','2019-06-15 02:09:53'),(39497,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00042080879211426','192.168.1.254','2019-06-15 02:09:53'),(39498,128,NULL,'others','SELECT `a`.*, `b`.`name`, `b`.`ic_no`, `b`.`birthdate`, `b`.`occupation`, `b`.`oku_status`, `b`.`study_status`, `c`.`action_efective_date`, `d`.`type`\nFROM `user__pcb` `a`\nJOIN `user__family_member` `b` ON `b`.`id` = `a`.`family_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`.`is_delete` =0\nAND `a`.`user_id` = \'3\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00048398971557617','192.168.1.254','2019-06-15 02:09:53'),(39499,128,NULL,'others','SELECT `a`.*, `b`.`type`, `b`.`icon`, `b`.`color`, `c`.`name`, `d`.`title` as `user_title`, `e`.`name` as `religion`, `f`.`race`, `g`.`country` as `issue_country`, `h`.`country` as `nationality`\nFROM `user__profiling` `a`\nLEFT JOIN `_ref__action_type` `b` ON `b`.`id` = `a`.`action_type_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`user_id`\nLEFT JOIN `_ref__title` `d` ON `d`.`id` = `a`.`title_id`\nLEFT JOIN `_ref__religion` `e` ON `e`.`id` = `a`.`religion_id`\nLEFT JOIN `_ref__race` `f` ON `f`.`id` = `a`.`race_id`\nLEFT JOIN `_ref__country` `g` ON `g`.`id` = `a`.`place_issue`\nLEFT JOIN `_ref__country` `h` ON `h`.`id` = `a`.`citizen_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`action_efective_date` DESC, `a`.`id` DESC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00072693824768066','192.168.1.254','2019-06-15 02:09:53'),(39500,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__basic_pay` `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\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00045299530029297','192.168.1.254','2019-06-15 02:09:53'),(39501,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__statutory_detail` `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__statutory_detail` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_deleted` =0)\nAND `a`.`is_deleted` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0004880428314209','192.168.1.254','2019-06-15 02:09:53'),(39502,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00029182434082031','192.168.1.254','2019-06-15 02:09:53'),(39503,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00031781196594238','192.168.1.254','2019-06-15 02:09:53'),(39504,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 0 = \'e.parent_id <\'\nAND 1 = 3\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0020689964294434','192.168.1.254','2019-06-15 02:09:53'),(39505,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/staffDetail/3','0.0005190372467041','192.168.1.254','2019-06-15 02:09:53'),(39506,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/staffDetail/3','0.00065088272094727','192.168.1.254','2019-06-15 02:09:53'),(39507,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00034713745117188','192.168.1.254','2019-06-15 02:09:53'),(39508,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00040507316589355','192.168.1.254','2019-06-15 02:09:53'),(39509,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00046586990356445','192.168.1.254','2019-06-15 02:09:53'),(39510,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/staffDetail/3','0.00053286552429199','192.168.1.254','2019-06-15 02:09:53'),(39511,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/staffDetail/3','0.00093507766723633','192.168.1.254','2019-06-15 02:09:53'),(39512,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/staffDetail/3','0.0008699893951416','192.168.1.254','2019-06-15 02:09:53'),(39513,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/staffDetail/3','0.00086307525634766','192.168.1.254','2019-06-15 02:09:54'),(39514,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/staffDetail/3','0.000885009765625','192.168.1.254','2019-06-15 02:09:54'),(39515,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'HR/StaffProfile/staffDetail/3/\'\nWHERE id = 995','StaffProfile/staffDetail','0.00045204162597656','192.168.1.254','2019-06-15 02:09:54'),(39516,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.019452095031738','192.168.1.254','2019-06-15 02:10:11'),(39517,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.00040507316589355','192.168.1.254','2019-06-15 02:10:11'),(39518,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.0013759136199951','192.168.1.254','2019-06-15 02:10:11'),(39519,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.019000053405762','192.168.1.254','2019-06-15 02:10:11'),(39520,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.00040507316589355','192.168.1.254','2019-06-15 02:10:11'),(39521,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.0014400482177734','192.168.1.254','2019-06-15 02:10:11'),(39522,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.0194411277771','192.168.1.254','2019-06-15 02:10:11'),(39523,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.00040388107299805','192.168.1.254','2019-06-15 02:10:11'),(39524,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.001410961151123','192.168.1.254','2019-06-15 02:10:11'),(39525,23,NULL,'update','UPDATE `_log__module_session` SET `logout_ts` = \'2019-06-15 10:10:08\'\nWHERE id = 281','/index','0.028269052505493','192.168.1.254','2019-06-15 02:10:11'),(39526,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.00041007995605469','192.168.1.254','2019-06-15 02:10:11'),(39527,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/documents','0.01923394203186','192.168.1.254','2019-06-15 02:10:14'),(39528,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00043487548828125','192.168.1.254','2019-06-15 02:10:14'),(39529,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/documents','0.001338005065918','192.168.1.254','2019-06-15 02:10:14'),(39530,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/documents','0.019540071487427','192.168.1.254','2019-06-15 02:10:14'),(39531,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00045609474182129','192.168.1.254','2019-06-15 02:10:14'),(39532,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/documents','0.0013728141784668','192.168.1.254','2019-06-15 02:10:14'),(39533,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/documents','0.019406795501709','192.168.1.254','2019-06-15 02:10:14'),(39534,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00044393539428711','192.168.1.254','2019-06-15 02:10:14'),(39535,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/documents','0.0013909339904785','192.168.1.254','2019-06-15 02:10:14'),(39536,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/documents','0.000946044921875','192.168.1.254','2019-06-15 02:10:14'),(39537,23,NULL,'insert','INSERT INTO `_log__module_session` (`module_id`, `user_session_id`) VALUES (3, 997)','kbs/documents','0.050718069076538','192.168.1.254','2019-06-15 02:10:14'),(39538,23,NULL,'others','SELECT `a`.*, count(b.id) as count_documents\nFROM `customer` `a`\nLEFT JOIN `kbs__document` `b` ON `b`.`company_id` = `a`.`id`\nWHERE `a`.`is_delete` =0\nGROUP BY `a`.`id`','/salihin-digital/kbs/documents','0.0058650970458984','192.168.1.254','2019-06-15 02:10:14'),(39539,23,NULL,'others','SELECT `a`.*, `b`.`box_no`, `c`.`id` as `rack_id`, `c`.`code` as `rack_code`, `d`.`id` as `room_id`, `d`.`code` as `room_code`, `e`.`name` as `company_name`\nFROM `kbs__document` `a`\nJOIN `kbs__box` `b` ON `b`.`id` = `a`.`box_id`\nJOIN `kbs__rack` `c` ON `c`.`id` = `b`.`rack_id`\nJOIN `kbs__room` `d` ON `d`.`id` = `c`.`room_id`\nJOIN `customer` `e` ON `e`.`id` = `a`.`company_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/kbs/documents','0.00089597702026367','192.168.1.254','2019-06-15 02:10:14'),(39540,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/documents','0.0005490779876709','192.168.1.254','2019-06-15 02:10:14'),(39541,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/documents','0.00096607208251953','192.168.1.254','2019-06-15 02:10:14'),(39542,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/documents','0.00090289115905762','192.168.1.254','2019-06-15 02:10:14'),(39543,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/documents','0.00091981887817383','192.168.1.254','2019-06-15 02:10:14'),(39544,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/documents','0.00086307525634766','192.168.1.254','2019-06-15 02:10:14'),(39545,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/documents/\'\nWHERE id = 997','kbs/documents','0.00043702125549316','192.168.1.254','2019-06-15 02:10:14'),(39546,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/staffDetail/3','0.019151926040649','192.168.1.254','2019-06-15 02:11:03'),(39547,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00041794776916504','192.168.1.254','2019-06-15 02:11:03'),(39548,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/staffDetail/3','0.0012671947479248','192.168.1.254','2019-06-15 02:11:03'),(39549,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/staffDetail/3','0.018928050994873','192.168.1.254','2019-06-15 02:11:03'),(39550,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00040102005004883','192.168.1.254','2019-06-15 02:11:03'),(39551,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/staffDetail/3','0.0012450218200684','192.168.1.254','2019-06-15 02:11:03'),(39552,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/staffDetail/3','0.018906116485596','192.168.1.254','2019-06-15 02:11:03'),(39553,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00040102005004883','192.168.1.254','2019-06-15 02:11:03'),(39554,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/staffDetail/3','0.0012359619140625','192.168.1.254','2019-06-15 02:11:03'),(39555,128,NULL,'others','SELECT `a`.*, `b`.`type` as `reason`, `c`.`position` as `position_hiring`, `d`.`name` as `user_reporting_name`, `e`.`name` as `branch`, `g`.`name` as `personnel_area`, `f`.`name` as `personal_subarea`, `h`.`type` as `employee_group`, `i`.`type` as `contract_element`, `j`.`indicator` as `employee_subgroup_indicator`, `j`.`designation` as `employee_subgroup_designation`, `k`.`action_efective_date` as `action_efective_date`, `l`.`type` as `action_type_name`, `m`.`designation` as `designation`, `n`.`name` as `business_entity`\nFROM `user__joining_group` `a`\nLEFT JOIN `_ref__hiring_reason` `b` ON `b`.`id` = `a`.`reason_id`\nLEFT JOIN `company__position` `c` ON `c`.`id` = `a`.`position_id`\nLEFT JOIN `user` `d` ON `d`.`id` = `a`.`user_reporting_id`\nLEFT JOIN `company__branch` `e` ON `e`.`id` = `a`.`branch_id`\nLEFT JOIN `company__division` `f` ON `f`.`id` = `a`.`personal_subarea_id`\nLEFT JOIN `company__department` `g` ON `g`.`id` = `a`.`personnel_area_id`\nLEFT JOIN `_ref__employee_group` `h` ON `h`.`id` = `a`.`employee_group_id`\nLEFT JOIN `_ref__employee_contract_type` `i` ON `i`.`id` = `a`.`contract_element_id`\nLEFT JOIN `_ref__salary_scale` `j` ON `j`.`id` = `a`.`employee_subgroup_id`\nLEFT JOIN `user__profiling` `k` ON `k`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `l` ON `l`.`id` = `k`.`action_type_id`\nLEFT JOIN `_ref__designation` `m` ON `m`.`id` = `a`.`position_information`\nLEFT JOIN `company__business_entity` `n` ON `n`.`id` = `a`.`business_entity_id`\nWHERE `k`.`user_id` = \'3\'\nAND `a`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00091719627380371','192.168.1.254','2019-06-15 02:11:03'),(39556,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/staffDetail/3','0.019690990447998','192.168.1.254','2019-06-15 02:11:03'),(39557,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/staffDetail/3','0.0005338191986084','192.168.1.254','2019-06-15 02:11:03'),(39558,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0014309883117676','192.168.1.254','2019-06-15 02:11:03'),(39559,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0004279613494873','192.168.1.254','2019-06-15 02:11:03'),(39560,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00032591819763184','192.168.1.254','2019-06-15 02:11:03'),(39561,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00028800964355469','192.168.1.254','2019-06-15 02:11:03'),(39562,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00050997734069824','192.168.1.254','2019-06-15 02:11:03'),(39563,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0066218376159668','192.168.1.254','2019-06-15 02:11:03'),(39564,128,NULL,'others','SELECT `a`.*, `b`.`state` as `state_name`, `c`.`country` as `country_name`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__address` `a`\nLEFT JOIN `_ref__state` `b` ON `b`.`id` = `a`.`state_id`\nLEFT JOIN `_ref__country` `c` ON `c`.`id` = `a`.`country_id`\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`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nORDER BY `a`.`profiling_id` DESC, `a`.`type` ASC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0025699138641357','192.168.1.254','2019-06-15 02:11:03'),(39565,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00057506561279297','192.168.1.254','2019-06-15 02:11:03'),(39566,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00030207633972168','192.168.1.254','2019-06-15 02:11:03'),(39567,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00029516220092773','192.168.1.254','2019-06-15 02:11:03'),(39568,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','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00063610076904297','192.168.1.254','2019-06-15 02:11:03'),(39569,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00055098533630371','192.168.1.254','2019-06-15 02:11:03'),(39570,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\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00043797492980957','192.168.1.254','2019-06-15 02:11:03'),(39571,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00038695335388184','192.168.1.254','2019-06-15 02:11:03'),(39572,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00057387351989746','192.168.1.254','2019-06-15 02:11:03'),(39573,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00050020217895508','192.168.1.254','2019-06-15 02:11:03'),(39574,128,NULL,'others','SELECT *\nFROM `_ref__staff_action_type`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00036191940307617','192.168.1.254','2019-06-15 02:11:03'),(39575,128,NULL,'others','SELECT `a`.*, `b`.`type` as `contract_type`, `c`.`type` as `confirmation_type`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__contract_element` `a`\nJOIN `_ref__contract_type` `b` ON `b`.`id` = `a`.`contract_hiring_type_id`\nJOIN `_ref__contract_confirmation` `c` ON `c`.`id` = `a`.`confirmation`\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','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0005500316619873','192.168.1.254','2019-06-15 02:11:03'),(39576,128,NULL,'others','SELECT `id`, `position`\nFROM `company__position`\nWHERE `is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00043582916259766','192.168.1.254','2019-06-15 02:11:03'),(39577,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00041294097900391','192.168.1.254','2019-06-15 02:11:03'),(39578,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\nORDER BY `a`.`name` ASC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.032026052474976','192.168.1.254','2019-06-15 02:11:03'),(39579,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/staffDetail/3','0.0055558681488037','192.168.1.254','2019-06-15 02:11:03'),(39580,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00047802925109863','192.168.1.254','2019-06-15 02:11:04'),(39581,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`.`recurring_type` = \'0\'\nAND `a`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00052905082702637','192.168.1.254','2019-06-15 02:11:04'),(39582,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`.`recurring_type` = 1\nAND `a`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00047206878662109','192.168.1.254','2019-06-15 02:11:04'),(39583,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','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00048398971557617','192.168.1.254','2019-06-15 02:11:04'),(39584,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00049901008605957','192.168.1.254','2019-06-15 02:11:04'),(39585,128,NULL,'others','SELECT `a`.*, `b`.`name`, `b`.`ic_no`, `b`.`birthdate`, `b`.`occupation`, `b`.`oku_status`, `b`.`study_status`, `c`.`action_efective_date`, `d`.`type`\nFROM `user__pcb` `a`\nJOIN `user__family_member` `b` ON `b`.`id` = `a`.`family_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`.`is_delete` =0\nAND `a`.`user_id` = \'3\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00052189826965332','192.168.1.254','2019-06-15 02:11:04'),(39586,128,NULL,'others','SELECT `a`.*, `b`.`type`, `b`.`icon`, `b`.`color`, `c`.`name`, `d`.`title` as `user_title`, `e`.`name` as `religion`, `f`.`race`, `g`.`country` as `issue_country`, `h`.`country` as `nationality`\nFROM `user__profiling` `a`\nLEFT JOIN `_ref__action_type` `b` ON `b`.`id` = `a`.`action_type_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`user_id`\nLEFT JOIN `_ref__title` `d` ON `d`.`id` = `a`.`title_id`\nLEFT JOIN `_ref__religion` `e` ON `e`.`id` = `a`.`religion_id`\nLEFT JOIN `_ref__race` `f` ON `f`.`id` = `a`.`race_id`\nLEFT JOIN `_ref__country` `g` ON `g`.`id` = `a`.`place_issue`\nLEFT JOIN `_ref__country` `h` ON `h`.`id` = `a`.`citizen_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`action_efective_date` DESC, `a`.`id` DESC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00077319145202637','192.168.1.254','2019-06-15 02:11:04'),(39587,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__basic_pay` `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\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00049400329589844','192.168.1.254','2019-06-15 02:11:04'),(39588,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__statutory_detail` `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__statutory_detail` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_deleted` =0)\nAND `a`.`is_deleted` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00056600570678711','192.168.1.254','2019-06-15 02:11:04'),(39589,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00036096572875977','192.168.1.254','2019-06-15 02:11:04'),(39590,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00034785270690918','192.168.1.254','2019-06-15 02:11:04'),(39591,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 0 = \'e.parent_id <\'\nAND 1 = 3\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0020318031311035','192.168.1.254','2019-06-15 02:11:04'),(39592,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/staffDetail/3','0.00047898292541504','192.168.1.254','2019-06-15 02:11:04'),(39593,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/staffDetail/3','0.00064802169799805','192.168.1.254','2019-06-15 02:11:04'),(39594,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00035905838012695','192.168.1.254','2019-06-15 02:11:04'),(39595,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00036287307739258','192.168.1.254','2019-06-15 02:11:04'),(39596,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0004270076751709','192.168.1.254','2019-06-15 02:11:04'),(39597,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/staffDetail/3','0.00053310394287109','192.168.1.254','2019-06-15 02:11:04'),(39598,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/staffDetail/3','0.00090885162353516','192.168.1.254','2019-06-15 02:11:04'),(39599,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/staffDetail/3','0.00083613395690918','192.168.1.254','2019-06-15 02:11:04'),(39600,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/staffDetail/3','0.00080990791320801','192.168.1.254','2019-06-15 02:11:04'),(39601,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/staffDetail/3','0.00082993507385254','192.168.1.254','2019-06-15 02:11:04'),(39602,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'HR/StaffProfile/staffDetail/3/\'\nWHERE id = 995','StaffProfile/staffDetail','0.00043296813964844','192.168.1.254','2019-06-15 02:11:04'),(39603,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/documents','0.0191490650177','192.168.1.254','2019-06-15 02:11:20'),(39604,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00043106079101562','192.168.1.254','2019-06-15 02:11:20'),(39605,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/documents','0.0013580322265625','192.168.1.254','2019-06-15 02:11:20'),(39606,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/documents','0.019097089767456','192.168.1.254','2019-06-15 02:11:20'),(39607,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00041985511779785','192.168.1.254','2019-06-15 02:11:20'),(39608,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/documents','0.0013449192047119','192.168.1.254','2019-06-15 02:11:20'),(39609,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/documents','0.018886089324951','192.168.1.254','2019-06-15 02:11:20'),(39610,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00040197372436523','192.168.1.254','2019-06-15 02:11:20'),(39611,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/documents','0.0013649463653564','192.168.1.254','2019-06-15 02:11:20'),(39612,23,NULL,'others','SELECT `a`.*, count(b.id) as count_documents\nFROM `customer` `a`\nLEFT JOIN `kbs__document` `b` ON `b`.`company_id` = `a`.`id`\nWHERE `a`.`is_delete` =0\nGROUP BY `a`.`id`','/salihin-digital/kbs/documents','0.0087878704071045','192.168.1.254','2019-06-15 02:11:20'),(39613,23,NULL,'others','SELECT `a`.*, `b`.`box_no`, `c`.`id` as `rack_id`, `c`.`code` as `rack_code`, `d`.`id` as `room_id`, `d`.`code` as `room_code`, `e`.`name` as `company_name`\nFROM `kbs__document` `a`\nJOIN `kbs__box` `b` ON `b`.`id` = `a`.`box_id`\nJOIN `kbs__rack` `c` ON `c`.`id` = `b`.`rack_id`\nJOIN `kbs__room` `d` ON `d`.`id` = `c`.`room_id`\nJOIN `customer` `e` ON `e`.`id` = `a`.`company_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/kbs/documents','0.0009160041809082','192.168.1.254','2019-06-15 02:11:20'),(39614,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/documents','0.000579833984375','192.168.1.254','2019-06-15 02:11:20'),(39615,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/documents','0.000885009765625','192.168.1.254','2019-06-15 02:11:20'),(39616,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/documents','0.00087499618530273','192.168.1.254','2019-06-15 02:11:20'),(39617,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/documents','0.00084996223449707','192.168.1.254','2019-06-15 02:11:20'),(39618,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/documents','0.00088286399841309','192.168.1.254','2019-06-15 02:11:20'),(39619,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/documents/\'\nWHERE id = 997','kbs/documents','0.00043416023254395','192.168.1.254','2019-06-15 02:11:20'),(39620,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/documents','0.018929958343506','192.168.1.254','2019-06-15 02:11:26'),(39621,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00040411949157715','192.168.1.254','2019-06-15 02:11:26'),(39622,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/documents','0.001356840133667','192.168.1.254','2019-06-15 02:11:27'),(39623,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/documents','0.019089937210083','192.168.1.254','2019-06-15 02:11:27'),(39624,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00041389465332031','192.168.1.254','2019-06-15 02:11:27'),(39625,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/documents','0.001378059387207','192.168.1.254','2019-06-15 02:11:27'),(39626,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/documents','0.019250869750977','192.168.1.254','2019-06-15 02:11:27'),(39627,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00040602684020996','192.168.1.254','2019-06-15 02:11:27'),(39628,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/documents','0.00136399269104','192.168.1.254','2019-06-15 02:11:27'),(39629,23,NULL,'others','SELECT `a`.*, count(b.id) as count_documents\nFROM `customer` `a`\nLEFT JOIN `kbs__document` `b` ON `b`.`company_id` = `a`.`id`\nWHERE `a`.`is_delete` =0\nGROUP BY `a`.`id`','/salihin-digital/kbs/documents','0.0046498775482178','192.168.1.254','2019-06-15 02:11:27'),(39630,23,NULL,'others','SELECT `a`.*, `b`.`box_no`, `c`.`id` as `rack_id`, `c`.`code` as `rack_code`, `d`.`id` as `room_id`, `d`.`code` as `room_code`, `e`.`name` as `company_name`\nFROM `kbs__document` `a`\nJOIN `kbs__box` `b` ON `b`.`id` = `a`.`box_id`\nJOIN `kbs__rack` `c` ON `c`.`id` = `b`.`rack_id`\nJOIN `kbs__room` `d` ON `d`.`id` = `c`.`room_id`\nJOIN `customer` `e` ON `e`.`id` = `a`.`company_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/kbs/documents','0.00088787078857422','192.168.1.254','2019-06-15 02:11:27'),(39631,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/documents','0.00055217742919922','192.168.1.254','2019-06-15 02:11:27'),(39632,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/documents','0.00089406967163086','192.168.1.254','2019-06-15 02:11:27'),(39633,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/documents','0.000885009765625','192.168.1.254','2019-06-15 02:11:27'),(39634,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/documents','0.00088095664978027','192.168.1.254','2019-06-15 02:11:27'),(39635,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/documents','0.00088191032409668','192.168.1.254','2019-06-15 02:11:27'),(39636,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/documents/\'\nWHERE id = 997','kbs/documents','0.00041294097900391','192.168.1.254','2019-06-15 02:11:27'),(39637,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/documents','0.019479990005493','192.168.1.254','2019-06-15 02:11:57'),(39638,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00041294097900391','192.168.1.254','2019-06-15 02:11:58'),(39639,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/documents','0.0013580322265625','192.168.1.254','2019-06-15 02:11:58'),(39640,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/documents','0.019565105438232','192.168.1.254','2019-06-15 02:11:58'),(39641,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00044894218444824','192.168.1.254','2019-06-15 02:11:58'),(39642,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/documents','0.001370906829834','192.168.1.254','2019-06-15 02:11:58'),(39643,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/documents','0.019093990325928','192.168.1.254','2019-06-15 02:11:58'),(39644,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00036311149597168','192.168.1.254','2019-06-15 02:11:58'),(39645,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/documents','0.0013599395751953','192.168.1.254','2019-06-15 02:11:58'),(39646,23,NULL,'others','SELECT `a`.*, count(b.id) as count_documents\nFROM `customer` `a`\nLEFT JOIN `kbs__document` `b` ON `b`.`company_id` = `a`.`id`\nWHERE `a`.`is_delete` =0\nGROUP BY `a`.`id`','/salihin-digital/kbs/documents','0.0070550441741943','192.168.1.254','2019-06-15 02:11:58'),(39647,23,NULL,'others','SELECT `a`.*, `b`.`box_no`, `c`.`id` as `rack_id`, `c`.`code` as `rack_code`, `d`.`id` as `room_id`, `d`.`code` as `room_code`, `e`.`name` as `company_name`\nFROM `kbs__document` `a`\nJOIN `kbs__box` `b` ON `b`.`id` = `a`.`box_id`\nJOIN `kbs__rack` `c` ON `c`.`id` = `b`.`rack_id`\nJOIN `kbs__room` `d` ON `d`.`id` = `c`.`room_id`\nJOIN `customer` `e` ON `e`.`id` = `a`.`company_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/kbs/documents','0.00090289115905762','192.168.1.254','2019-06-15 02:11:58'),(39648,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/documents','0.00054597854614258','192.168.1.254','2019-06-15 02:11:58'),(39649,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/documents','0.000885009765625','192.168.1.254','2019-06-15 02:11:58'),(39650,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/documents','0.00087308883666992','192.168.1.254','2019-06-15 02:11:58'),(39651,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/documents','0.0008690357208252','192.168.1.254','2019-06-15 02:11:58'),(39652,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/documents','0.00086593627929688','192.168.1.254','2019-06-15 02:11:58'),(39653,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/documents/\'\nWHERE id = 997','kbs/documents','0.00037598609924316','192.168.1.254','2019-06-15 02:11:58'),(39654,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/documents','0.019479036331177','192.168.1.254','2019-06-15 02:12:26'),(39655,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00039100646972656','192.168.1.254','2019-06-15 02:12:26'),(39656,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/documents','0.0013020038604736','192.168.1.254','2019-06-15 02:12:26'),(39657,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/documents','0.01934289932251','192.168.1.254','2019-06-15 02:12:26'),(39658,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00037002563476562','192.168.1.254','2019-06-15 02:12:26'),(39659,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/documents','0.0013730525970459','192.168.1.254','2019-06-15 02:12:26'),(39660,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/documents','0.01919412612915','192.168.1.254','2019-06-15 02:12:26'),(39661,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00038290023803711','192.168.1.254','2019-06-15 02:12:26'),(39662,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/documents','0.001338005065918','192.168.1.254','2019-06-15 02:12:26'),(39663,23,NULL,'others','SELECT `a`.*, count(b.id) as count_documents\nFROM `customer` `a`\nLEFT JOIN `kbs__document` `b` ON `b`.`company_id` = `a`.`id`\nWHERE `a`.`is_delete` =0\nGROUP BY `a`.`id`','/salihin-digital/kbs/documents','0.0039081573486328','192.168.1.254','2019-06-15 02:12:26'),(39664,23,NULL,'others','SELECT `a`.*, `b`.`box_no`, `c`.`id` as `rack_id`, `c`.`code` as `rack_code`, `d`.`id` as `room_id`, `d`.`code` as `room_code`, `e`.`name` as `company_name`\nFROM `kbs__document` `a`\nJOIN `kbs__box` `b` ON `b`.`id` = `a`.`box_id`\nJOIN `kbs__rack` `c` ON `c`.`id` = `b`.`rack_id`\nJOIN `kbs__room` `d` ON `d`.`id` = `c`.`room_id`\nJOIN `customer` `e` ON `e`.`id` = `a`.`company_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/kbs/documents','0.0008549690246582','192.168.1.254','2019-06-15 02:12:26'),(39665,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/documents','0.00048708915710449','192.168.1.254','2019-06-15 02:12:26'),(39666,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/documents','0.00087404251098633','192.168.1.254','2019-06-15 02:12:26'),(39667,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/documents','0.00083518028259277','192.168.1.254','2019-06-15 02:12:26'),(39668,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/documents','0.00082993507385254','192.168.1.254','2019-06-15 02:12:26'),(39669,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/documents','0.0008389949798584','192.168.1.254','2019-06-15 02:12:26'),(39670,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/documents/\'\nWHERE id = 997','kbs/documents','0.00043606758117676','192.168.1.254','2019-06-15 02:12:26'),(39671,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/documents','0.019202947616577','192.168.1.254','2019-06-15 02:12:34'),(39672,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.0003659725189209','192.168.1.254','2019-06-15 02:12:34'),(39673,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/documents','0.0012979507446289','192.168.1.254','2019-06-15 02:12:34'),(39674,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/documents','0.019649982452393','192.168.1.254','2019-06-15 02:12:34'),(39675,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00042581558227539','192.168.1.254','2019-06-15 02:12:34'),(39676,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/documents','0.0013470649719238','192.168.1.254','2019-06-15 02:12:34'),(39677,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/documents','0.019085168838501','192.168.1.254','2019-06-15 02:12:34'),(39678,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00040197372436523','192.168.1.254','2019-06-15 02:12:34'),(39679,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/documents','0.0013589859008789','192.168.1.254','2019-06-15 02:12:34'),(39680,23,NULL,'others','SELECT `a`.*, count(b.id) as count_documents\nFROM `customer` `a`\nLEFT JOIN `kbs__document` `b` ON `b`.`company_id` = `a`.`id`\nWHERE `a`.`is_delete` =0\nGROUP BY `a`.`id`','/salihin-digital/kbs/documents','0.0079879760742188','192.168.1.254','2019-06-15 02:12:34'),(39681,23,NULL,'others','SELECT `a`.*, `b`.`box_no`, `c`.`id` as `rack_id`, `c`.`code` as `rack_code`, `d`.`id` as `room_id`, `d`.`code` as `room_code`, `e`.`name` as `company_name`\nFROM `kbs__document` `a`\nJOIN `kbs__box` `b` ON `b`.`id` = `a`.`box_id`\nJOIN `kbs__rack` `c` ON `c`.`id` = `b`.`rack_id`\nJOIN `kbs__room` `d` ON `d`.`id` = `c`.`room_id`\nJOIN `customer` `e` ON `e`.`id` = `a`.`company_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/kbs/documents','0.0009000301361084','192.168.1.254','2019-06-15 02:12:34'),(39682,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/documents','0.00055503845214844','192.168.1.254','2019-06-15 02:12:34'),(39683,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/documents','0.00089001655578613','192.168.1.254','2019-06-15 02:12:34'),(39684,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/documents','0.00087118148803711','192.168.1.254','2019-06-15 02:12:34'),(39685,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/documents','0.00086188316345215','192.168.1.254','2019-06-15 02:12:34'),(39686,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/documents','0.00090789794921875','192.168.1.254','2019-06-15 02:12:34'),(39687,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/documents/\'\nWHERE id = 997','kbs/documents','0.00042605400085449','192.168.1.254','2019-06-15 02:12:34'),(39688,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/documents','0.01931095123291','192.168.1.254','2019-06-15 02:12:39'),(39689,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00040197372436523','192.168.1.254','2019-06-15 02:12:39'),(39690,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/documents','0.001378059387207','192.168.1.254','2019-06-15 02:12:39'),(39691,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/documents','0.019258975982666','192.168.1.254','2019-06-15 02:12:39'),(39692,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00040197372436523','192.168.1.254','2019-06-15 02:12:39'),(39693,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/documents','0.0013370513916016','192.168.1.254','2019-06-15 02:12:39'),(39694,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/documents','0.019387006759644','192.168.1.254','2019-06-15 02:12:39'),(39695,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00037908554077148','192.168.1.254','2019-06-15 02:12:39'),(39696,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/documents','0.0013339519500732','192.168.1.254','2019-06-15 02:12:39'),(39697,23,NULL,'others','SELECT `a`.*, count(b.id) as count_documents\nFROM `customer` `a`\nLEFT JOIN `kbs__document` `b` ON `b`.`company_id` = `a`.`id`\nWHERE `a`.`is_delete` =0\nGROUP BY `a`.`id`','/salihin-digital/kbs/documents','0.0045430660247803','192.168.1.254','2019-06-15 02:12:39'),(39698,23,NULL,'others','SELECT `a`.*, `b`.`box_no`, `c`.`id` as `rack_id`, `c`.`code` as `rack_code`, `d`.`id` as `room_id`, `d`.`code` as `room_code`, `e`.`name` as `company_name`\nFROM `kbs__document` `a`\nJOIN `kbs__box` `b` ON `b`.`id` = `a`.`box_id`\nJOIN `kbs__rack` `c` ON `c`.`id` = `b`.`rack_id`\nJOIN `kbs__room` `d` ON `d`.`id` = `c`.`room_id`\nJOIN `customer` `e` ON `e`.`id` = `a`.`company_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/kbs/documents','0.0008690357208252','192.168.1.254','2019-06-15 02:12:39'),(39699,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/documents','0.00054597854614258','192.168.1.254','2019-06-15 02:12:39'),(39700,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/documents','0.00091910362243652','192.168.1.254','2019-06-15 02:12:39'),(39701,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/documents','0.00089097023010254','192.168.1.254','2019-06-15 02:12:39'),(39702,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/documents','0.00086808204650879','192.168.1.254','2019-06-15 02:12:39'),(39703,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/documents','0.0008699893951416','192.168.1.254','2019-06-15 02:12:39'),(39704,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/documents/\'\nWHERE id = 997','kbs/documents','0.00044417381286621','192.168.1.254','2019-06-15 02:12:39'),(39705,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/documents','0.020979166030884','192.168.1.254','2019-06-15 02:13:21'),(39706,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.0003509521484375','192.168.1.254','2019-06-15 02:13:21'),(39707,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/documents','0.0013489723205566','192.168.1.254','2019-06-15 02:13:21'),(39708,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/documents','0.019054889678955','192.168.1.254','2019-06-15 02:13:21'),(39709,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00033092498779297','192.168.1.254','2019-06-15 02:13:21'),(39710,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/documents','0.0012550354003906','192.168.1.254','2019-06-15 02:13:21'),(39711,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/documents','0.018822908401489','192.168.1.254','2019-06-15 02:13:21'),(39712,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00036501884460449','192.168.1.254','2019-06-15 02:13:21'),(39713,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/documents','0.0012810230255127','192.168.1.254','2019-06-15 02:13:21'),(39714,23,NULL,'others','SELECT `a`.*, count(b.id) as count_documents\nFROM `customer` `a`\nLEFT JOIN `kbs__document` `b` ON `b`.`company_id` = `a`.`id`\nWHERE `a`.`is_delete` =0\nGROUP BY `a`.`id`','/salihin-digital/kbs/documents','0.0077450275421143','192.168.1.254','2019-06-15 02:13:21'),(39715,23,NULL,'others','SELECT `a`.*, `b`.`box_no`, `c`.`id` as `rack_id`, `c`.`code` as `rack_code`, `d`.`id` as `room_id`, `d`.`code` as `room_code`, `e`.`name` as `company_name`\nFROM `kbs__document` `a`\nJOIN `kbs__box` `b` ON `b`.`id` = `a`.`box_id`\nJOIN `kbs__rack` `c` ON `c`.`id` = `b`.`rack_id`\nJOIN `kbs__room` `d` ON `d`.`id` = `c`.`room_id`\nJOIN `customer` `e` ON `e`.`id` = `a`.`company_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/kbs/documents','0.00085210800170898','192.168.1.254','2019-06-15 02:13:21'),(39716,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/documents','0.00046515464782715','192.168.1.254','2019-06-15 02:13:21'),(39717,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/documents','0.00082802772521973','192.168.1.254','2019-06-15 02:13:21'),(39718,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/documents','0.00081205368041992','192.168.1.254','2019-06-15 02:13:21'),(39719,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/documents','0.00078701972961426','192.168.1.254','2019-06-15 02:13:21'),(39720,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/documents','0.00080418586730957','192.168.1.254','2019-06-15 02:13:21'),(39721,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/documents/\'\nWHERE id = 997','kbs/documents','0.00040698051452637','192.168.1.254','2019-06-15 02:13:21'),(39722,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/documents','0.019721031188965','192.168.1.254','2019-06-15 02:14:21'),(39723,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00041103363037109','192.168.1.254','2019-06-15 02:14:21'),(39724,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/documents','0.0013589859008789','192.168.1.254','2019-06-15 02:14:21'),(39725,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/documents','0.018949031829834','192.168.1.254','2019-06-15 02:14:21'),(39726,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00040197372436523','192.168.1.254','2019-06-15 02:14:21'),(39727,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/documents','0.0013399124145508','192.168.1.254','2019-06-15 02:14:21'),(39728,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/documents','0.018901109695435','192.168.1.254','2019-06-15 02:14:21'),(39729,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00040197372436523','192.168.1.254','2019-06-15 02:14:21'),(39730,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/documents','0.0013601779937744','192.168.1.254','2019-06-15 02:14:21'),(39731,23,NULL,'others','SELECT `a`.*, count(b.id) as count_documents\nFROM `customer` `a`\nLEFT JOIN `kbs__document` `b` ON `b`.`company_id` = `a`.`id`\nWHERE `a`.`is_delete` =0\nGROUP BY `a`.`id`','/salihin-digital/kbs/documents','0.0047879219055176','192.168.1.254','2019-06-15 02:14:21'),(39732,23,NULL,'others','SELECT `a`.*, `b`.`box_no`, `c`.`id` as `rack_id`, `c`.`code` as `rack_code`, `d`.`id` as `room_id`, `d`.`code` as `room_code`, `e`.`name` as `company_name`\nFROM `kbs__document` `a`\nJOIN `kbs__box` `b` ON `b`.`id` = `a`.`box_id`\nJOIN `kbs__rack` `c` ON `c`.`id` = `b`.`rack_id`\nJOIN `kbs__room` `d` ON `d`.`id` = `c`.`room_id`\nJOIN `customer` `e` ON `e`.`id` = `a`.`company_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/kbs/documents','0.000885009765625','192.168.1.254','2019-06-15 02:14:21'),(39733,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/documents','0.00054407119750977','192.168.1.254','2019-06-15 02:14:21'),(39734,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/documents','0.00090813636779785','192.168.1.254','2019-06-15 02:14:21'),(39735,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/documents','0.00086712837219238','192.168.1.254','2019-06-15 02:14:21'),(39736,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/documents','0.00086688995361328','192.168.1.254','2019-06-15 02:14:21'),(39737,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/documents','0.00087118148803711','192.168.1.254','2019-06-15 02:14:21'),(39738,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/documents/\'\nWHERE id = 997','kbs/documents','0.00038695335388184','192.168.1.254','2019-06-15 02:14:21'),(39739,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/documents','0.019304037094116','192.168.1.254','2019-06-15 02:14:41'),(39740,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00040292739868164','192.168.1.254','2019-06-15 02:14:41'),(39741,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/documents','0.0013530254364014','192.168.1.254','2019-06-15 02:14:41'),(39742,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/documents','0.019156932830811','192.168.1.254','2019-06-15 02:14:41'),(39743,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00040102005004883','192.168.1.254','2019-06-15 02:14:41'),(39744,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/documents','0.0013580322265625','192.168.1.254','2019-06-15 02:14:41'),(39745,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/documents','0.019367933273315','192.168.1.254','2019-06-15 02:14:41'),(39746,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.0004429817199707','192.168.1.254','2019-06-15 02:14:41'),(39747,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/documents','0.0013530254364014','192.168.1.254','2019-06-15 02:14:41'),(39748,23,NULL,'others','SELECT `a`.*, count(b.id) as count_documents\nFROM `customer` `a`\nLEFT JOIN `kbs__document` `b` ON `b`.`company_id` = `a`.`id`\nWHERE `a`.`is_delete` =0\nGROUP BY `a`.`id`','/salihin-digital/kbs/documents','0.00388503074646','192.168.1.254','2019-06-15 02:14:41'),(39749,23,NULL,'others','SELECT `a`.*, `b`.`box_no`, `c`.`id` as `rack_id`, `c`.`code` as `rack_code`, `d`.`id` as `room_id`, `d`.`code` as `room_code`, `e`.`name` as `company_name`\nFROM `kbs__document` `a`\nJOIN `kbs__box` `b` ON `b`.`id` = `a`.`box_id`\nJOIN `kbs__rack` `c` ON `c`.`id` = `b`.`rack_id`\nJOIN `kbs__room` `d` ON `d`.`id` = `c`.`room_id`\nJOIN `customer` `e` ON `e`.`id` = `a`.`company_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/kbs/documents','0.00092196464538574','192.168.1.254','2019-06-15 02:14:41'),(39750,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/documents','0.00054287910461426','192.168.1.254','2019-06-15 02:14:41'),(39751,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/documents','0.00087594985961914','192.168.1.254','2019-06-15 02:14:41'),(39752,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/documents','0.00085997581481934','192.168.1.254','2019-06-15 02:14:41'),(39753,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/documents','0.00086593627929688','192.168.1.254','2019-06-15 02:14:41'),(39754,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/documents','0.000885009765625','192.168.1.254','2019-06-15 02:14:41'),(39755,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/documents/\'\nWHERE id = 997','kbs/documents','0.00043201446533203','192.168.1.254','2019-06-15 02:14:41'),(39756,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/documents','0.019164085388184','192.168.1.254','2019-06-15 02:15:16'),(39757,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00040292739868164','192.168.1.254','2019-06-15 02:15:16'),(39758,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/documents','0.0013809204101562','192.168.1.254','2019-06-15 02:15:16'),(39759,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/documents','0.018846988677979','192.168.1.254','2019-06-15 02:15:16'),(39760,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00040388107299805','192.168.1.254','2019-06-15 02:15:16'),(39761,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/documents','0.0013449192047119','192.168.1.254','2019-06-15 02:15:16'),(39762,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/documents','0.018733978271484','192.168.1.254','2019-06-15 02:15:16'),(39763,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00040102005004883','192.168.1.254','2019-06-15 02:15:16'),(39764,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/documents','0.0013420581817627','192.168.1.254','2019-06-15 02:15:16'),(39765,23,NULL,'others','SELECT `a`.*, count(b.id) as count_documents\nFROM `customer` `a`\nLEFT JOIN `kbs__document` `b` ON `b`.`company_id` = `a`.`id`\nWHERE `a`.`is_delete` =0\nGROUP BY `a`.`id`','/salihin-digital/kbs/documents','0.0078539848327637','192.168.1.254','2019-06-15 02:15:16'),(39766,23,NULL,'others','SELECT `a`.*, `b`.`box_no`, `c`.`id` as `rack_id`, `c`.`code` as `rack_code`, `d`.`id` as `room_id`, `d`.`code` as `room_code`, `e`.`name` as `company_name`\nFROM `kbs__document` `a`\nJOIN `kbs__box` `b` ON `b`.`id` = `a`.`box_id`\nJOIN `kbs__rack` `c` ON `c`.`id` = `b`.`rack_id`\nJOIN `kbs__room` `d` ON `d`.`id` = `c`.`room_id`\nJOIN `customer` `e` ON `e`.`id` = `a`.`company_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/kbs/documents','0.00095915794372559','192.168.1.254','2019-06-15 02:15:16'),(39767,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/documents','0.00055217742919922','192.168.1.254','2019-06-15 02:15:16'),(39768,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/documents','0.00088620185852051','192.168.1.254','2019-06-15 02:15:16'),(39769,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/documents','0.00092601776123047','192.168.1.254','2019-06-15 02:15:16'),(39770,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/documents','0.00092601776123047','192.168.1.254','2019-06-15 02:15:16'),(39771,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/documents','0.00087499618530273','192.168.1.254','2019-06-15 02:15:16'),(39772,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/documents/\'\nWHERE id = 997','kbs/documents','0.00042295455932617','192.168.1.254','2019-06-15 02:15:16'),(39773,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/staffDetail/3','0.019446849822998','192.168.1.254','2019-06-15 02:15:47'),(39774,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00042891502380371','192.168.1.254','2019-06-15 02:15:47'),(39775,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/staffDetail/3','0.001255989074707','192.168.1.254','2019-06-15 02:15:47'),(39776,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/staffDetail/3','0.019284009933472','192.168.1.254','2019-06-15 02:15:47'),(39777,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00040197372436523','192.168.1.254','2019-06-15 02:15:47'),(39778,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/staffDetail/3','0.0012459754943848','192.168.1.254','2019-06-15 02:15:47'),(39779,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/staffDetail/3','0.019109964370728','192.168.1.254','2019-06-15 02:15:47'),(39780,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00037980079650879','192.168.1.254','2019-06-15 02:15:47'),(39781,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/staffDetail/3','0.0012390613555908','192.168.1.254','2019-06-15 02:15:47'),(39782,128,NULL,'others','SELECT `a`.*, `b`.`type` as `reason`, `c`.`position` as `position_hiring`, `d`.`name` as `user_reporting_name`, `e`.`name` as `branch`, `g`.`name` as `personnel_area`, `f`.`name` as `personal_subarea`, `h`.`type` as `employee_group`, `i`.`type` as `contract_element`, `j`.`indicator` as `employee_subgroup_indicator`, `j`.`designation` as `employee_subgroup_designation`, `k`.`action_efective_date` as `action_efective_date`, `l`.`type` as `action_type_name`, `m`.`designation` as `designation`, `n`.`name` as `business_entity`\nFROM `user__joining_group` `a`\nLEFT JOIN `_ref__hiring_reason` `b` ON `b`.`id` = `a`.`reason_id`\nLEFT JOIN `company__position` `c` ON `c`.`id` = `a`.`position_id`\nLEFT JOIN `user` `d` ON `d`.`id` = `a`.`user_reporting_id`\nLEFT JOIN `company__branch` `e` ON `e`.`id` = `a`.`branch_id`\nLEFT JOIN `company__division` `f` ON `f`.`id` = `a`.`personal_subarea_id`\nLEFT JOIN `company__department` `g` ON `g`.`id` = `a`.`personnel_area_id`\nLEFT JOIN `_ref__employee_group` `h` ON `h`.`id` = `a`.`employee_group_id`\nLEFT JOIN `_ref__employee_contract_type` `i` ON `i`.`id` = `a`.`contract_element_id`\nLEFT JOIN `_ref__salary_scale` `j` ON `j`.`id` = `a`.`employee_subgroup_id`\nLEFT JOIN `user__profiling` `k` ON `k`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `l` ON `l`.`id` = `k`.`action_type_id`\nLEFT JOIN `_ref__designation` `m` ON `m`.`id` = `a`.`position_information`\nLEFT JOIN `company__business_entity` `n` ON `n`.`id` = `a`.`business_entity_id`\nWHERE `k`.`user_id` = \'3\'\nAND `a`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00091314315795898','192.168.1.254','2019-06-15 02:15:47'),(39783,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/staffDetail/3','0.019691944122314','192.168.1.254','2019-06-15 02:15:47'),(39784,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/staffDetail/3','0.00053787231445312','192.168.1.254','2019-06-15 02:15:47'),(39785,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0014159679412842','192.168.1.254','2019-06-15 02:15:47'),(39786,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00043320655822754','192.168.1.254','2019-06-15 02:15:47'),(39787,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00030899047851562','192.168.1.254','2019-06-15 02:15:47'),(39788,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00028109550476074','192.168.1.254','2019-06-15 02:15:47'),(39789,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0005488395690918','192.168.1.254','2019-06-15 02:15:47'),(39790,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00661301612854','192.168.1.254','2019-06-15 02:15:47'),(39791,128,NULL,'others','SELECT `a`.*, `b`.`state` as `state_name`, `c`.`country` as `country_name`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__address` `a`\nLEFT JOIN `_ref__state` `b` ON `b`.`id` = `a`.`state_id`\nLEFT JOIN `_ref__country` `c` ON `c`.`id` = `a`.`country_id`\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`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nORDER BY `a`.`profiling_id` DESC, `a`.`type` ASC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0023810863494873','192.168.1.254','2019-06-15 02:15:47'),(39792,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00054502487182617','192.168.1.254','2019-06-15 02:15:47'),(39793,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0003058910369873','192.168.1.254','2019-06-15 02:15:47'),(39794,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00029706954956055','192.168.1.254','2019-06-15 02:15:47'),(39795,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','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00060009956359863','192.168.1.254','2019-06-15 02:15:47'),(39796,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0005340576171875','192.168.1.254','2019-06-15 02:15:47'),(39797,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\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00038790702819824','192.168.1.254','2019-06-15 02:15:47'),(39798,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00030207633972168','192.168.1.254','2019-06-15 02:15:47'),(39799,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00050187110900879','192.168.1.254','2019-06-15 02:15:47'),(39800,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00045394897460938','192.168.1.254','2019-06-15 02:15:47'),(39801,128,NULL,'others','SELECT *\nFROM `_ref__staff_action_type`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00034213066101074','192.168.1.254','2019-06-15 02:15:47'),(39802,128,NULL,'others','SELECT `a`.*, `b`.`type` as `contract_type`, `c`.`type` as `confirmation_type`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__contract_element` `a`\nJOIN `_ref__contract_type` `b` ON `b`.`id` = `a`.`contract_hiring_type_id`\nJOIN `_ref__contract_confirmation` `c` ON `c`.`id` = `a`.`confirmation`\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','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00047802925109863','192.168.1.254','2019-06-15 02:15:47'),(39803,128,NULL,'others','SELECT `id`, `position`\nFROM `company__position`\nWHERE `is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00033378601074219','192.168.1.254','2019-06-15 02:15:47'),(39804,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00032997131347656','192.168.1.254','2019-06-15 02:15:47'),(39805,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\nORDER BY `a`.`name` ASC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.02432918548584','192.168.1.254','2019-06-15 02:15:47'),(39806,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/staffDetail/3','0.0078051090240479','192.168.1.254','2019-06-15 02:15:48'),(39807,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00039792060852051','192.168.1.254','2019-06-15 02:15:48'),(39808,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`.`recurring_type` = \'0\'\nAND `a`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00049591064453125','192.168.1.254','2019-06-15 02:15:48'),(39809,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`.`recurring_type` = 1\nAND `a`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0004878044128418','192.168.1.254','2019-06-15 02:15:48'),(39810,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','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00041985511779785','192.168.1.254','2019-06-15 02:15:48'),(39811,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00042605400085449','192.168.1.254','2019-06-15 02:15:48'),(39812,128,NULL,'others','SELECT `a`.*, `b`.`name`, `b`.`ic_no`, `b`.`birthdate`, `b`.`occupation`, `b`.`oku_status`, `b`.`study_status`, `c`.`action_efective_date`, `d`.`type`\nFROM `user__pcb` `a`\nJOIN `user__family_member` `b` ON `b`.`id` = `a`.`family_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`.`is_delete` =0\nAND `a`.`user_id` = \'3\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00051593780517578','192.168.1.254','2019-06-15 02:15:48'),(39813,128,NULL,'others','SELECT `a`.*, `b`.`type`, `b`.`icon`, `b`.`color`, `c`.`name`, `d`.`title` as `user_title`, `e`.`name` as `religion`, `f`.`race`, `g`.`country` as `issue_country`, `h`.`country` as `nationality`\nFROM `user__profiling` `a`\nLEFT JOIN `_ref__action_type` `b` ON `b`.`id` = `a`.`action_type_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`user_id`\nLEFT JOIN `_ref__title` `d` ON `d`.`id` = `a`.`title_id`\nLEFT JOIN `_ref__religion` `e` ON `e`.`id` = `a`.`religion_id`\nLEFT JOIN `_ref__race` `f` ON `f`.`id` = `a`.`race_id`\nLEFT JOIN `_ref__country` `g` ON `g`.`id` = `a`.`place_issue`\nLEFT JOIN `_ref__country` `h` ON `h`.`id` = `a`.`citizen_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`action_efective_date` DESC, `a`.`id` DESC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00081396102905273','192.168.1.254','2019-06-15 02:15:48'),(39814,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__basic_pay` `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\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00045490264892578','192.168.1.254','2019-06-15 02:15:48'),(39815,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__statutory_detail` `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__statutory_detail` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_deleted` =0)\nAND `a`.`is_deleted` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00054001808166504','192.168.1.254','2019-06-15 02:15:48'),(39816,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0003509521484375','192.168.1.254','2019-06-15 02:15:48'),(39817,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00030899047851562','192.168.1.254','2019-06-15 02:15:48'),(39818,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 0 = \'e.parent_id <\'\nAND 1 = 3\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0020480155944824','192.168.1.254','2019-06-15 02:15:48'),(39819,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/staffDetail/3','0.00044393539428711','192.168.1.254','2019-06-15 02:15:48'),(39820,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/staffDetail/3','0.00066304206848145','192.168.1.254','2019-06-15 02:15:48'),(39821,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00036096572875977','192.168.1.254','2019-06-15 02:15:48'),(39822,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00036287307739258','192.168.1.254','2019-06-15 02:15:48'),(39823,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00042200088500977','192.168.1.254','2019-06-15 02:15:48'),(39824,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/staffDetail/3','0.00053191184997559','192.168.1.254','2019-06-15 02:15:48'),(39825,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/staffDetail/3','0.0009307861328125','192.168.1.254','2019-06-15 02:15:48'),(39826,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/staffDetail/3','0.00085592269897461','192.168.1.254','2019-06-15 02:15:48'),(39827,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/staffDetail/3','0.00087904930114746','192.168.1.254','2019-06-15 02:15:48'),(39828,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/staffDetail/3','0.00085997581481934','192.168.1.254','2019-06-15 02:15:48'),(39829,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'HR/StaffProfile/staffDetail/3/\'\nWHERE id = 995','StaffProfile/staffDetail','0.00039291381835938','192.168.1.254','2019-06-15 02:15:48'),(39830,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/documents','0.020100116729736','192.168.1.254','2019-06-15 02:17:02'),(39831,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00042891502380371','192.168.1.254','2019-06-15 02:17:02'),(39832,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/documents','0.0013689994812012','192.168.1.254','2019-06-15 02:17:02'),(39833,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/documents','0.019061088562012','192.168.1.254','2019-06-15 02:17:02'),(39834,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00040316581726074','192.168.1.254','2019-06-15 02:17:02'),(39835,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/documents','0.0014259815216064','192.168.1.254','2019-06-15 02:17:02'),(39836,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/documents','0.019554853439331','192.168.1.254','2019-06-15 02:17:02'),(39837,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00035595893859863','192.168.1.254','2019-06-15 02:17:02'),(39838,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/documents','0.0014030933380127','192.168.1.254','2019-06-15 02:17:02'),(39839,23,NULL,'others','SELECT `a`.*, count(b.id) as count_documents\nFROM `customer` `a`\nLEFT JOIN `kbs__document` `b` ON `b`.`company_id` = `a`.`id`\nWHERE `a`.`is_delete` =0\nGROUP BY `a`.`id`','/salihin-digital/kbs/documents','0.0090401172637939','192.168.1.254','2019-06-15 02:17:03'),(39840,23,NULL,'others','SELECT `a`.*, `b`.`box_no`, `c`.`id` as `rack_id`, `c`.`code` as `rack_code`, `d`.`id` as `room_id`, `d`.`code` as `room_code`, `e`.`name` as `company_name`\nFROM `kbs__document` `a`\nJOIN `kbs__box` `b` ON `b`.`id` = `a`.`box_id`\nJOIN `kbs__rack` `c` ON `c`.`id` = `b`.`rack_id`\nJOIN `kbs__room` `d` ON `d`.`id` = `c`.`room_id`\nJOIN `customer` `e` ON `e`.`id` = `a`.`company_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/kbs/documents','0.00095605850219727','192.168.1.254','2019-06-15 02:17:03'),(39841,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/documents','0.00056099891662598','192.168.1.254','2019-06-15 02:17:03'),(39842,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/documents','0.00090217590332031','192.168.1.254','2019-06-15 02:17:03'),(39843,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/documents','0.00092601776123047','192.168.1.254','2019-06-15 02:17:03'),(39844,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/documents','0.00088405609130859','192.168.1.254','2019-06-15 02:17:03'),(39845,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/documents','0.00092983245849609','192.168.1.254','2019-06-15 02:17:03'),(39846,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/documents/\'\nWHERE id = 997','kbs/documents','0.00037813186645508','192.168.1.254','2019-06-15 02:17:03'),(39847,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/documents','0.019146919250488','192.168.1.254','2019-06-15 02:17:37'),(39848,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00040292739868164','192.168.1.254','2019-06-15 02:17:37'),(39849,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/documents','0.0013530254364014','192.168.1.254','2019-06-15 02:17:37'),(39850,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/documents','0.019057989120483','192.168.1.254','2019-06-15 02:17:38'),(39851,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00040411949157715','192.168.1.254','2019-06-15 02:17:38'),(39852,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/documents','0.0013389587402344','192.168.1.254','2019-06-15 02:17:38'),(39853,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/documents','0.018924951553345','192.168.1.254','2019-06-15 02:17:38'),(39854,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00040102005004883','192.168.1.254','2019-06-15 02:17:38'),(39855,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/documents','0.0013401508331299','192.168.1.254','2019-06-15 02:17:38'),(39856,23,NULL,'others','SELECT `a`.*, count(b.id) as count_documents\nFROM `customer` `a`\nLEFT JOIN `kbs__document` `b` ON `b`.`company_id` = `a`.`id`\nWHERE `a`.`is_delete` =0\nGROUP BY `a`.`id`','/salihin-digital/kbs/documents','0.008267879486084','192.168.1.254','2019-06-15 02:17:38'),(39857,23,NULL,'others','SELECT `a`.*, `b`.`box_no`, `c`.`id` as `rack_id`, `c`.`code` as `rack_code`, `d`.`id` as `room_id`, `d`.`code` as `room_code`, `e`.`name` as `company_name`\nFROM `kbs__document` `a`\nJOIN `kbs__box` `b` ON `b`.`id` = `a`.`box_id`\nJOIN `kbs__rack` `c` ON `c`.`id` = `b`.`rack_id`\nJOIN `kbs__room` `d` ON `d`.`id` = `c`.`room_id`\nJOIN `customer` `e` ON `e`.`id` = `a`.`company_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/kbs/documents','0.0009000301361084','192.168.1.254','2019-06-15 02:17:38'),(39858,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/documents','0.0005490779876709','192.168.1.254','2019-06-15 02:17:38'),(39859,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/documents','0.00087785720825195','192.168.1.254','2019-06-15 02:17:38'),(39860,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/documents','0.00086593627929688','192.168.1.254','2019-06-15 02:17:38'),(39861,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/documents','0.0008690357208252','192.168.1.254','2019-06-15 02:17:38'),(39862,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/documents','0.00087404251098633','192.168.1.254','2019-06-15 02:17:38'),(39863,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/documents/\'\nWHERE id = 997','kbs/documents','0.00044107437133789','192.168.1.254','2019-06-15 02:17:38'),(39864,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/documents','0.019473075866699','192.168.1.254','2019-06-15 02:18:30'),(39865,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00041699409484863','192.168.1.254','2019-06-15 02:18:30'),(39866,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/documents','0.0014140605926514','192.168.1.254','2019-06-15 02:18:30'),(39867,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/documents','0.01903510093689','192.168.1.254','2019-06-15 02:18:30'),(39868,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00040292739868164','192.168.1.254','2019-06-15 02:18:30'),(39869,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/documents','0.0013818740844727','192.168.1.254','2019-06-15 02:18:30'),(39870,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/documents','0.018898010253906','192.168.1.254','2019-06-15 02:18:30'),(39871,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00038385391235352','192.168.1.254','2019-06-15 02:18:30'),(39872,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/documents','0.0013840198516846','192.168.1.254','2019-06-15 02:18:30'),(39873,23,NULL,'others','SELECT `a`.*, count(b.id) as count_documents\nFROM `customer` `a`\nLEFT JOIN `kbs__document` `b` ON `b`.`company_id` = `a`.`id`\nWHERE `a`.`is_delete` =0\nGROUP BY `a`.`id`','/salihin-digital/kbs/documents','0.0081908702850342','192.168.1.254','2019-06-15 02:18:30'),(39874,23,NULL,'others','SELECT `a`.*, `b`.`box_no`, `c`.`id` as `rack_id`, `c`.`code` as `rack_code`, `d`.`id` as `room_id`, `d`.`code` as `room_code`, `e`.`name` as `company_name`\nFROM `kbs__document` `a`\nJOIN `kbs__box` `b` ON `b`.`id` = `a`.`box_id`\nJOIN `kbs__rack` `c` ON `c`.`id` = `b`.`rack_id`\nJOIN `kbs__room` `d` ON `d`.`id` = `c`.`room_id`\nJOIN `customer` `e` ON `e`.`id` = `a`.`company_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/kbs/documents','0.00098896026611328','192.168.1.254','2019-06-15 02:18:30'),(39875,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/documents','0.00050497055053711','192.168.1.254','2019-06-15 02:18:30'),(39876,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/documents','0.0009000301361084','192.168.1.254','2019-06-15 02:18:30'),(39877,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/documents','0.00081014633178711','192.168.1.254','2019-06-15 02:18:30'),(39878,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/documents','0.00088405609130859','192.168.1.254','2019-06-15 02:18:30'),(39879,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/documents','0.00087213516235352','192.168.1.254','2019-06-15 02:18:30'),(39880,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/documents/\'\nWHERE id = 997','kbs/documents','0.00041007995605469','192.168.1.254','2019-06-15 02:18:30'),(39881,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/documents','0.019150972366333','192.168.1.254','2019-06-15 02:19:16'),(39882,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00040507316589355','192.168.1.254','2019-06-15 02:19:16'),(39883,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/documents','0.0013518333435059','192.168.1.254','2019-06-15 02:19:16'),(39884,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/documents','0.019282102584839','192.168.1.254','2019-06-15 02:19:16'),(39885,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00040102005004883','192.168.1.254','2019-06-15 02:19:16'),(39886,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/documents','0.0013651847839355','192.168.1.254','2019-06-15 02:19:16'),(39887,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/documents','0.019147872924805','192.168.1.254','2019-06-15 02:19:16'),(39888,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00039911270141602','192.168.1.254','2019-06-15 02:19:16'),(39889,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/documents','0.0013470649719238','192.168.1.254','2019-06-15 02:19:16'),(39890,23,NULL,'others','SELECT `a`.*, count(b.id) as count_documents\nFROM `customer` `a`\nLEFT JOIN `kbs__document` `b` ON `b`.`company_id` = `a`.`id`\nWHERE `a`.`is_delete` =0\nGROUP BY `a`.`id`','/salihin-digital/kbs/documents','0.0089249610900879','192.168.1.254','2019-06-15 02:19:16'),(39891,23,NULL,'others','SELECT `a`.*, `b`.`box_no`, `c`.`id` as `rack_id`, `c`.`code` as `rack_code`, `d`.`id` as `room_id`, `d`.`code` as `room_code`, `e`.`name` as `company_name`\nFROM `kbs__document` `a`\nJOIN `kbs__box` `b` ON `b`.`id` = `a`.`box_id`\nJOIN `kbs__rack` `c` ON `c`.`id` = `b`.`rack_id`\nJOIN `kbs__room` `d` ON `d`.`id` = `c`.`room_id`\nJOIN `customer` `e` ON `e`.`id` = `a`.`company_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/kbs/documents','0.00090813636779785','192.168.1.254','2019-06-15 02:19:16'),(39892,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/documents','0.00054597854614258','192.168.1.254','2019-06-15 02:19:16'),(39893,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/documents','0.00090909004211426','192.168.1.254','2019-06-15 02:19:16'),(39894,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/documents','0.00086402893066406','192.168.1.254','2019-06-15 02:19:16'),(39895,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/documents','0.00090503692626953','192.168.1.254','2019-06-15 02:19:16'),(39896,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/documents','0.000885009765625','192.168.1.254','2019-06-15 02:19:16'),(39897,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/documents/\'\nWHERE id = 997','kbs/documents','0.00039100646972656','192.168.1.254','2019-06-15 02:19:16'),(39898,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/documents','0.019179105758667','192.168.1.254','2019-06-15 02:19:54'),(39899,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.0003659725189209','192.168.1.254','2019-06-15 02:19:54'),(39900,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/documents','0.0013549327850342','192.168.1.254','2019-06-15 02:19:54'),(39901,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/documents','0.019230842590332','192.168.1.254','2019-06-15 02:19:54'),(39902,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00040102005004883','192.168.1.254','2019-06-15 02:19:54'),(39903,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/documents','0.0013620853424072','192.168.1.254','2019-06-15 02:19:54'),(39904,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/documents','0.019066095352173','192.168.1.254','2019-06-15 02:19:54'),(39905,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00040102005004883','192.168.1.254','2019-06-15 02:19:54'),(39906,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/documents','0.001366138458252','192.168.1.254','2019-06-15 02:19:54'),(39907,23,NULL,'others','SELECT `a`.*, count(b.id) as count_documents\nFROM `customer` `a`\nLEFT JOIN `kbs__document` `b` ON `b`.`company_id` = `a`.`id`\nWHERE `a`.`is_delete` =0\nGROUP BY `a`.`id`','/salihin-digital/kbs/documents','0.0088460445404053','192.168.1.254','2019-06-15 02:19:54'),(39908,23,NULL,'others','SELECT `a`.*, `b`.`box_no`, `c`.`id` as `rack_id`, `c`.`code` as `rack_code`, `d`.`id` as `room_id`, `d`.`code` as `room_code`, `e`.`name` as `company_name`\nFROM `kbs__document` `a`\nJOIN `kbs__box` `b` ON `b`.`id` = `a`.`box_id`\nJOIN `kbs__rack` `c` ON `c`.`id` = `b`.`rack_id`\nJOIN `kbs__room` `d` ON `d`.`id` = `c`.`room_id`\nJOIN `customer` `e` ON `e`.`id` = `a`.`company_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/kbs/documents','0.00090193748474121','192.168.1.254','2019-06-15 02:19:54'),(39909,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/documents','0.0005028247833252','192.168.1.254','2019-06-15 02:19:54'),(39910,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/documents','0.00089907646179199','192.168.1.254','2019-06-15 02:19:54'),(39911,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/documents','0.00087404251098633','192.168.1.254','2019-06-15 02:19:54'),(39912,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/documents','0.00089502334594727','192.168.1.254','2019-06-15 02:19:54'),(39913,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/documents','0.00087189674377441','192.168.1.254','2019-06-15 02:19:54'),(39914,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/documents/\'\nWHERE id = 997','kbs/documents','0.00037217140197754','192.168.1.254','2019-06-15 02:19:54'),(39915,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/documents','0.020015954971313','192.168.1.254','2019-06-15 02:20:01'),(39916,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00041103363037109','192.168.1.254','2019-06-15 02:20:01'),(39917,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/documents','0.0013577938079834','192.168.1.254','2019-06-15 02:20:01'),(39918,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/documents','0.01914381980896','192.168.1.254','2019-06-15 02:20:01'),(39919,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00041294097900391','192.168.1.254','2019-06-15 02:20:01'),(39920,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/documents','0.0013599395751953','192.168.1.254','2019-06-15 02:20:01'),(39921,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/documents','0.019099950790405','192.168.1.254','2019-06-15 02:20:01'),(39922,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/documents','0.00040197372436523','192.168.1.254','2019-06-15 02:20:01'),(39923,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/documents','0.001338005065918','192.168.1.254','2019-06-15 02:20:01'),(39924,23,NULL,'others','SELECT `a`.*, count(b.id) as count_documents\nFROM `customer` `a`\nLEFT JOIN `kbs__document` `b` ON `b`.`company_id` = `a`.`id`\nWHERE `a`.`is_delete` =0\nGROUP BY `a`.`id`','/salihin-digital/kbs/documents','0.0054171085357666','192.168.1.254','2019-06-15 02:20:01'),(39925,23,NULL,'others','SELECT `a`.*, `b`.`box_no`, `c`.`id` as `rack_id`, `c`.`code` as `rack_code`, `d`.`id` as `room_id`, `d`.`code` as `room_code`, `e`.`name` as `company_name`\nFROM `kbs__document` `a`\nJOIN `kbs__box` `b` ON `b`.`id` = `a`.`box_id`\nJOIN `kbs__rack` `c` ON `c`.`id` = `b`.`rack_id`\nJOIN `kbs__room` `d` ON `d`.`id` = `c`.`room_id`\nJOIN `customer` `e` ON `e`.`id` = `a`.`company_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/kbs/documents','0.00089097023010254','192.168.1.254','2019-06-15 02:20:01'),(39926,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/documents','0.00057291984558105','192.168.1.254','2019-06-15 02:20:01'),(39927,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/documents','0.00090217590332031','192.168.1.254','2019-06-15 02:20:01'),(39928,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/documents','0.00086283683776855','192.168.1.254','2019-06-15 02:20:01'),(39929,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/documents','0.00088691711425781','192.168.1.254','2019-06-15 02:20:01'),(39930,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/documents','0.00088000297546387','192.168.1.254','2019-06-15 02:20:01'),(39931,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/documents/\'\nWHERE id = 997','kbs/documents','0.00038599967956543','192.168.1.254','2019-06-15 02:20:01'),(39932,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.0190749168396','192.168.1.254','2019-06-15 02:23:51'),(39933,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.00040483474731445','192.168.1.254','2019-06-15 02:23:51'),(39934,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.0013549327850342','192.168.1.254','2019-06-15 02:23:51'),(39935,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.019301891326904','192.168.1.254','2019-06-15 02:23:51'),(39936,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.00040602684020996','192.168.1.254','2019-06-15 02:23:51'),(39937,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.0013790130615234','192.168.1.254','2019-06-15 02:23:51'),(39938,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.019039869308472','192.168.1.254','2019-06-15 02:23:51'),(39939,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.00040292739868164','192.168.1.254','2019-06-15 02:23:51'),(39940,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.0013601779937744','192.168.1.254','2019-06-15 02:23:51'),(39941,23,NULL,'update','UPDATE `_log__module_session` SET `logout_ts` = \'2019-06-15 10:23:48\'\nWHERE id = 282','/index','0.025101184844971','192.168.1.254','2019-06-15 02:23:51'),(39942,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.00038695335388184','192.168.1.254','2019-06-15 02:23:51'),(39943,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.019062995910645','192.168.1.254','2019-06-15 02:23:55'),(39944,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00036716461181641','192.168.1.254','2019-06-15 02:23:55'),(39945,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave','0.001309871673584','192.168.1.254','2019-06-15 02:23:55'),(39946,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.018968105316162','192.168.1.254','2019-06-15 02:23:55'),(39947,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00040411949157715','192.168.1.254','2019-06-15 02:23:55'),(39948,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.001366138458252','192.168.1.254','2019-06-15 02:23:55'),(39949,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.018624067306519','192.168.1.254','2019-06-15 02:23:55'),(39950,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00040197372436523','192.168.1.254','2019-06-15 02:23:55'),(39951,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.0013411045074463','192.168.1.254','2019-06-15 02:23:55'),(39952,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.00093889236450195','192.168.1.254','2019-06-15 02:23:55'),(39953,23,NULL,'insert','INSERT INTO `_log__module_session` (`module_id`, `user_session_id`) VALUES (4, 997)','leave/index','0.016173124313354','192.168.1.254','2019-06-15 02:23:55'),(39954,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave','0.00058603286743164','192.168.1.254','2019-06-15 02:23:55'),(39955,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave','0.00040006637573242','192.168.1.254','2019-06-15 02:23:55'),(39956,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.00066804885864258','192.168.1.254','2019-06-15 02:23:55'),(39957,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.032696962356567','192.168.1.254','2019-06-15 02:23:55'),(39958,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.0080039501190186','192.168.1.254','2019-06-15 02:23:55'),(39959,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.0019669532775879','192.168.1.254','2019-06-15 02:23:55'),(39960,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.019454956054688','192.168.1.254','2019-06-15 02:23:55'),(39961,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave','0.00036787986755371','192.168.1.254','2019-06-15 02:23:55'),(39962,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.00061202049255371','192.168.1.254','2019-06-15 02:23:56'),(39963,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.0020649433135986','192.168.1.254','2019-06-15 02:23:56'),(39964,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.0063760280609131','192.168.1.254','2019-06-15 02:23:56'),(39965,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `d`.`title`, `e`.`position` as `position_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`, `m`.`duration` as `contract_term`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__contract_element` `m` ON `m`.`id` = `d`.`contract_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'23\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.019504070281982','192.168.1.254','2019-06-15 02:23:56'),(39966,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.0019590854644775','192.168.1.254','2019-06-15 02:23:56'),(39967,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.026846885681152','192.168.1.254','2019-06-15 02:23:56'),(39968,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.00060296058654785','192.168.1.254','2019-06-15 02:23:56'),(39969,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.00090599060058594','192.168.1.254','2019-06-15 02:23:56'),(39970,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.00086593627929688','192.168.1.254','2019-06-15 02:23:56'),(39971,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 02:23:56'),(39972,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.00087904930114746','192.168.1.254','2019-06-15 02:23:56'),(39973,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/\'\nWHERE id = 997','leave/index','0.00048184394836426','192.168.1.254','2019-06-15 02:23:56'),(39974,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.019643783569336','192.168.1.254','2019-06-15 02:23:59'),(39975,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/','0.00041484832763672','192.168.1.254','2019-06-15 02:23:59'),(39976,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.00136399269104','192.168.1.254','2019-06-15 02:23:59'),(39977,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.019085168838501','192.168.1.254','2019-06-15 02:23:59'),(39978,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/','0.00040602684020996','192.168.1.254','2019-06-15 02:23:59'),(39979,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.0013678073883057','192.168.1.254','2019-06-15 02:23:59'),(39980,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.019246101379395','192.168.1.254','2019-06-15 02:24:00'),(39981,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/','0.00041913986206055','192.168.1.254','2019-06-15 02:24:00'),(39982,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.0013318061828613','192.168.1.254','2019-06-15 02:24:00'),(39983,23,NULL,'update','UPDATE `_log__module_session` SET `logout_ts` = \'2019-06-15 10:23:57\'\nWHERE id = 283','web/index','0.027307033538818','192.168.1.254','2019-06-15 02:24:00'),(39984,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'\'\nWHERE id = 997','web/index','0.00037503242492676','192.168.1.254','2019-06-15 02:24:00'),(39985,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.019345998764038','192.168.1.254','2019-06-15 02:25:26'),(39986,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.00045084953308105','192.168.1.254','2019-06-15 02:25:26'),(39987,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.0013821125030518','192.168.1.254','2019-06-15 02:25:26'),(39988,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.019286870956421','192.168.1.254','2019-06-15 02:25:26'),(39989,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.00040793418884277','192.168.1.254','2019-06-15 02:25:26'),(39990,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.0013790130615234','192.168.1.254','2019-06-15 02:25:26'),(39991,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.019654989242554','192.168.1.254','2019-06-15 02:25:26'),(39992,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.00042605400085449','192.168.1.254','2019-06-15 02:25:26'),(39993,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.0013828277587891','192.168.1.254','2019-06-15 02:25:26'),(39994,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.00047397613525391','192.168.1.254','2019-06-15 02:25:26'),(39995,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/department','0.018959045410156','192.168.1.254','2019-06-15 02:25:31'),(39996,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/department','0.00040411949157715','192.168.1.254','2019-06-15 02:25:31'),(39997,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/department','0.0013501644134521','192.168.1.254','2019-06-15 02:25:31'),(39998,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/department','0.019073009490967','192.168.1.254','2019-06-15 02:25:31'),(39999,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/department','0.00037693977355957','192.168.1.254','2019-06-15 02:25:31'),(40000,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/department','0.0013442039489746','192.168.1.254','2019-06-15 02:25:31'),(40001,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/department','0.018966913223267','192.168.1.254','2019-06-15 02:25:31'),(40002,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/department','0.00042295455932617','192.168.1.254','2019-06-15 02:25:31'),(40003,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/department','0.0013601779937744','192.168.1.254','2019-06-15 02:25:31'),(40004,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/department','0.00095796585083008','192.168.1.254','2019-06-15 02:25:31'),(40005,23,NULL,'insert','INSERT INTO `_log__module_session` (`module_id`, `user_session_id`) VALUES (4, 997)','leave/department','0.026489973068237','192.168.1.254','2019-06-15 02:25:32'),(40006,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave/department','0.00058794021606445','192.168.1.254','2019-06-15 02:25:32'),(40007,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave/department','0.00039505958557129','192.168.1.254','2019-06-15 02:25:32'),(40008,23,NULL,'others','SELECT `year`\nFROM `hr__leave_entitlement`\nWHERE `is_delete` =0\nGROUP BY `year`\nORDER BY `year` DESC','/salihin-digital/hr/leave/department','0.00056290626525879','192.168.1.254','2019-06-15 02:25:32'),(40009,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/department','0.00066304206848145','192.168.1.254','2019-06-15 02:25:32'),(40010,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/department','0.00057005882263184','192.168.1.254','2019-06-15 02:25:32'),(40011,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/department','0.00091099739074707','192.168.1.254','2019-06-15 02:25:32'),(40012,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/department','0.00088787078857422','192.168.1.254','2019-06-15 02:25:32'),(40013,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/department','0.00090789794921875','192.168.1.254','2019-06-15 02:25:32'),(40014,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/department','0.00088596343994141','192.168.1.254','2019-06-15 02:25:32'),(40015,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/department/\'\nWHERE id = 997','leave/department','0.00039792060852051','192.168.1.254','2019-06-15 02:25:32'),(40016,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/department','0.019473075866699','192.168.1.254','2019-06-15 02:26:04'),(40017,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/department','0.00040292739868164','192.168.1.254','2019-06-15 02:26:04'),(40018,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/department','0.0013580322265625','192.168.1.254','2019-06-15 02:26:04'),(40019,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/department','0.019396781921387','192.168.1.254','2019-06-15 02:26:04'),(40020,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/department','0.0003809928894043','192.168.1.254','2019-06-15 02:26:04'),(40021,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/department','0.0013899803161621','192.168.1.254','2019-06-15 02:26:04'),(40022,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/department','0.019524097442627','192.168.1.254','2019-06-15 02:26:04'),(40023,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/department','0.00040483474731445','192.168.1.254','2019-06-15 02:26:04'),(40024,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/department','0.0014019012451172','192.168.1.254','2019-06-15 02:26:04'),(40025,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave/department','0.00061392784118652','192.168.1.254','2019-06-15 02:26:04'),(40026,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave/department','0.00039911270141602','192.168.1.254','2019-06-15 02:26:04'),(40027,23,NULL,'others','SELECT `year`\nFROM `hr__leave_entitlement`\nWHERE `is_delete` =0\nGROUP BY `year`\nORDER BY `year` DESC','/salihin-digital/hr/leave/department','0.00053906440734863','192.168.1.254','2019-06-15 02:26:04'),(40028,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/department','0.00071811676025391','192.168.1.254','2019-06-15 02:26:04'),(40029,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/department','0.00063300132751465','192.168.1.254','2019-06-15 02:26:04'),(40030,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/department','0.00089597702026367','192.168.1.254','2019-06-15 02:26:04'),(40031,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/department','0.00094413757324219','192.168.1.254','2019-06-15 02:26:04'),(40032,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/department','0.00089311599731445','192.168.1.254','2019-06-15 02:26:04'),(40033,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/department','0.00094509124755859','192.168.1.254','2019-06-15 02:26:04'),(40034,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/department/\'\nWHERE id = 997','leave/department','0.0004279613494873','192.168.1.254','2019-06-15 02:26:04'),(40035,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/department','0.019457101821899','192.168.1.254','2019-06-15 02:26:16'),(40036,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/department','0.00039219856262207','192.168.1.254','2019-06-15 02:26:16'),(40037,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/department','0.0013091564178467','192.168.1.254','2019-06-15 02:26:16'),(40038,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/department','0.019361972808838','192.168.1.254','2019-06-15 02:26:16'),(40039,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/department','0.00041794776916504','192.168.1.254','2019-06-15 02:26:16'),(40040,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/department','0.0014019012451172','192.168.1.254','2019-06-15 02:26:16'),(40041,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/department','0.019178867340088','192.168.1.254','2019-06-15 02:26:16'),(40042,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/department','0.00040507316589355','192.168.1.254','2019-06-15 02:26:16'),(40043,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/department','0.0013670921325684','192.168.1.254','2019-06-15 02:26:16'),(40044,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave/department','0.00059890747070312','192.168.1.254','2019-06-15 02:26:16'),(40045,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave/department','0.00038814544677734','192.168.1.254','2019-06-15 02:26:16'),(40046,23,NULL,'others','SELECT `year`\nFROM `hr__leave_entitlement`\nWHERE `is_delete` =0\nGROUP BY `year`\nORDER BY `year` DESC','/salihin-digital/hr/leave/department','0.0005340576171875','192.168.1.254','2019-06-15 02:26:16'),(40047,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/department','0.00068402290344238','192.168.1.254','2019-06-15 02:26:16'),(40048,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/department','0.00056099891662598','192.168.1.254','2019-06-15 02:26:16'),(40049,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/department','0.00091314315795898','192.168.1.254','2019-06-15 02:26:16'),(40050,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/department','0.00088787078857422','192.168.1.254','2019-06-15 02:26:16'),(40051,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/department','0.00090122222900391','192.168.1.254','2019-06-15 02:26:16'),(40052,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/department','0.00089812278747559','192.168.1.254','2019-06-15 02:26:16'),(40053,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/department/\'\nWHERE id = 997','leave/department','0.0003819465637207','192.168.1.254','2019-06-15 02:26:16'),(40054,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.0194091796875','192.168.1.254','2019-06-15 02:26:53'),(40055,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.00040602684020996','192.168.1.254','2019-06-15 02:26:53'),(40056,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.0013511180877686','192.168.1.254','2019-06-15 02:26:53'),(40057,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.019215106964111','192.168.1.254','2019-06-15 02:26:53'),(40058,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.00041699409484863','192.168.1.254','2019-06-15 02:26:53'),(40059,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.0013659000396729','192.168.1.254','2019-06-15 02:26:53'),(40060,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.019448041915894','192.168.1.254','2019-06-15 02:26:53'),(40061,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.00041007995605469','192.168.1.254','2019-06-15 02:26:53'),(40062,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.0013258457183838','192.168.1.254','2019-06-15 02:26:53'),(40063,23,NULL,'update','UPDATE `_log__module_session` SET `logout_ts` = \'2019-06-15 10:26:50\'\nWHERE id = 284','/index','0.087691068649292','192.168.1.254','2019-06-15 02:26:53'),(40064,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.00041604042053223','192.168.1.254','2019-06-15 02:26:53'),(40065,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/hr/leave/application','0.01885199546814','192.168.1.254','2019-06-15 02:27:53'),(40066,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/application','0.00040411949157715','192.168.1.254','2019-06-15 02:27:53'),(40067,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave/application','0.0013508796691895','192.168.1.254','2019-06-15 02:27:53'),(40068,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/hr/leave/application','0.018886089324951','192.168.1.254','2019-06-15 02:27:53'),(40069,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/application','0.00041508674621582','192.168.1.254','2019-06-15 02:27:53'),(40070,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave/application','0.0013668537139893','192.168.1.254','2019-06-15 02:27:53'),(40071,23,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'23\'','/salihin-digital/hr/leave/application','0.018848896026611','192.168.1.254','2019-06-15 02:27:53'),(40072,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/application','0.00041007995605469','192.168.1.254','2019-06-15 02:27:53'),(40073,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave/application','0.0013740062713623','192.168.1.254','2019-06-15 02:27:53'),(40074,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = 4\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave/application','0.00094223022460938','192.168.1.254','2019-06-15 02:27:53'),(40075,23,NULL,'insert','INSERT INTO `_log__module_session` (`module_id`, `user_session_id`) VALUES (4, 997)','leave/application','0.012224912643433','192.168.1.254','2019-06-15 02:27:53'),(40076,23,NULL,'others','SELECT `year`\nFROM `hr__leave_entitlement`\nWHERE `is_delete` =0\nGROUP BY `year`\nORDER BY `year` DESC','/salihin-digital/hr/leave/application','0.00057601928710938','192.168.1.254','2019-06-15 02:27:53'),(40077,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `d`.`title`, `e`.`position` as `position_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`, `m`.`duration` as `contract_term`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__contract_element` `m` ON `m`.`id` = `d`.`contract_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'23\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave/application','0.019966125488281','192.168.1.254','2019-06-15 02:27:53'),(40078,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `d`.`department_id` IS NULL\nAND `a`.`id` != \'23\'\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave/application','0.026654005050659','192.168.1.254','2019-06-15 02:27:53'),(40079,23,NULL,'others','SELECT `a`.*, `b`.`code`, `b`.`name`, `d`.`name` as `departmentName`\nFROM `hr__leave_allocation` `a`\nJOIN `hr__leave_type` `b` ON `b`.`id` = `a`.`type_id`\nJOIN `user__employment_detail` `c` ON `c`.`user_id` = `a`.`user_id`\nJOIN `company__department` `d` ON `d`.`id` = `c`.`department_id`\nWHERE `a`.`user_id` = \'23\'\nAND `a`.`year` = \'2019\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`year` DESC, `a`.`type_id` ASC','/salihin-digital/hr/leave/application','0.0024051666259766','192.168.1.254','2019-06-15 02:27:53'),(40080,23,NULL,'others','SELECT `a`.*, `b`.`name` as `type`\nFROM `hr__leave_allocation_request` `a`\nJOIN `hr__leave_type` `b` ON `a`.`type_id` = `b`.`id`\nWHERE `a`.`is_delete` =0\nAND `user_id` = \'23\'\nAND `year` = \'2019\'','/salihin-digital/hr/leave/application','0.00046014785766602','192.168.1.254','2019-06-15 02:27:53'),(40081,23,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`, `c`.`name` as `period_from`, `d`.`name` as `period_to`, `e`.`status` as `leave_status`, `f`.`name` as `leave_type`, `f`.`colour`, `f`.`code`, `g`.`name` as `user_name`, `h`.`file_name`, `h`.`file_location`, `k`.`name` as `relief_person`\nFROM `hr__leave_application` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nJOIN `hr__ref_leave_period` `c` ON `c`.`id` = `a`.`period_from_id`\nJOIN `hr__ref_leave_period` `d` ON `d`.`id` = `a`.`period_to_id`\nJOIN `hr__ref_leave_status` `e` ON `e`.`id` = `a`.`status`\nJOIN `hr__leave_type` `f` ON `f`.`id` = `a`.`type_id`\nJOIN `user` `g` ON `g`.`id` = `a`.`user_id`\nLEFT JOIN `hr__leave_attachment` `h` ON `h`.`application_id` = `a`.`id`\nLEFT JOIN `user__employment_detail` `i` ON `a`.`user_id` = `i`.`user_id`\nLEFT JOIN `company__position` `j` ON `i`.`position_id` = `j`.`id`\nJOIN `user` `k` ON `k`.`id` = `a`.`absent_relief_id`\nWHERE `a`.`user_id` = \'23\'\nAND year(a.date_from) = \'2019\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`status` ASC, `a`.`created_ts` DESC','/salihin-digital/hr/leave/application','0.0051760673522949','192.168.1.254','2019-06-15 02:27:53'),(40082,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave/application','0.00035786628723145','192.168.1.254','2019-06-15 02:27:53'),(40083,23,NULL,'others','SELECT (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019) as leaveTotal, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 1) as leavePending, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 2) as leaveApproved, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 3) as leaveRejected, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 23 AND year(date_from) = 2019 AND `status` = 4) as leaveCancelled','/salihin-digital/hr/leave/application','0.00062990188598633','192.168.1.254','2019-06-15 02:27:53'),(40084,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave/application','0.00054478645324707','192.168.1.254','2019-06-15 02:27:53'),(40085,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave/application','0.00039386749267578','192.168.1.254','2019-06-15 02:27:53'),(40086,23,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `d`.`title`, `e`.`position` as `position_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`, `m`.`duration` as `contract_term`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__contract_element` `m` ON `m`.`id` = `d`.`contract_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'23\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave/application','0.019501924514771','192.168.1.254','2019-06-15 02:27:53'),(40087,23,NULL,'others','SELECT `a`.*, `b`.`code`, `b`.`name`, `d`.`name` as `departmentName`\nFROM `hr__leave_allocation` `a`\nJOIN `hr__leave_type` `b` ON `b`.`id` = `a`.`type_id`\nJOIN `user__employment_detail` `c` ON `c`.`user_id` = `a`.`user_id`\nJOIN `company__department` `d` ON `d`.`id` = `c`.`department_id`\nWHERE `a`.`user_id` = \'23\'\nAND `a`.`year` = \'2019\'\nAND `a`.`type_id` = 1\nAND `a`.`is_delete` =0\nORDER BY `a`.`year` DESC, `a`.`type_id` ASC','/salihin-digital/hr/leave/application','0.0019800662994385','192.168.1.254','2019-06-15 02:27:53'),(40088,23,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/leave/application','0.00052404403686523','192.168.1.254','2019-06-15 02:27:53'),(40089,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave/application','0.00087594985961914','192.168.1.254','2019-06-15 02:27:53'),(40090,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave/application','0.000885009765625','192.168.1.254','2019-06-15 02:27:53'),(40091,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave/application','0.00088405609130859','192.168.1.254','2019-06-15 02:27:53'),(40092,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave/application','0.00089621543884277','192.168.1.254','2019-06-15 02:27:53'),(40093,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/application/\'\nWHERE id = 997','leave/application','0.00039100646972656','192.168.1.254','2019-06-15 02:27:53'),(40094,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.019334077835083','192.168.1.254','2019-06-15 02:27:57'),(40095,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/','0.00044393539428711','192.168.1.254','2019-06-15 02:27:57'),(40096,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.00136399269104','192.168.1.254','2019-06-15 02:27:57'),(40097,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.01903510093689','192.168.1.254','2019-06-15 02:27:57'),(40098,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/','0.00040197372436523','192.168.1.254','2019-06-15 02:27:57'),(40099,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.0013449192047119','192.168.1.254','2019-06-15 02:27:57'),(40100,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.018908977508545','192.168.1.254','2019-06-15 02:27:57'),(40101,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/','0.00039911270141602','192.168.1.254','2019-06-15 02:27:57'),(40102,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.0013458728790283','192.168.1.254','2019-06-15 02:27:57'),(40103,23,NULL,'update','UPDATE `_log__module_session` SET `logout_ts` = \'2019-06-15 10:27:54\'\nWHERE id = 285','web/index','0.030293941497803','192.168.1.254','2019-06-15 02:27:57'),(40104,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'\'\nWHERE id = 997','web/index','0.00040221214294434','192.168.1.254','2019-06-15 02:27:57'),(40105,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.019203901290894','192.168.1.254','2019-06-15 02:28:11'),(40106,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.00040388107299805','192.168.1.254','2019-06-15 02:28:11'),(40107,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.0013480186462402','192.168.1.254','2019-06-15 02:28:11'),(40108,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.019068002700806','192.168.1.254','2019-06-15 02:28:11'),(40109,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.00040793418884277','192.168.1.254','2019-06-15 02:28:11'),(40110,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.001345157623291','192.168.1.254','2019-06-15 02:28:11'),(40111,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.019247055053711','192.168.1.254','2019-06-15 02:28:11'),(40112,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.00040102005004883','192.168.1.254','2019-06-15 02:28:11'),(40113,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.0013649463653564','192.168.1.254','2019-06-15 02:28:11'),(40114,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.00047087669372559','192.168.1.254','2019-06-15 02:28:11'),(40115,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.019085884094238','192.168.1.254','2019-06-15 02:46:44'),(40116,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00040602684020996','192.168.1.254','2019-06-15 02:46:44'),(40117,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.0013561248779297','192.168.1.254','2019-06-15 02:46:44'),(40118,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.019181966781616','192.168.1.254','2019-06-15 02:46:44'),(40119,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00040483474731445','192.168.1.254','2019-06-15 02:46:44'),(40120,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.0013408660888672','192.168.1.254','2019-06-15 02:46:44'),(40121,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.019199132919312','192.168.1.254','2019-06-15 02:46:44'),(40122,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 02:46:44'),(40123,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.0013668537139893','192.168.1.254','2019-06-15 02:46:44'),(40124,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.00094294548034668','192.168.1.254','2019-06-15 02:46:44'),(40125,23,NULL,'insert','INSERT INTO `_log__module_session` (`module_id`, `user_session_id`) VALUES (4, 997)','leave/index','0.090273857116699','192.168.1.254','2019-06-15 02:46:44'),(40126,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave','0.00067996978759766','192.168.1.254','2019-06-15 02:46:44'),(40127,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave','0.0003349781036377','192.168.1.254','2019-06-15 02:46:44'),(40128,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.00068092346191406','192.168.1.254','2019-06-15 02:46:44'),(40129,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.028804063796997','192.168.1.254','2019-06-15 02:46:44'),(40130,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.0085291862487793','192.168.1.254','2019-06-15 02:46:44'),(40131,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.0019831657409668','192.168.1.254','2019-06-15 02:46:44'),(40132,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.019660949707031','192.168.1.254','2019-06-15 02:46:44'),(40133,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave','0.00036716461181641','192.168.1.254','2019-06-15 02:46:44'),(40134,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.00060081481933594','192.168.1.254','2019-06-15 02:46:44'),(40135,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.0021281242370605','192.168.1.254','2019-06-15 02:46:44'),(40136,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.007282018661499','192.168.1.254','2019-06-15 02:46:44'),(40137,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.019718170166016','192.168.1.254','2019-06-15 02:46:44'),(40138,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.0020039081573486','192.168.1.254','2019-06-15 02:46:44'),(40139,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.023192882537842','192.168.1.254','2019-06-15 02:46:44'),(40140,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.00056314468383789','192.168.1.254','2019-06-15 02:46:44'),(40141,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.00089097023010254','192.168.1.254','2019-06-15 02:46:44'),(40142,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.00088691711425781','192.168.1.254','2019-06-15 02:46:44'),(40143,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.00089812278747559','192.168.1.254','2019-06-15 02:46:44'),(40144,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.00089883804321289','192.168.1.254','2019-06-15 02:46:44'),(40145,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/\'\nWHERE id = 997','leave/index','0.00044918060302734','192.168.1.254','2019-06-15 02:46:44'),(40146,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.018958806991577','192.168.1.254','2019-06-15 02:46:49'),(40147,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/','0.00040698051452637','192.168.1.254','2019-06-15 02:46:49'),(40148,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.0013558864593506','192.168.1.254','2019-06-15 02:46:49'),(40149,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.019110918045044','192.168.1.254','2019-06-15 02:46:49'),(40150,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/','0.00043511390686035','192.168.1.254','2019-06-15 02:46:49'),(40151,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.0013611316680908','192.168.1.254','2019-06-15 02:46:49'),(40152,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.018791913986206','192.168.1.254','2019-06-15 02:46:49'),(40153,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/','0.00041699409484863','192.168.1.254','2019-06-15 02:46:49'),(40154,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.0013611316680908','192.168.1.254','2019-06-15 02:46:49'),(40155,23,NULL,'update','UPDATE `_log__module_session` SET `logout_ts` = \'2019-06-15 10:46:47\'\nWHERE id = 286','web/index','0.017543077468872','192.168.1.254','2019-06-15 02:46:50'),(40156,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'\'\nWHERE id = 997','web/index','0.00034785270690918','192.168.1.254','2019-06-15 02:46:50'),(40157,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/staffDetail/3','0.019458055496216','192.168.1.254','2019-06-15 02:49:46'),(40158,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00037884712219238','192.168.1.254','2019-06-15 02:49:46'),(40159,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/staffDetail/3','0.0012209415435791','192.168.1.254','2019-06-15 02:49:46'),(40160,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/staffDetail/3','0.019008874893188','192.168.1.254','2019-06-15 02:49:46'),(40161,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00037097930908203','192.168.1.254','2019-06-15 02:49:46'),(40162,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/staffDetail/3','0.001194953918457','192.168.1.254','2019-06-15 02:49:46'),(40163,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/staffDetail/3','0.018828868865967','192.168.1.254','2019-06-15 02:49:46'),(40164,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00040602684020996','192.168.1.254','2019-06-15 02:49:46'),(40165,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/staffDetail/3','0.0012199878692627','192.168.1.254','2019-06-15 02:49:46'),(40166,128,NULL,'others','SELECT `a`.*, `b`.`type` as `reason`, `c`.`position` as `position_hiring`, `d`.`name` as `user_reporting_name`, `e`.`name` as `branch`, `g`.`name` as `personnel_area`, `f`.`name` as `personal_subarea`, `h`.`type` as `employee_group`, `i`.`type` as `contract_element`, `j`.`indicator` as `employee_subgroup_indicator`, `j`.`designation` as `employee_subgroup_designation`, `k`.`action_efective_date` as `action_efective_date`, `l`.`type` as `action_type_name`, `m`.`designation` as `designation`, `n`.`name` as `business_entity`\nFROM `user__joining_group` `a`\nLEFT JOIN `_ref__hiring_reason` `b` ON `b`.`id` = `a`.`reason_id`\nLEFT JOIN `company__position` `c` ON `c`.`id` = `a`.`position_id`\nLEFT JOIN `user` `d` ON `d`.`id` = `a`.`user_reporting_id`\nLEFT JOIN `company__branch` `e` ON `e`.`id` = `a`.`branch_id`\nLEFT JOIN `company__division` `f` ON `f`.`id` = `a`.`personal_subarea_id`\nLEFT JOIN `company__department` `g` ON `g`.`id` = `a`.`personnel_area_id`\nLEFT JOIN `_ref__employee_group` `h` ON `h`.`id` = `a`.`employee_group_id`\nLEFT JOIN `_ref__employee_contract_type` `i` ON `i`.`id` = `a`.`contract_element_id`\nLEFT JOIN `_ref__salary_scale` `j` ON `j`.`id` = `a`.`employee_subgroup_id`\nLEFT JOIN `user__profiling` `k` ON `k`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `l` ON `l`.`id` = `k`.`action_type_id`\nLEFT JOIN `_ref__designation` `m` ON `m`.`id` = `a`.`position_information`\nLEFT JOIN `company__business_entity` `n` ON `n`.`id` = `a`.`business_entity_id`\nWHERE `k`.`user_id` = \'3\'\nAND `a`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0010571479797363','192.168.1.254','2019-06-15 02:49:46'),(40167,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/staffDetail/3','0.020170927047729','192.168.1.254','2019-06-15 02:49:46'),(40168,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/staffDetail/3','0.00054097175598145','192.168.1.254','2019-06-15 02:49:46'),(40169,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0014410018920898','192.168.1.254','2019-06-15 02:49:46'),(40170,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00039815902709961','192.168.1.254','2019-06-15 02:49:46'),(40171,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00025105476379395','192.168.1.254','2019-06-15 02:49:46'),(40172,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00029397010803223','192.168.1.254','2019-06-15 02:49:46'),(40173,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0004889965057373','192.168.1.254','2019-06-15 02:49:46'),(40174,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0065708160400391','192.168.1.254','2019-06-15 02:49:46'),(40175,128,NULL,'others','SELECT `a`.*, `b`.`state` as `state_name`, `c`.`country` as `country_name`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__address` `a`\nLEFT JOIN `_ref__state` `b` ON `b`.`id` = `a`.`state_id`\nLEFT JOIN `_ref__country` `c` ON `c`.`id` = `a`.`country_id`\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`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nORDER BY `a`.`profiling_id` DESC, `a`.`type` ASC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0024230480194092','192.168.1.254','2019-06-15 02:49:46'),(40176,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00059294700622559','192.168.1.254','2019-06-15 02:49:46'),(40177,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00031709671020508','192.168.1.254','2019-06-15 02:49:46'),(40178,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00031208992004395','192.168.1.254','2019-06-15 02:49:46'),(40179,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','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0006110668182373','192.168.1.254','2019-06-15 02:49:46'),(40180,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00052309036254883','192.168.1.254','2019-06-15 02:49:46'),(40181,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\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0004279613494873','192.168.1.254','2019-06-15 02:49:46'),(40182,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00038695335388184','192.168.1.254','2019-06-15 02:49:46'),(40183,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00053691864013672','192.168.1.254','2019-06-15 02:49:46'),(40184,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00051617622375488','192.168.1.254','2019-06-15 02:49:46'),(40185,128,NULL,'others','SELECT *\nFROM `_ref__staff_action_type`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00035500526428223','192.168.1.254','2019-06-15 02:49:46'),(40186,128,NULL,'others','SELECT `a`.*, `b`.`type` as `contract_type`, `c`.`type` as `confirmation_type`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__contract_element` `a`\nJOIN `_ref__contract_type` `b` ON `b`.`id` = `a`.`contract_hiring_type_id`\nJOIN `_ref__contract_confirmation` `c` ON `c`.`id` = `a`.`confirmation`\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','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0005490779876709','192.168.1.254','2019-06-15 02:49:46'),(40187,128,NULL,'others','SELECT `id`, `position`\nFROM `company__position`\nWHERE `is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00038599967956543','192.168.1.254','2019-06-15 02:49:46'),(40188,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00043511390686035','192.168.1.254','2019-06-15 02:49:46'),(40189,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\nORDER BY `a`.`name` ASC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.029075860977173','192.168.1.254','2019-06-15 02:49:46'),(40190,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/staffDetail/3','0.0049760341644287','192.168.1.254','2019-06-15 02:49:46'),(40191,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00047898292541504','192.168.1.254','2019-06-15 02:49:46'),(40192,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`.`recurring_type` = \'0\'\nAND `a`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00051498413085938','192.168.1.254','2019-06-15 02:49:47'),(40193,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`.`recurring_type` = 1\nAND `a`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00045990943908691','192.168.1.254','2019-06-15 02:49:47'),(40194,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','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00047206878662109','192.168.1.254','2019-06-15 02:49:47'),(40195,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00048208236694336','192.168.1.254','2019-06-15 02:49:47'),(40196,128,NULL,'others','SELECT `a`.*, `b`.`name`, `b`.`ic_no`, `b`.`birthdate`, `b`.`occupation`, `b`.`oku_status`, `b`.`study_status`, `c`.`action_efective_date`, `d`.`type`\nFROM `user__pcb` `a`\nJOIN `user__family_member` `b` ON `b`.`id` = `a`.`family_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`.`is_delete` =0\nAND `a`.`user_id` = \'3\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00053000450134277','192.168.1.254','2019-06-15 02:49:47'),(40197,128,NULL,'others','SELECT `a`.*, `b`.`type`, `b`.`icon`, `b`.`color`, `c`.`name`, `d`.`title` as `user_title`, `e`.`name` as `religion`, `f`.`race`, `g`.`country` as `issue_country`, `h`.`country` as `nationality`\nFROM `user__profiling` `a`\nLEFT JOIN `_ref__action_type` `b` ON `b`.`id` = `a`.`action_type_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`user_id`\nLEFT JOIN `_ref__title` `d` ON `d`.`id` = `a`.`title_id`\nLEFT JOIN `_ref__religion` `e` ON `e`.`id` = `a`.`religion_id`\nLEFT JOIN `_ref__race` `f` ON `f`.`id` = `a`.`race_id`\nLEFT JOIN `_ref__country` `g` ON `g`.`id` = `a`.`place_issue`\nLEFT JOIN `_ref__country` `h` ON `h`.`id` = `a`.`citizen_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`action_efective_date` DESC, `a`.`id` DESC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00072407722473145','192.168.1.254','2019-06-15 02:49:47'),(40198,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__basic_pay` `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\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00047397613525391','192.168.1.254','2019-06-15 02:49:47'),(40199,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__statutory_detail` `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__statutory_detail` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_deleted` =0)\nAND `a`.`is_deleted` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00054311752319336','192.168.1.254','2019-06-15 02:49:47'),(40200,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00031304359436035','192.168.1.254','2019-06-15 02:49:47'),(40201,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00034093856811523','192.168.1.254','2019-06-15 02:49:47'),(40202,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 0 = \'e.parent_id <\'\nAND 1 = 3\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0019841194152832','192.168.1.254','2019-06-15 02:49:47'),(40203,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/staffDetail/3','0.0004420280456543','192.168.1.254','2019-06-15 02:49:47'),(40204,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/staffDetail/3','0.00055694580078125','192.168.1.254','2019-06-15 02:49:47'),(40205,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00026106834411621','192.168.1.254','2019-06-15 02:49:47'),(40206,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00031590461730957','192.168.1.254','2019-06-15 02:49:47'),(40207,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00037693977355957','192.168.1.254','2019-06-15 02:49:47'),(40208,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/staffDetail/3','0.00044012069702148','192.168.1.254','2019-06-15 02:49:47'),(40209,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/staffDetail/3','0.00084590911865234','192.168.1.254','2019-06-15 02:49:47'),(40210,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/staffDetail/3','0.00078105926513672','192.168.1.254','2019-06-15 02:49:47'),(40211,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/staffDetail/3','0.00077009201049805','192.168.1.254','2019-06-15 02:49:47'),(40212,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/staffDetail/3','0.00069904327392578','192.168.1.254','2019-06-15 02:49:47'),(40213,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'HR/StaffProfile/staffDetail/3/\'\nWHERE id = 995','StaffProfile/staffDetail','0.00044989585876465','192.168.1.254','2019-06-15 02:49:47'),(40214,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.019295930862427','192.168.1.254','2019-06-15 02:50:48'),(40215,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00039410591125488','192.168.1.254','2019-06-15 02:50:48'),(40216,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave','0.0013670921325684','192.168.1.254','2019-06-15 02:50:48'),(40217,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.019253969192505','192.168.1.254','2019-06-15 02:50:48'),(40218,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00043106079101562','192.168.1.254','2019-06-15 02:50:48'),(40219,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.0013811588287354','192.168.1.254','2019-06-15 02:50:48'),(40220,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.019240140914917','192.168.1.254','2019-06-15 02:50:48'),(40221,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00045084953308105','192.168.1.254','2019-06-15 02:50:48'),(40222,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.0013971328735352','192.168.1.254','2019-06-15 02:50:48'),(40223,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.00092291831970215','192.168.1.254','2019-06-15 02:50:48'),(40224,23,NULL,'insert','INSERT INTO `_log__module_session` (`module_id`, `user_session_id`) VALUES (4, 997)','leave/index','0.092756032943726','192.168.1.254','2019-06-15 02:50:48'),(40225,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave','0.00060105323791504','192.168.1.254','2019-06-15 02:50:49'),(40226,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave','0.00041794776916504','192.168.1.254','2019-06-15 02:50:49'),(40227,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.00067615509033203','192.168.1.254','2019-06-15 02:50:49'),(40228,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.031069040298462','192.168.1.254','2019-06-15 02:50:49'),(40229,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.0051100254058838','192.168.1.254','2019-06-15 02:50:49'),(40230,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.0019121170043945','192.168.1.254','2019-06-15 02:50:49'),(40231,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.019270896911621','192.168.1.254','2019-06-15 02:50:49'),(40232,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave','0.00035810470581055','192.168.1.254','2019-06-15 02:50:49'),(40233,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.00060105323791504','192.168.1.254','2019-06-15 02:50:49'),(40234,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.0020849704742432','192.168.1.254','2019-06-15 02:50:49'),(40235,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.0059530735015869','192.168.1.254','2019-06-15 02:50:49'),(40236,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.019237995147705','192.168.1.254','2019-06-15 02:50:49'),(40237,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.0019328594207764','192.168.1.254','2019-06-15 02:50:49'),(40238,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.02311897277832','192.168.1.254','2019-06-15 02:50:49'),(40239,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.00054001808166504','192.168.1.254','2019-06-15 02:50:49'),(40240,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.00088214874267578','192.168.1.254','2019-06-15 02:50:49'),(40241,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.0008690357208252','192.168.1.254','2019-06-15 02:50:49'),(40242,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.0008699893951416','192.168.1.254','2019-06-15 02:50:49'),(40243,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.00077605247497559','192.168.1.254','2019-06-15 02:50:49'),(40244,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/\'\nWHERE id = 997','leave/index','0.00058889389038086','192.168.1.254','2019-06-15 02:50:49'),(40245,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.019109964370728','192.168.1.254','2019-06-15 02:50:53'),(40246,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/','0.00041079521179199','192.168.1.254','2019-06-15 02:50:53'),(40247,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.0013518333435059','192.168.1.254','2019-06-15 02:50:53'),(40248,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.018929004669189','192.168.1.254','2019-06-15 02:50:53'),(40249,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/','0.00040793418884277','192.168.1.254','2019-06-15 02:50:53'),(40250,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.0013530254364014','192.168.1.254','2019-06-15 02:50:53'),(40251,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.019098997116089','192.168.1.254','2019-06-15 02:50:53'),(40252,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/','0.00042819976806641','192.168.1.254','2019-06-15 02:50:53'),(40253,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 02:50:53'),(40254,23,NULL,'update','UPDATE `_log__module_session` SET `logout_ts` = \'2019-06-15 10:50:50\'\nWHERE id = 287','web/index','0.066563844680786','192.168.1.254','2019-06-15 02:50:53'),(40255,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'\'\nWHERE id = 997','web/index','0.00038695335388184','192.168.1.254','2019-06-15 02:50:53'),(40256,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.019207954406738','192.168.1.254','2019-06-15 02:52:02'),(40257,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00042295455932617','192.168.1.254','2019-06-15 02:52:02'),(40258,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 02:52:02'),(40259,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.019054889678955','192.168.1.254','2019-06-15 02:52:02'),(40260,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00039815902709961','192.168.1.254','2019-06-15 02:52:02'),(40261,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 02:52:02'),(40262,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.018747091293335','192.168.1.254','2019-06-15 02:52:02'),(40263,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00036787986755371','192.168.1.254','2019-06-15 02:52:02'),(40264,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.0014441013336182','192.168.1.254','2019-06-15 02:52:02'),(40265,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.0009150505065918','192.168.1.254','2019-06-15 02:52:02'),(40266,23,NULL,'insert','INSERT INTO `_log__module_session` (`module_id`, `user_session_id`) VALUES (4, 997)','leave/index','0.093847036361694','192.168.1.254','2019-06-15 02:52:02'),(40267,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave','0.00066113471984863','192.168.1.254','2019-06-15 02:52:02'),(40268,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave','0.00035214424133301','192.168.1.254','2019-06-15 02:52:02'),(40269,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.00066494941711426','192.168.1.254','2019-06-15 02:52:02'),(40270,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.03245997428894','192.168.1.254','2019-06-15 02:52:02'),(40271,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.0061500072479248','192.168.1.254','2019-06-15 02:52:02'),(40272,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.0018999576568604','192.168.1.254','2019-06-15 02:52:02'),(40273,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.019912958145142','192.168.1.254','2019-06-15 02:52:02'),(40274,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave','0.00036406517028809','192.168.1.254','2019-06-15 02:52:02'),(40275,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.00055909156799316','192.168.1.254','2019-06-15 02:52:02'),(40276,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.0021700859069824','192.168.1.254','2019-06-15 02:52:02'),(40277,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.0048410892486572','192.168.1.254','2019-06-15 02:52:02'),(40278,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.01935601234436','192.168.1.254','2019-06-15 02:52:02'),(40279,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.0019221305847168','192.168.1.254','2019-06-15 02:52:02'),(40280,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.02796483039856','192.168.1.254','2019-06-15 02:52:02'),(40281,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.00053215026855469','192.168.1.254','2019-06-15 02:52:02'),(40282,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.00089192390441895','192.168.1.254','2019-06-15 02:52:02'),(40283,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.00081300735473633','192.168.1.254','2019-06-15 02:52:02'),(40284,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.00086212158203125','192.168.1.254','2019-06-15 02:52:02'),(40285,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.00082802772521973','192.168.1.254','2019-06-15 02:52:02'),(40286,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/\'\nWHERE id = 997','leave/index','0.00043487548828125','192.168.1.254','2019-06-15 02:52:02'),(40287,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.019371032714844','192.168.1.254','2019-06-15 02:53:12'),(40288,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.00035619735717773','192.168.1.254','2019-06-15 02:53:12'),(40289,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.0013258457183838','192.168.1.254','2019-06-15 02:53:12'),(40290,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.018975973129272','192.168.1.254','2019-06-15 02:53:12'),(40291,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.00040483474731445','192.168.1.254','2019-06-15 02:53:12'),(40292,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.0014090538024902','192.168.1.254','2019-06-15 02:53:13'),(40293,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.018980979919434','192.168.1.254','2019-06-15 02:53:13'),(40294,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.00040316581726074','192.168.1.254','2019-06-15 02:53:13'),(40295,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.0013620853424072','192.168.1.254','2019-06-15 02:53:13'),(40296,23,NULL,'update','UPDATE `_log__module_session` SET `logout_ts` = \'2019-06-15 10:53:10\'\nWHERE id = 288','/index','0.0940101146698','192.168.1.254','2019-06-15 02:53:13'),(40297,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.00041317939758301','192.168.1.254','2019-06-15 02:53:13'),(40298,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/results','0.018989086151123','192.168.1.254','2019-06-15 02:53:24'),(40299,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/results','0.00040698051452637','192.168.1.254','2019-06-15 02:53:24'),(40300,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/results','0.0013508796691895','192.168.1.254','2019-06-15 02:53:24'),(40301,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/results','0.019031047821045','192.168.1.254','2019-06-15 02:53:24'),(40302,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/results','0.00040411949157715','192.168.1.254','2019-06-15 02:53:24'),(40303,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/results','0.00136399269104','192.168.1.254','2019-06-15 02:53:24'),(40304,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/results','0.018823146820068','192.168.1.254','2019-06-15 02:53:24'),(40305,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/kbs/results','0.00040793418884277','192.168.1.254','2019-06-15 02:53:24'),(40306,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/results','0.0013389587402344','192.168.1.254','2019-06-15 02:53:24'),(40307,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/results','0.00095295906066895','192.168.1.254','2019-06-15 02:53:24'),(40308,23,NULL,'insert','INSERT INTO `_log__module_session` (`module_id`, `user_session_id`) VALUES (3, 997)','kbs/results','0.090786933898926','192.168.1.254','2019-06-15 02:53:24'),(40309,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/results','0.00053191184997559','192.168.1.254','2019-06-15 02:53:24'),(40310,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/results','0.0009160041809082','192.168.1.254','2019-06-15 02:53:24'),(40311,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/results','0.00091791152954102','192.168.1.254','2019-06-15 02:53:24'),(40312,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/results','0.00089383125305176','192.168.1.254','2019-06-15 02:53:24'),(40313,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/results','0.00086712837219238','192.168.1.254','2019-06-15 02:53:24'),(40314,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/results/\'\nWHERE id = 997','kbs/results','0.00040292739868164','192.168.1.254','2019-06-15 02:53:24'),(40315,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.018908977508545','192.168.1.254','2019-06-15 02:53:31'),(40316,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00040507316589355','192.168.1.254','2019-06-15 02:53:31'),(40317,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.0013668537139893','192.168.1.254','2019-06-15 02:53:31'),(40318,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.019552946090698','192.168.1.254','2019-06-15 02:53:31'),(40319,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00041985511779785','192.168.1.254','2019-06-15 02:53:31'),(40320,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.0014121532440186','192.168.1.254','2019-06-15 02:53:31'),(40321,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.019390106201172','192.168.1.254','2019-06-15 02:53:31'),(40322,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00043487548828125','192.168.1.254','2019-06-15 02:53:31'),(40323,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.0014159679412842','192.168.1.254','2019-06-15 02:53:31'),(40324,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.00099086761474609','192.168.1.254','2019-06-15 02:53:31'),(40325,23,NULL,'insert','INSERT INTO `_log__module_session` (`module_id`, `user_session_id`) VALUES (4, 997)','leave/index','0.019819021224976','192.168.1.254','2019-06-15 02:53:31'),(40326,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave','0.00053095817565918','192.168.1.254','2019-06-15 02:53:31'),(40327,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave','0.00029921531677246','192.168.1.254','2019-06-15 02:53:31'),(40328,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.00063109397888184','192.168.1.254','2019-06-15 02:53:31'),(40329,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.029997110366821','192.168.1.254','2019-06-15 02:53:31'),(40330,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.0097239017486572','192.168.1.254','2019-06-15 02:53:31'),(40331,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.0021119117736816','192.168.1.254','2019-06-15 02:53:31'),(40332,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.019944906234741','192.168.1.254','2019-06-15 02:53:32'),(40333,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave','0.00035691261291504','192.168.1.254','2019-06-15 02:53:32'),(40334,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.00061917304992676','192.168.1.254','2019-06-15 02:53:32'),(40335,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.0020899772644043','192.168.1.254','2019-06-15 02:53:32'),(40336,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.004439115524292','192.168.1.254','2019-06-15 02:53:32'),(40337,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.020101070404053','192.168.1.254','2019-06-15 02:53:32'),(40338,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.0019400119781494','192.168.1.254','2019-06-15 02:53:32'),(40339,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.027745962142944','192.168.1.254','2019-06-15 02:53:32'),(40340,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.00053310394287109','192.168.1.254','2019-06-15 02:53:32'),(40341,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.00087118148803711','192.168.1.254','2019-06-15 02:53:32'),(40342,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.0009009838104248','192.168.1.254','2019-06-15 02:53:32'),(40343,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.00087308883666992','192.168.1.254','2019-06-15 02:53:32'),(40344,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.00086498260498047','192.168.1.254','2019-06-15 02:53:32'),(40345,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/\'\nWHERE id = 997','leave/index','0.00045680999755859','192.168.1.254','2019-06-15 02:53:32'),(40346,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/staffDetail/3','0.019550800323486','192.168.1.254','2019-06-15 02:54:22'),(40347,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00045895576477051','192.168.1.254','2019-06-15 02:54:22'),(40348,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/staffDetail/3','0.0012989044189453','192.168.1.254','2019-06-15 02:54:22'),(40349,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/staffDetail/3','0.01962685585022','192.168.1.254','2019-06-15 02:54:22'),(40350,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00040388107299805','192.168.1.254','2019-06-15 02:54:22'),(40351,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/staffDetail/3','0.0012619495391846','192.168.1.254','2019-06-15 02:54:22'),(40352,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/staffDetail/3','0.019504070281982','192.168.1.254','2019-06-15 02:54:22'),(40353,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00040817260742188','192.168.1.254','2019-06-15 02:54:22'),(40354,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/staffDetail/3','0.0012269020080566','192.168.1.254','2019-06-15 02:54:22'),(40355,128,NULL,'others','SELECT `a`.*, `b`.`type` as `reason`, `c`.`position` as `position_hiring`, `d`.`name` as `user_reporting_name`, `e`.`name` as `branch`, `g`.`name` as `personnel_area`, `f`.`name` as `personal_subarea`, `h`.`type` as `employee_group`, `i`.`type` as `contract_element`, `j`.`indicator` as `employee_subgroup_indicator`, `j`.`designation` as `employee_subgroup_designation`, `k`.`action_efective_date` as `action_efective_date`, `l`.`type` as `action_type_name`, `m`.`designation` as `designation`, `n`.`name` as `business_entity`\nFROM `user__joining_group` `a`\nLEFT JOIN `_ref__hiring_reason` `b` ON `b`.`id` = `a`.`reason_id`\nLEFT JOIN `company__position` `c` ON `c`.`id` = `a`.`position_id`\nLEFT JOIN `user` `d` ON `d`.`id` = `a`.`user_reporting_id`\nLEFT JOIN `company__branch` `e` ON `e`.`id` = `a`.`branch_id`\nLEFT JOIN `company__division` `f` ON `f`.`id` = `a`.`personal_subarea_id`\nLEFT JOIN `company__department` `g` ON `g`.`id` = `a`.`personnel_area_id`\nLEFT JOIN `_ref__employee_group` `h` ON `h`.`id` = `a`.`employee_group_id`\nLEFT JOIN `_ref__employee_contract_type` `i` ON `i`.`id` = `a`.`contract_element_id`\nLEFT JOIN `_ref__salary_scale` `j` ON `j`.`id` = `a`.`employee_subgroup_id`\nLEFT JOIN `user__profiling` `k` ON `k`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `l` ON `l`.`id` = `k`.`action_type_id`\nLEFT JOIN `_ref__designation` `m` ON `m`.`id` = `a`.`position_information`\nLEFT JOIN `company__business_entity` `n` ON `n`.`id` = `a`.`business_entity_id`\nWHERE `k`.`user_id` = \'3\'\nAND `a`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00091099739074707','192.168.1.254','2019-06-15 02:54:22'),(40356,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/staffDetail/3','0.019728899002075','192.168.1.254','2019-06-15 02:54:22'),(40357,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/staffDetail/3','0.00057291984558105','192.168.1.254','2019-06-15 02:54:22'),(40358,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0013968944549561','192.168.1.254','2019-06-15 02:54:22'),(40359,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0003960132598877','192.168.1.254','2019-06-15 02:54:22'),(40360,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00025606155395508','192.168.1.254','2019-06-15 02:54:22'),(40361,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00026488304138184','192.168.1.254','2019-06-15 02:54:22'),(40362,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00068187713623047','192.168.1.254','2019-06-15 02:54:22'),(40363,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0063140392303467','192.168.1.254','2019-06-15 02:54:22'),(40364,128,NULL,'others','SELECT `a`.*, `b`.`state` as `state_name`, `c`.`country` as `country_name`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__address` `a`\nLEFT JOIN `_ref__state` `b` ON `b`.`id` = `a`.`state_id`\nLEFT JOIN `_ref__country` `c` ON `c`.`id` = `a`.`country_id`\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`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nORDER BY `a`.`profiling_id` DESC, `a`.`type` ASC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.002532958984375','192.168.1.254','2019-06-15 02:54:22'),(40365,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0005338191986084','192.168.1.254','2019-06-15 02:54:22'),(40366,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0003199577331543','192.168.1.254','2019-06-15 02:54:22'),(40367,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00031495094299316','192.168.1.254','2019-06-15 02:54:22'),(40368,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','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00060105323791504','192.168.1.254','2019-06-15 02:54:22'),(40369,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00055909156799316','192.168.1.254','2019-06-15 02:54:22'),(40370,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\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00043201446533203','192.168.1.254','2019-06-15 02:54:22'),(40371,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00034618377685547','192.168.1.254','2019-06-15 02:54:22'),(40372,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.000579833984375','192.168.1.254','2019-06-15 02:54:22'),(40373,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00055480003356934','192.168.1.254','2019-06-15 02:54:22'),(40374,128,NULL,'others','SELECT *\nFROM `_ref__staff_action_type`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00042390823364258','192.168.1.254','2019-06-15 02:54:22'),(40375,128,NULL,'others','SELECT `a`.*, `b`.`type` as `contract_type`, `c`.`type` as `confirmation_type`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__contract_element` `a`\nJOIN `_ref__contract_type` `b` ON `b`.`id` = `a`.`contract_hiring_type_id`\nJOIN `_ref__contract_confirmation` `c` ON `c`.`id` = `a`.`confirmation`\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','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00052690505981445','192.168.1.254','2019-06-15 02:54:23'),(40376,128,NULL,'others','SELECT `id`, `position`\nFROM `company__position`\nWHERE `is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00039100646972656','192.168.1.254','2019-06-15 02:54:23'),(40377,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00037002563476562','192.168.1.254','2019-06-15 02:54:23'),(40378,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\nORDER BY `a`.`name` ASC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.032734870910645','192.168.1.254','2019-06-15 02:54:23'),(40379,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/staffDetail/3','0.0072371959686279','192.168.1.254','2019-06-15 02:54:23'),(40380,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0005040168762207','192.168.1.254','2019-06-15 02:54:23'),(40381,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`.`recurring_type` = \'0\'\nAND `a`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00053000450134277','192.168.1.254','2019-06-15 02:54:23'),(40382,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`.`recurring_type` = 1\nAND `a`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0004270076751709','192.168.1.254','2019-06-15 02:54:23'),(40383,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','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0004279613494873','192.168.1.254','2019-06-15 02:54:23'),(40384,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00043201446533203','192.168.1.254','2019-06-15 02:54:23'),(40385,128,NULL,'others','SELECT `a`.*, `b`.`name`, `b`.`ic_no`, `b`.`birthdate`, `b`.`occupation`, `b`.`oku_status`, `b`.`study_status`, `c`.`action_efective_date`, `d`.`type`\nFROM `user__pcb` `a`\nJOIN `user__family_member` `b` ON `b`.`id` = `a`.`family_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`.`is_delete` =0\nAND `a`.`user_id` = \'3\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00047588348388672','192.168.1.254','2019-06-15 02:54:23'),(40386,128,NULL,'others','SELECT `a`.*, `b`.`type`, `b`.`icon`, `b`.`color`, `c`.`name`, `d`.`title` as `user_title`, `e`.`name` as `religion`, `f`.`race`, `g`.`country` as `issue_country`, `h`.`country` as `nationality`\nFROM `user__profiling` `a`\nLEFT JOIN `_ref__action_type` `b` ON `b`.`id` = `a`.`action_type_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`user_id`\nLEFT JOIN `_ref__title` `d` ON `d`.`id` = `a`.`title_id`\nLEFT JOIN `_ref__religion` `e` ON `e`.`id` = `a`.`religion_id`\nLEFT JOIN `_ref__race` `f` ON `f`.`id` = `a`.`race_id`\nLEFT JOIN `_ref__country` `g` ON `g`.`id` = `a`.`place_issue`\nLEFT JOIN `_ref__country` `h` ON `h`.`id` = `a`.`citizen_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`action_efective_date` DESC, `a`.`id` DESC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00071501731872559','192.168.1.254','2019-06-15 02:54:23'),(40387,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__basic_pay` `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\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0004570484161377','192.168.1.254','2019-06-15 02:54:23'),(40388,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__statutory_detail` `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__statutory_detail` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_deleted` =0)\nAND `a`.`is_deleted` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00052309036254883','192.168.1.254','2019-06-15 02:54:23'),(40389,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00032281875610352','192.168.1.254','2019-06-15 02:54:23'),(40390,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00031518936157227','192.168.1.254','2019-06-15 02:54:23'),(40391,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 0 = \'e.parent_id <\'\nAND 1 = 3\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0020039081573486','192.168.1.254','2019-06-15 02:54:23'),(40392,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/staffDetail/3','0.00044107437133789','192.168.1.254','2019-06-15 02:54:23'),(40393,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/staffDetail/3','0.00062298774719238','192.168.1.254','2019-06-15 02:54:23'),(40394,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00030994415283203','192.168.1.254','2019-06-15 02:54:23'),(40395,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00033378601074219','192.168.1.254','2019-06-15 02:54:23'),(40396,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00043606758117676','192.168.1.254','2019-06-15 02:54:23'),(40397,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/staffDetail/3','0.00052118301391602','192.168.1.254','2019-06-15 02:54:23'),(40398,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/staffDetail/3','0.00088000297546387','192.168.1.254','2019-06-15 02:54:23'),(40399,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/staffDetail/3','0.00082111358642578','192.168.1.254','2019-06-15 02:54:23'),(40400,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/staffDetail/3','0.00080204010009766','192.168.1.254','2019-06-15 02:54:23'),(40401,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/staffDetail/3','0.00081515312194824','192.168.1.254','2019-06-15 02:54:23'),(40402,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'HR/StaffProfile/staffDetail/3/\'\nWHERE id = 995','StaffProfile/staffDetail','0.0004429817199707','192.168.1.254','2019-06-15 02:54:23'),(40403,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/staffDetail/3','0.018917083740234','192.168.1.254','2019-06-15 02:55:26'),(40404,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00040698051452637','192.168.1.254','2019-06-15 02:55:26'),(40405,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/staffDetail/3','0.0012359619140625','192.168.1.254','2019-06-15 02:55:26'),(40406,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/staffDetail/3','0.019070863723755','192.168.1.254','2019-06-15 02:55:26'),(40407,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00041699409484863','192.168.1.254','2019-06-15 02:55:26'),(40408,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/staffDetail/3','0.0012421607971191','192.168.1.254','2019-06-15 02:55:26'),(40409,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/staffDetail/3','0.018880128860474','192.168.1.254','2019-06-15 02:55:26'),(40410,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0004119873046875','192.168.1.254','2019-06-15 02:55:26'),(40411,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/staffDetail/3','0.0012550354003906','192.168.1.254','2019-06-15 02:55:26'),(40412,128,NULL,'others','SELECT `a`.*, `b`.`type` as `reason`, `c`.`position` as `position_hiring`, `d`.`name` as `user_reporting_name`, `e`.`name` as `branch`, `g`.`name` as `personnel_area`, `f`.`name` as `personal_subarea`, `h`.`type` as `employee_group`, `i`.`type` as `contract_element`, `j`.`indicator` as `employee_subgroup_indicator`, `j`.`designation` as `employee_subgroup_designation`, `k`.`action_efective_date` as `action_efective_date`, `l`.`type` as `action_type_name`, `m`.`designation` as `designation`, `n`.`name` as `business_entity`\nFROM `user__joining_group` `a`\nLEFT JOIN `_ref__hiring_reason` `b` ON `b`.`id` = `a`.`reason_id`\nLEFT JOIN `company__position` `c` ON `c`.`id` = `a`.`position_id`\nLEFT JOIN `user` `d` ON `d`.`id` = `a`.`user_reporting_id`\nLEFT JOIN `company__branch` `e` ON `e`.`id` = `a`.`branch_id`\nLEFT JOIN `company__division` `f` ON `f`.`id` = `a`.`personal_subarea_id`\nLEFT JOIN `company__department` `g` ON `g`.`id` = `a`.`personnel_area_id`\nLEFT JOIN `_ref__employee_group` `h` ON `h`.`id` = `a`.`employee_group_id`\nLEFT JOIN `_ref__employee_contract_type` `i` ON `i`.`id` = `a`.`contract_element_id`\nLEFT JOIN `_ref__salary_scale` `j` ON `j`.`id` = `a`.`employee_subgroup_id`\nLEFT JOIN `user__profiling` `k` ON `k`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `l` ON `l`.`id` = `k`.`action_type_id`\nLEFT JOIN `_ref__designation` `m` ON `m`.`id` = `a`.`position_information`\nLEFT JOIN `company__business_entity` `n` ON `n`.`id` = `a`.`business_entity_id`\nWHERE `k`.`user_id` = \'3\'\nAND `a`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0010581016540527','192.168.1.254','2019-06-15 02:55:26'),(40413,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/staffDetail/3','0.020453929901123','192.168.1.254','2019-06-15 02:55:26'),(40414,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/staffDetail/3','0.00062799453735352','192.168.1.254','2019-06-15 02:55:26'),(40415,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0014729499816895','192.168.1.254','2019-06-15 02:55:26'),(40416,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00047588348388672','192.168.1.254','2019-06-15 02:55:26'),(40417,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00035500526428223','192.168.1.254','2019-06-15 02:55:26'),(40418,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00033307075500488','192.168.1.254','2019-06-15 02:55:26'),(40419,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00057506561279297','192.168.1.254','2019-06-15 02:55:26'),(40420,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0062510967254639','192.168.1.254','2019-06-15 02:55:26'),(40421,128,NULL,'others','SELECT `a`.*, `b`.`state` as `state_name`, `c`.`country` as `country_name`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__address` `a`\nLEFT JOIN `_ref__state` `b` ON `b`.`id` = `a`.`state_id`\nLEFT JOIN `_ref__country` `c` ON `c`.`id` = `a`.`country_id`\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`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nORDER BY `a`.`profiling_id` DESC, `a`.`type` ASC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0023999214172363','192.168.1.254','2019-06-15 02:55:26'),(40422,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00057506561279297','192.168.1.254','2019-06-15 02:55:26'),(40423,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00037622451782227','192.168.1.254','2019-06-15 02:55:26'),(40424,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00036287307739258','192.168.1.254','2019-06-15 02:55:26'),(40425,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','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00064897537231445','192.168.1.254','2019-06-15 02:55:26'),(40426,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00059986114501953','192.168.1.254','2019-06-15 02:55:26'),(40427,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\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0004880428314209','192.168.1.254','2019-06-15 02:55:26'),(40428,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0003809928894043','192.168.1.254','2019-06-15 02:55:26'),(40429,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00062394142150879','192.168.1.254','2019-06-15 02:55:26'),(40430,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0005500316619873','192.168.1.254','2019-06-15 02:55:26'),(40431,128,NULL,'others','SELECT *\nFROM `_ref__staff_action_type`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00043201446533203','192.168.1.254','2019-06-15 02:55:26'),(40432,128,NULL,'others','SELECT `a`.*, `b`.`type` as `contract_type`, `c`.`type` as `confirmation_type`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__contract_element` `a`\nJOIN `_ref__contract_type` `b` ON `b`.`id` = `a`.`contract_hiring_type_id`\nJOIN `_ref__contract_confirmation` `c` ON `c`.`id` = `a`.`confirmation`\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','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00058293342590332','192.168.1.254','2019-06-15 02:55:26'),(40433,128,NULL,'others','SELECT `id`, `position`\nFROM `company__position`\nWHERE `is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00043296813964844','192.168.1.254','2019-06-15 02:55:26'),(40434,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00041294097900391','192.168.1.254','2019-06-15 02:55:26'),(40435,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\nORDER BY `a`.`name` ASC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.030622959136963','192.168.1.254','2019-06-15 02:55:26'),(40436,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/staffDetail/3','0.0053811073303223','192.168.1.254','2019-06-15 02:55:26'),(40437,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00048398971557617','192.168.1.254','2019-06-15 02:55:26'),(40438,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`.`recurring_type` = \'0\'\nAND `a`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00052499771118164','192.168.1.254','2019-06-15 02:55:26'),(40439,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`.`recurring_type` = 1\nAND `a`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00047183036804199','192.168.1.254','2019-06-15 02:55:27'),(40440,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','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00047397613525391','192.168.1.254','2019-06-15 02:55:27'),(40441,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00048995018005371','192.168.1.254','2019-06-15 02:55:27'),(40442,128,NULL,'others','SELECT `a`.*, `b`.`name`, `b`.`ic_no`, `b`.`birthdate`, `b`.`occupation`, `b`.`oku_status`, `b`.`study_status`, `c`.`action_efective_date`, `d`.`type`\nFROM `user__pcb` `a`\nJOIN `user__family_member` `b` ON `b`.`id` = `a`.`family_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`.`is_delete` =0\nAND `a`.`user_id` = \'3\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00051999092102051','192.168.1.254','2019-06-15 02:55:27'),(40443,128,NULL,'others','SELECT `a`.*, `b`.`type`, `b`.`icon`, `b`.`color`, `c`.`name`, `d`.`title` as `user_title`, `e`.`name` as `religion`, `f`.`race`, `g`.`country` as `issue_country`, `h`.`country` as `nationality`\nFROM `user__profiling` `a`\nLEFT JOIN `_ref__action_type` `b` ON `b`.`id` = `a`.`action_type_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`user_id`\nLEFT JOIN `_ref__title` `d` ON `d`.`id` = `a`.`title_id`\nLEFT JOIN `_ref__religion` `e` ON `e`.`id` = `a`.`religion_id`\nLEFT JOIN `_ref__race` `f` ON `f`.`id` = `a`.`race_id`\nLEFT JOIN `_ref__country` `g` ON `g`.`id` = `a`.`place_issue`\nLEFT JOIN `_ref__country` `h` ON `h`.`id` = `a`.`citizen_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`action_efective_date` DESC, `a`.`id` DESC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00077104568481445','192.168.1.254','2019-06-15 02:55:27'),(40444,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__basic_pay` `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\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00047802925109863','192.168.1.254','2019-06-15 02:55:27'),(40445,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__statutory_detail` `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__statutory_detail` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_deleted` =0)\nAND `a`.`is_deleted` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00052690505981445','192.168.1.254','2019-06-15 02:55:27'),(40446,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00030899047851562','192.168.1.254','2019-06-15 02:55:27'),(40447,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00033307075500488','192.168.1.254','2019-06-15 02:55:27'),(40448,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 0 = \'e.parent_id <\'\nAND 1 = 3\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0020229816436768','192.168.1.254','2019-06-15 02:55:27'),(40449,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/staffDetail/3','0.00047087669372559','192.168.1.254','2019-06-15 02:55:27'),(40450,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/staffDetail/3','0.0005950927734375','192.168.1.254','2019-06-15 02:55:27'),(40451,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00031304359436035','192.168.1.254','2019-06-15 02:55:27'),(40452,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00031590461730957','192.168.1.254','2019-06-15 02:55:27'),(40453,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00041294097900391','192.168.1.254','2019-06-15 02:55:27'),(40454,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/staffDetail/3','0.00053620338439941','192.168.1.254','2019-06-15 02:55:27'),(40455,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/staffDetail/3','0.0009310245513916','192.168.1.254','2019-06-15 02:55:27'),(40456,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/staffDetail/3','0.0008389949798584','192.168.1.254','2019-06-15 02:55:27'),(40457,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/staffDetail/3','0.0008699893951416','192.168.1.254','2019-06-15 02:55:27'),(40458,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/staffDetail/3','0.00088214874267578','192.168.1.254','2019-06-15 02:55:27'),(40459,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'HR/StaffProfile/staffDetail/3/\'\nWHERE id = 995','StaffProfile/staffDetail','0.00037789344787598','192.168.1.254','2019-06-15 02:55:27'),(40460,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/staffDetail/3','0.018946886062622','192.168.1.254','2019-06-15 02:55:59'),(40461,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00040817260742188','192.168.1.254','2019-06-15 02:55:59'),(40462,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/staffDetail/3','0.0012590885162354','192.168.1.254','2019-06-15 02:55:59'),(40463,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/staffDetail/3','0.018928050994873','192.168.1.254','2019-06-15 02:55:59'),(40464,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00040316581726074','192.168.1.254','2019-06-15 02:55:59'),(40465,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/staffDetail/3','0.0012259483337402','192.168.1.254','2019-06-15 02:55:59'),(40466,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/staffDetail/3','0.019031047821045','192.168.1.254','2019-06-15 02:55:59'),(40467,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00039815902709961','192.168.1.254','2019-06-15 02:55:59'),(40468,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/staffDetail/3','0.001215934753418','192.168.1.254','2019-06-15 02:55:59'),(40469,128,NULL,'others','SELECT `a`.*, `b`.`type` as `reason`, `c`.`position` as `position_hiring`, `d`.`name` as `user_reporting_name`, `e`.`name` as `branch`, `g`.`name` as `personnel_area`, `f`.`name` as `personal_subarea`, `h`.`type` as `employee_group`, `i`.`type` as `contract_element`, `j`.`indicator` as `employee_subgroup_indicator`, `j`.`designation` as `employee_subgroup_designation`, `k`.`action_efective_date` as `action_efective_date`, `l`.`type` as `action_type_name`, `m`.`designation` as `designation`, `n`.`name` as `business_entity`\nFROM `user__joining_group` `a`\nLEFT JOIN `_ref__hiring_reason` `b` ON `b`.`id` = `a`.`reason_id`\nLEFT JOIN `company__position` `c` ON `c`.`id` = `a`.`position_id`\nLEFT JOIN `user` `d` ON `d`.`id` = `a`.`user_reporting_id`\nLEFT JOIN `company__branch` `e` ON `e`.`id` = `a`.`branch_id`\nLEFT JOIN `company__division` `f` ON `f`.`id` = `a`.`personal_subarea_id`\nLEFT JOIN `company__department` `g` ON `g`.`id` = `a`.`personnel_area_id`\nLEFT JOIN `_ref__employee_group` `h` ON `h`.`id` = `a`.`employee_group_id`\nLEFT JOIN `_ref__employee_contract_type` `i` ON `i`.`id` = `a`.`contract_element_id`\nLEFT JOIN `_ref__salary_scale` `j` ON `j`.`id` = `a`.`employee_subgroup_id`\nLEFT JOIN `user__profiling` `k` ON `k`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `l` ON `l`.`id` = `k`.`action_type_id`\nLEFT JOIN `_ref__designation` `m` ON `m`.`id` = `a`.`position_information`\nLEFT JOIN `company__business_entity` `n` ON `n`.`id` = `a`.`business_entity_id`\nWHERE `k`.`user_id` = \'3\'\nAND `a`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00093603134155273','192.168.1.254','2019-06-15 02:55:59'),(40470,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/staffDetail/3','0.019798994064331','192.168.1.254','2019-06-15 02:55:59'),(40471,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/staffDetail/3','0.00059795379638672','192.168.1.254','2019-06-15 02:55:59'),(40472,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.001453161239624','192.168.1.254','2019-06-15 02:55:59'),(40473,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00047111511230469','192.168.1.254','2019-06-15 02:55:59'),(40474,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00032687187194824','192.168.1.254','2019-06-15 02:55:59'),(40475,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0003509521484375','192.168.1.254','2019-06-15 02:55:59'),(40476,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00057792663574219','192.168.1.254','2019-06-15 02:55:59'),(40477,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0064599514007568','192.168.1.254','2019-06-15 02:55:59'),(40478,128,NULL,'others','SELECT `a`.*, `b`.`state` as `state_name`, `c`.`country` as `country_name`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__address` `a`\nLEFT JOIN `_ref__state` `b` ON `b`.`id` = `a`.`state_id`\nLEFT JOIN `_ref__country` `c` ON `c`.`id` = `a`.`country_id`\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`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nORDER BY `a`.`profiling_id` DESC, `a`.`type` ASC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0024418830871582','192.168.1.254','2019-06-15 02:55:59'),(40479,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00053191184997559','192.168.1.254','2019-06-15 02:55:59'),(40480,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00033998489379883','192.168.1.254','2019-06-15 02:55:59'),(40481,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00033712387084961','192.168.1.254','2019-06-15 02:55:59'),(40482,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','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00065493583679199','192.168.1.254','2019-06-15 02:55:59'),(40483,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00059700012207031','192.168.1.254','2019-06-15 02:55:59'),(40484,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\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00050091743469238','192.168.1.254','2019-06-15 02:55:59'),(40485,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00036501884460449','192.168.1.254','2019-06-15 02:55:59'),(40486,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00059604644775391','192.168.1.254','2019-06-15 02:55:59'),(40487,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00058794021606445','192.168.1.254','2019-06-15 02:55:59'),(40488,128,NULL,'others','SELECT *\nFROM `_ref__staff_action_type`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00038504600524902','192.168.1.254','2019-06-15 02:55:59'),(40489,128,NULL,'others','SELECT `a`.*, `b`.`type` as `contract_type`, `c`.`type` as `confirmation_type`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__contract_element` `a`\nJOIN `_ref__contract_type` `b` ON `b`.`id` = `a`.`contract_hiring_type_id`\nJOIN `_ref__contract_confirmation` `c` ON `c`.`id` = `a`.`confirmation`\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','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00059390068054199','192.168.1.254','2019-06-15 02:55:59'),(40490,128,NULL,'others','SELECT `id`, `position`\nFROM `company__position`\nWHERE `is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00037908554077148','192.168.1.254','2019-06-15 02:55:59'),(40491,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00036096572875977','192.168.1.254','2019-06-15 02:55:59'),(40492,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\nORDER BY `a`.`name` ASC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.03369402885437','192.168.1.254','2019-06-15 02:56:00'),(40493,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/staffDetail/3','0.0031728744506836','192.168.1.254','2019-06-15 02:56:00'),(40494,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00043010711669922','192.168.1.254','2019-06-15 02:56:00'),(40495,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`.`recurring_type` = \'0\'\nAND `a`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00052380561828613','192.168.1.254','2019-06-15 02:56:00'),(40496,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`.`recurring_type` = 1\nAND `a`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00047206878662109','192.168.1.254','2019-06-15 02:56:00'),(40497,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','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00049901008605957','192.168.1.254','2019-06-15 02:56:00'),(40498,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00046491622924805','192.168.1.254','2019-06-15 02:56:00'),(40499,128,NULL,'others','SELECT `a`.*, `b`.`name`, `b`.`ic_no`, `b`.`birthdate`, `b`.`occupation`, `b`.`oku_status`, `b`.`study_status`, `c`.`action_efective_date`, `d`.`type`\nFROM `user__pcb` `a`\nJOIN `user__family_member` `b` ON `b`.`id` = `a`.`family_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`.`is_delete` =0\nAND `a`.`user_id` = \'3\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00050091743469238','192.168.1.254','2019-06-15 02:56:00'),(40500,128,NULL,'others','SELECT `a`.*, `b`.`type`, `b`.`icon`, `b`.`color`, `c`.`name`, `d`.`title` as `user_title`, `e`.`name` as `religion`, `f`.`race`, `g`.`country` as `issue_country`, `h`.`country` as `nationality`\nFROM `user__profiling` `a`\nLEFT JOIN `_ref__action_type` `b` ON `b`.`id` = `a`.`action_type_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`user_id`\nLEFT JOIN `_ref__title` `d` ON `d`.`id` = `a`.`title_id`\nLEFT JOIN `_ref__religion` `e` ON `e`.`id` = `a`.`religion_id`\nLEFT JOIN `_ref__race` `f` ON `f`.`id` = `a`.`race_id`\nLEFT JOIN `_ref__country` `g` ON `g`.`id` = `a`.`place_issue`\nLEFT JOIN `_ref__country` `h` ON `h`.`id` = `a`.`citizen_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`action_efective_date` DESC, `a`.`id` DESC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00073099136352539','192.168.1.254','2019-06-15 02:56:00'),(40501,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__basic_pay` `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\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00041794776916504','192.168.1.254','2019-06-15 02:56:00'),(40502,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__statutory_detail` `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__statutory_detail` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_deleted` =0)\nAND `a`.`is_deleted` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00056791305541992','192.168.1.254','2019-06-15 02:56:00'),(40503,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00035190582275391','192.168.1.254','2019-06-15 02:56:00'),(40504,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00034999847412109','192.168.1.254','2019-06-15 02:56:00'),(40505,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 0 = \'e.parent_id <\'\nAND 1 = 3\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.002032995223999','192.168.1.254','2019-06-15 02:56:00'),(40506,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/staffDetail/3','0.00043392181396484','192.168.1.254','2019-06-15 02:56:00'),(40507,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/staffDetail/3','0.00059103965759277','192.168.1.254','2019-06-15 02:56:00'),(40508,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00029706954956055','192.168.1.254','2019-06-15 02:56:00'),(40509,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00031805038452148','192.168.1.254','2019-06-15 02:56:00'),(40510,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00042891502380371','192.168.1.254','2019-06-15 02:56:00'),(40511,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/staffDetail/3','0.00055384635925293','192.168.1.254','2019-06-15 02:56:00'),(40512,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/staffDetail/3','0.00091314315795898','192.168.1.254','2019-06-15 02:56:00'),(40513,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/staffDetail/3','0.00089406967163086','192.168.1.254','2019-06-15 02:56:00'),(40514,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/staffDetail/3','0.00090503692626953','192.168.1.254','2019-06-15 02:56:00'),(40515,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/staffDetail/3','0.00087809562683105','192.168.1.254','2019-06-15 02:56:00'),(40516,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'HR/StaffProfile/staffDetail/3/\'\nWHERE id = 995','StaffProfile/staffDetail','0.00030994415283203','192.168.1.254','2019-06-15 02:56:00'),(40517,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.018899917602539','192.168.1.254','2019-06-15 02:57:07'),(40518,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00041103363037109','192.168.1.254','2019-06-15 02:57:07'),(40519,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.0013570785522461','192.168.1.254','2019-06-15 02:57:07'),(40520,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.019046068191528','192.168.1.254','2019-06-15 02:57:07'),(40521,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00040483474731445','192.168.1.254','2019-06-15 02:57:07'),(40522,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 02:57:07'),(40523,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.018696784973145','192.168.1.254','2019-06-15 02:57:07'),(40524,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00040197372436523','192.168.1.254','2019-06-15 02:57:07'),(40525,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.0013761520385742','192.168.1.254','2019-06-15 02:57:07'),(40526,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave','0.00060319900512695','192.168.1.254','2019-06-15 02:57:07'),(40527,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave','0.00038886070251465','192.168.1.254','2019-06-15 02:57:07'),(40528,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.00066304206848145','192.168.1.254','2019-06-15 02:57:07'),(40529,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.027631044387817','192.168.1.254','2019-06-15 02:57:07'),(40530,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.0060408115386963','192.168.1.254','2019-06-15 02:57:07'),(40531,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.0019879341125488','192.168.1.254','2019-06-15 02:57:07'),(40532,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.019711017608643','192.168.1.254','2019-06-15 02:57:07'),(40533,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave','0.00036001205444336','192.168.1.254','2019-06-15 02:57:07'),(40534,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.00060105323791504','192.168.1.254','2019-06-15 02:57:07'),(40535,23,NULL,'others','SELECT `a`.*, `b`.`code`, `b`.`name`, `d`.`name` as `departmentName`\nFROM `hr__leave_allocation` `a`\nJOIN `hr__leave_type` `b` ON `b`.`id` = `a`.`type_id`\nJOIN `user__employment_detail` `c` ON `c`.`user_id` = `a`.`user_id`\nJOIN `company__department` `d` ON `d`.`id` = `c`.`department_id`\nWHERE `a`.`user_id` = \'23\'\nAND `a`.`year` = \'2019\'\nAND `a`.`type_id` NOT IN(2, 4)\nAND `a`.`is_delete` =0\nORDER BY `a`.`year` DESC, `a`.`type_id` ASC','/salihin-digital/hr/leave','0.002140998840332','192.168.1.254','2019-06-15 02:57:07'),(40536,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.0087220668792725','192.168.1.254','2019-06-15 02:57:07'),(40537,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.019615888595581','192.168.1.254','2019-06-15 02:57:08'),(40538,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.0019769668579102','192.168.1.254','2019-06-15 02:57:08'),(40539,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.023682832717896','192.168.1.254','2019-06-15 02:57:08'),(40540,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.00055193901062012','192.168.1.254','2019-06-15 02:57:08'),(40541,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.000885009765625','192.168.1.254','2019-06-15 02:57:08'),(40542,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00086498260498047','192.168.1.254','2019-06-15 02:57:08'),(40543,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.00088000297546387','192.168.1.254','2019-06-15 02:57:08'),(40544,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.00089812278747559','192.168.1.254','2019-06-15 02:57:08'),(40545,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/\'\nWHERE id = 997','leave/index','0.00046110153198242','192.168.1.254','2019-06-15 02:57:08'),(40546,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/staffDetail/3','0.019217967987061','192.168.1.254','2019-06-15 02:57:58'),(40547,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00041294097900391','192.168.1.254','2019-06-15 02:57:58'),(40548,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/staffDetail/3','0.0012309551239014','192.168.1.254','2019-06-15 02:57:58'),(40549,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/staffDetail/3','0.018893003463745','192.168.1.254','2019-06-15 02:57:58'),(40550,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00037097930908203','192.168.1.254','2019-06-15 02:57:58'),(40551,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/staffDetail/3','0.0012040138244629','192.168.1.254','2019-06-15 02:57:58'),(40552,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/staffDetail/3','0.018825054168701','192.168.1.254','2019-06-15 02:57:58'),(40553,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00036001205444336','192.168.1.254','2019-06-15 02:57:58'),(40554,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/staffDetail/3','0.0011889934539795','192.168.1.254','2019-06-15 02:57:58'),(40555,128,NULL,'others','SELECT `a`.*, `b`.`type` as `reason`, `c`.`position` as `position_hiring`, `d`.`name` as `user_reporting_name`, `e`.`name` as `branch`, `g`.`name` as `personnel_area`, `f`.`name` as `personal_subarea`, `h`.`type` as `employee_group`, `i`.`type` as `contract_element`, `j`.`indicator` as `employee_subgroup_indicator`, `j`.`designation` as `employee_subgroup_designation`, `k`.`action_efective_date` as `action_efective_date`, `l`.`type` as `action_type_name`, `m`.`designation` as `designation`, `n`.`name` as `business_entity`\nFROM `user__joining_group` `a`\nLEFT JOIN `_ref__hiring_reason` `b` ON `b`.`id` = `a`.`reason_id`\nLEFT JOIN `company__position` `c` ON `c`.`id` = `a`.`position_id`\nLEFT JOIN `user` `d` ON `d`.`id` = `a`.`user_reporting_id`\nLEFT JOIN `company__branch` `e` ON `e`.`id` = `a`.`branch_id`\nLEFT JOIN `company__division` `f` ON `f`.`id` = `a`.`personal_subarea_id`\nLEFT JOIN `company__department` `g` ON `g`.`id` = `a`.`personnel_area_id`\nLEFT JOIN `_ref__employee_group` `h` ON `h`.`id` = `a`.`employee_group_id`\nLEFT JOIN `_ref__employee_contract_type` `i` ON `i`.`id` = `a`.`contract_element_id`\nLEFT JOIN `_ref__salary_scale` `j` ON `j`.`id` = `a`.`employee_subgroup_id`\nLEFT JOIN `user__profiling` `k` ON `k`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `l` ON `l`.`id` = `k`.`action_type_id`\nLEFT JOIN `_ref__designation` `m` ON `m`.`id` = `a`.`position_information`\nLEFT JOIN `company__business_entity` `n` ON `n`.`id` = `a`.`business_entity_id`\nWHERE `k`.`user_id` = \'3\'\nAND `a`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00090789794921875','192.168.1.254','2019-06-15 02:57:58'),(40556,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/staffDetail/3','0.01957893371582','192.168.1.254','2019-06-15 02:57:58'),(40557,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/staffDetail/3','0.00057196617126465','192.168.1.254','2019-06-15 02:57:58'),(40558,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0014631748199463','192.168.1.254','2019-06-15 02:57:58'),(40559,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00046300888061523','192.168.1.254','2019-06-15 02:57:58'),(40560,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0003058910369873','192.168.1.254','2019-06-15 02:57:58'),(40561,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00029897689819336','192.168.1.254','2019-06-15 02:57:58'),(40562,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00050902366638184','192.168.1.254','2019-06-15 02:57:58'),(40563,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0064561367034912','192.168.1.254','2019-06-15 02:57:58'),(40564,128,NULL,'others','SELECT `a`.*, `b`.`state` as `state_name`, `c`.`country` as `country_name`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__address` `a`\nLEFT JOIN `_ref__state` `b` ON `b`.`id` = `a`.`state_id`\nLEFT JOIN `_ref__country` `c` ON `c`.`id` = `a`.`country_id`\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`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nORDER BY `a`.`profiling_id` DESC, `a`.`type` ASC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0023789405822754','192.168.1.254','2019-06-15 02:57:58'),(40565,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00054097175598145','192.168.1.254','2019-06-15 02:57:58'),(40566,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0003049373626709','192.168.1.254','2019-06-15 02:57:58'),(40567,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0003049373626709','192.168.1.254','2019-06-15 02:57:58'),(40568,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','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00061988830566406','192.168.1.254','2019-06-15 02:57:58'),(40569,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00056004524230957','192.168.1.254','2019-06-15 02:57:58'),(40570,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\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00044512748718262','192.168.1.254','2019-06-15 02:57:58'),(40571,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00033402442932129','192.168.1.254','2019-06-15 02:57:58'),(40572,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00054788589477539','192.168.1.254','2019-06-15 02:57:58'),(40573,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00058293342590332','192.168.1.254','2019-06-15 02:57:58'),(40574,128,NULL,'others','SELECT *\nFROM `_ref__staff_action_type`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00047802925109863','192.168.1.254','2019-06-15 02:57:58'),(40575,128,NULL,'others','SELECT `a`.*, `b`.`type` as `contract_type`, `c`.`type` as `confirmation_type`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__contract_element` `a`\nJOIN `_ref__contract_type` `b` ON `b`.`id` = `a`.`contract_hiring_type_id`\nJOIN `_ref__contract_confirmation` `c` ON `c`.`id` = `a`.`confirmation`\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','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00050091743469238','192.168.1.254','2019-06-15 02:57:58'),(40576,128,NULL,'others','SELECT `id`, `position`\nFROM `company__position`\nWHERE `is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0003960132598877','192.168.1.254','2019-06-15 02:57:58'),(40577,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00040817260742188','192.168.1.254','2019-06-15 02:57:58'),(40578,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\nORDER BY `a`.`name` ASC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.028836965560913','192.168.1.254','2019-06-15 02:57:58'),(40579,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/staffDetail/3','0.0079019069671631','192.168.1.254','2019-06-15 02:57:58'),(40580,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00045990943908691','192.168.1.254','2019-06-15 02:57:58'),(40581,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`.`recurring_type` = \'0\'\nAND `a`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00048112869262695','192.168.1.254','2019-06-15 02:57:58'),(40582,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`.`recurring_type` = 1\nAND `a`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0004279613494873','192.168.1.254','2019-06-15 02:57:58'),(40583,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','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00047683715820312','192.168.1.254','2019-06-15 02:57:58'),(40584,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0004880428314209','192.168.1.254','2019-06-15 02:57:58'),(40585,128,NULL,'others','SELECT `a`.*, `b`.`name`, `b`.`ic_no`, `b`.`birthdate`, `b`.`occupation`, `b`.`oku_status`, `b`.`study_status`, `c`.`action_efective_date`, `d`.`type`\nFROM `user__pcb` `a`\nJOIN `user__family_member` `b` ON `b`.`id` = `a`.`family_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`.`is_delete` =0\nAND `a`.`user_id` = \'3\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00051593780517578','192.168.1.254','2019-06-15 02:57:58'),(40586,128,NULL,'others','SELECT `a`.*, `b`.`type`, `b`.`icon`, `b`.`color`, `c`.`name`, `d`.`title` as `user_title`, `e`.`name` as `religion`, `f`.`race`, `g`.`country` as `issue_country`, `h`.`country` as `nationality`\nFROM `user__profiling` `a`\nLEFT JOIN `_ref__action_type` `b` ON `b`.`id` = `a`.`action_type_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`user_id`\nLEFT JOIN `_ref__title` `d` ON `d`.`id` = `a`.`title_id`\nLEFT JOIN `_ref__religion` `e` ON `e`.`id` = `a`.`religion_id`\nLEFT JOIN `_ref__race` `f` ON `f`.`id` = `a`.`race_id`\nLEFT JOIN `_ref__country` `g` ON `g`.`id` = `a`.`place_issue`\nLEFT JOIN `_ref__country` `h` ON `h`.`id` = `a`.`citizen_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`action_efective_date` DESC, `a`.`id` DESC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00074291229248047','192.168.1.254','2019-06-15 02:57:58'),(40587,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__basic_pay` `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\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00048017501831055','192.168.1.254','2019-06-15 02:57:58'),(40588,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__statutory_detail` `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__statutory_detail` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_deleted` =0)\nAND `a`.`is_deleted` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00055885314941406','192.168.1.254','2019-06-15 02:57:58'),(40589,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0003509521484375','192.168.1.254','2019-06-15 02:57:59'),(40590,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00036287307739258','192.168.1.254','2019-06-15 02:57:59'),(40591,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 0 = \'e.parent_id <\'\nAND 1 = 3\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0021491050720215','192.168.1.254','2019-06-15 02:57:59'),(40592,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/staffDetail/3','0.00044393539428711','192.168.1.254','2019-06-15 02:57:59'),(40593,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/staffDetail/3','0.00071907043457031','192.168.1.254','2019-06-15 02:57:59'),(40594,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00035905838012695','192.168.1.254','2019-06-15 02:57:59'),(40595,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00030398368835449','192.168.1.254','2019-06-15 02:57:59'),(40596,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00037097930908203','192.168.1.254','2019-06-15 02:57:59'),(40597,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/staffDetail/3','0.00051188468933105','192.168.1.254','2019-06-15 02:57:59'),(40598,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/staffDetail/3','0.00099492073059082','192.168.1.254','2019-06-15 02:57:59'),(40599,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/staffDetail/3','0.00084900856018066','192.168.1.254','2019-06-15 02:57:59'),(40600,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/staffDetail/3','0.00086092948913574','192.168.1.254','2019-06-15 02:57:59'),(40601,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/staffDetail/3','0.00084805488586426','192.168.1.254','2019-06-15 02:57:59'),(40602,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'HR/StaffProfile/staffDetail/3/\'\nWHERE id = 995','StaffProfile/staffDetail','0.00039911270141602','192.168.1.254','2019-06-15 02:57:59'),(40603,43,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` = \'43\'','/salihin-digital/web/web/dashboard','0.018932104110718','192.168.1.254','2019-06-15 02:59:21'),(40604,43,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'43\'','/salihin-digital/web/web/dashboard','0.00038981437683105','192.168.1.254','2019-06-15 02:59:21'),(40605,43,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` = \'43\'','/salihin-digital/web/web/dashboard','0.0012168884277344','192.168.1.254','2019-06-15 02:59:21'),(40606,43,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` = \'43\'','/salihin-digital/web/web/dashboard','0.018844127655029','192.168.1.254','2019-06-15 02:59:21'),(40607,43,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'43\'','/salihin-digital/web/web/dashboard','0.00039315223693848','192.168.1.254','2019-06-15 02:59:21'),(40608,43,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` = \'43\'','/salihin-digital/web/web/dashboard','0.0012350082397461','192.168.1.254','2019-06-15 02:59:21'),(40609,43,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` = \'43\'','/salihin-digital/web/web/dashboard','0.01869797706604','192.168.1.254','2019-06-15 02:59:21'),(40610,43,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'43\'','/salihin-digital/web/web/dashboard','0.00040102005004883','192.168.1.254','2019-06-15 02:59:21'),(40611,43,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` = \'43\'','/salihin-digital/web/web/dashboard','0.0012290477752686','192.168.1.254','2019-06-15 02:59:21'),(40612,43,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/web/web/dashboard','0.00056004524230957','192.168.1.254','2019-06-15 02:59:21'),(40613,43,NULL,'others','SELECT *\nFROM `company__logo`\nWHERE `status` =0\nAND `is_delete` =0\nAND `company_id` = \'46\'\nORDER BY `title` ASC','/salihin-digital/web/web/dashboard','0.00051498413085938','192.168.1.254','2019-06-15 02:59:21'),(40614,43,NULL,'others','SELECT `a`.`user_id`, `a`.`access_lvl`, `b`.`name`, `b`.`gender_id`, `b`.`email`, `b`.`profile_picture`, `b`.`name`, `b`.`phone`\nFROM `user__module_access` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`user_id`\nWHERE `a`.`is_delete` =0\nGROUP BY `user_id`','/salihin-digital/web/web/dashboard','0.0019659996032715','192.168.1.254','2019-06-15 02:59:21'),(40615,43,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/web/web/dashboard','0.00059413909912109','192.168.1.254','2019-06-15 02:59:21'),(40616,43,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'web/web/dashboard/\'\nWHERE id = 999','web/dashboard','0.00035595893859863','192.168.1.254','2019-06-15 02:59:21'),(40617,43,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` = \'43\'','/salihin-digital/web/web/favicon.ico','0.019804000854492','192.168.1.254','2019-06-15 02:59:26'),(40618,43,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'43\'','/salihin-digital/web/web/favicon.ico','0.00040006637573242','192.168.1.254','2019-06-15 02:59:26'),(40619,43,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` = \'43\'','/salihin-digital/web/web/favicon.ico','0.0012319087982178','192.168.1.254','2019-06-15 02:59:26'),(40620,43,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` = \'43\'','/salihin-digital/web/web/favicon.ico','0.019063234329224','192.168.1.254','2019-06-15 02:59:26'),(40621,43,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'43\'','/salihin-digital/web/web/favicon.ico','0.00035595893859863','192.168.1.254','2019-06-15 02:59:26'),(40622,43,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` = \'43\'','/salihin-digital/web/web/favicon.ico','0.0011980533599854','192.168.1.254','2019-06-15 02:59:26'),(40623,43,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` = \'43\'','/salihin-digital/web/web/favicon.ico','0.018784046173096','192.168.1.254','2019-06-15 02:59:26'),(40624,43,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'43\'','/salihin-digital/web/web/favicon.ico','0.00036096572875977','192.168.1.254','2019-06-15 02:59:26'),(40625,43,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` = \'43\'','/salihin-digital/web/web/favicon.ico','0.0011680126190186','192.168.1.254','2019-06-15 02:59:26'),(40626,43,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'web/web/favicon.ico/\'\nWHERE id = 999','web/favicon.ico','0.00037097930908203','192.168.1.254','2019-06-15 02:59:26'),(40627,43,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` = \'43\'','/salihin-digital/web/web/apple-icon.png','0.019392013549805','192.168.1.254','2019-06-15 02:59:26'),(40628,43,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'43\'','/salihin-digital/web/web/apple-icon.png','0.00046181678771973','192.168.1.254','2019-06-15 02:59:26'),(40629,43,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` = \'43\'','/salihin-digital/web/web/apple-icon.png','0.0012469291687012','192.168.1.254','2019-06-15 02:59:26'),(40630,43,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` = \'43\'','/salihin-digital/web/web/apple-icon.png','0.019224166870117','192.168.1.254','2019-06-15 02:59:26'),(40631,43,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'43\'','/salihin-digital/web/web/apple-icon.png','0.00036478042602539','192.168.1.254','2019-06-15 02:59:26'),(40632,43,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` = \'43\'','/salihin-digital/web/web/apple-icon.png','0.0012061595916748','192.168.1.254','2019-06-15 02:59:26'),(40633,43,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` = \'43\'','/salihin-digital/web/web/apple-icon.png','0.019254922866821','192.168.1.254','2019-06-15 02:59:26'),(40634,43,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'43\'','/salihin-digital/web/web/apple-icon.png','0.00041294097900391','192.168.1.254','2019-06-15 02:59:26'),(40635,43,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` = \'43\'','/salihin-digital/web/web/apple-icon.png','0.0012907981872559','192.168.1.254','2019-06-15 02:59:26'),(40636,43,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'web/web/apple-icon.png/\'\nWHERE id = 999','web/apple-icon.png','0.0003809928894043','192.168.1.254','2019-06-15 02:59:26'),(40637,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.018912076950073','192.168.1.254','2019-06-15 02:59:30'),(40638,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00042891502380371','192.168.1.254','2019-06-15 02:59:30'),(40639,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.0013718605041504','192.168.1.254','2019-06-15 02:59:30'),(40640,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.020251035690308','192.168.1.254','2019-06-15 02:59:30'),(40641,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00039219856262207','192.168.1.254','2019-06-15 02:59:30'),(40642,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/hr/leave','0.0013020038604736','192.168.1.254','2019-06-15 02:59:30'),(40643,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.018962860107422','192.168.1.254','2019-06-15 02:59:30'),(40644,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave','0.00040888786315918','192.168.1.254','2019-06-15 02:59:30'),(40645,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.0013749599456787','192.168.1.254','2019-06-15 02:59:30'),(40646,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave','0.00059795379638672','192.168.1.254','2019-06-15 02:59:30'),(40647,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave','0.00033116340637207','192.168.1.254','2019-06-15 02:59:30'),(40648,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 02:59:31'),(40649,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.032318115234375','192.168.1.254','2019-06-15 02:59:31'),(40650,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.0090179443359375','192.168.1.254','2019-06-15 02:59:31'),(40651,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.0020041465759277','192.168.1.254','2019-06-15 02:59:31'),(40652,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.019611120223999','192.168.1.254','2019-06-15 02:59:31'),(40653,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave','0.00035595893859863','192.168.1.254','2019-06-15 02:59:31'),(40654,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.00059795379638672','192.168.1.254','2019-06-15 02:59:31'),(40655,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.002079963684082','192.168.1.254','2019-06-15 02:59:31'),(40656,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.0074129104614258','192.168.1.254','2019-06-15 02:59:31'),(40657,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.020196914672852','192.168.1.254','2019-06-15 02:59:31'),(40658,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.0020020008087158','192.168.1.254','2019-06-15 02:59:31'),(40659,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.02790379524231','192.168.1.254','2019-06-15 02:59:31'),(40660,23,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/leave','0.00056195259094238','192.168.1.254','2019-06-15 02:59:31'),(40661,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.00090813636779785','192.168.1.254','2019-06-15 02:59:31'),(40662,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.00086402893066406','192.168.1.254','2019-06-15 02:59:31'),(40663,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.00087499618530273','192.168.1.254','2019-06-15 02:59:31'),(40664,23,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'23\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/leave','0.00088095664978027','192.168.1.254','2019-06-15 02:59:31'),(40665,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/\'\nWHERE id = 997','leave/index','0.00044608116149902','192.168.1.254','2019-06-15 02:59:31'),(40666,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.019218921661377','192.168.1.254','2019-06-15 02:59:37'),(40667,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.00042510032653809','192.168.1.254','2019-06-15 02:59:37'),(40668,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.0014269351959229','192.168.1.254','2019-06-15 02:59:37'),(40669,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.019208908081055','192.168.1.254','2019-06-15 02:59:37'),(40670,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.00040602684020996','192.168.1.254','2019-06-15 02:59:37'),(40671,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.0013527870178223','192.168.1.254','2019-06-15 02:59:37'),(40672,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.018941879272461','192.168.1.254','2019-06-15 02:59:37'),(40673,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.00040411949157715','192.168.1.254','2019-06-15 02:59:37'),(40674,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.001352071762085','192.168.1.254','2019-06-15 02:59:37'),(40675,23,NULL,'update','UPDATE `_log__module_session` SET `logout_ts` = \'2019-06-15 10:59:34\'\nWHERE id = 290','/index','0.02410101890564','192.168.1.254','2019-06-15 02:59:37'),(40676,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.00043201446533203','192.168.1.254','2019-06-15 02:59:37'),(40677,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/web/dashboard','0.019073009490967','192.168.1.254','2019-06-15 02:59:40'),(40678,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/web/dashboard','0.00040912628173828','192.168.1.254','2019-06-15 02:59:40'),(40679,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/web/dashboard','0.0013689994812012','192.168.1.254','2019-06-15 02:59:40'),(40680,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/web/dashboard','0.01868200302124','192.168.1.254','2019-06-15 02:59:40'),(40681,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/web/dashboard','0.00040102005004883','192.168.1.254','2019-06-15 02:59:40'),(40682,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/web/dashboard','0.0013730525970459','192.168.1.254','2019-06-15 02:59:40'),(40683,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/web/dashboard','0.019191980361938','192.168.1.254','2019-06-15 02:59:40'),(40684,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/web/dashboard','0.00040483474731445','192.168.1.254','2019-06-15 02:59:40'),(40685,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/web/dashboard','0.0014290809631348','192.168.1.254','2019-06-15 02:59:40'),(40686,23,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/web/dashboard','0.00057506561279297','192.168.1.254','2019-06-15 02:59:40'),(40687,23,NULL,'others','SELECT *\nFROM `company__logo`\nWHERE `status` =0\nAND `is_delete` =0\nAND `company_id` = \'46\'\nORDER BY `title` ASC','/salihin-digital/web/dashboard','0.00048208236694336','192.168.1.254','2019-06-15 02:59:40'),(40688,23,NULL,'others','SELECT `a`.`user_id`, `a`.`access_lvl`, `b`.`name`, `b`.`gender_id`, `b`.`email`, `b`.`profile_picture`, `b`.`name`, `b`.`phone`\nFROM `user__module_access` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`user_id`\nWHERE `a`.`is_delete` =0\nGROUP BY `user_id`','/salihin-digital/web/dashboard','0.0018901824951172','192.168.1.254','2019-06-15 02:59:41'),(40689,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'web/dashboard/\'\nWHERE id = 997','web/dashboard','0.0005028247833252','192.168.1.254','2019-06-15 02:59:41'),(40690,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/staffDetail/3','0.019191026687622','192.168.1.254','2019-06-15 02:59:44'),(40691,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00041294097900391','192.168.1.254','2019-06-15 02:59:44'),(40692,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/staffDetail/3','0.0012490749359131','192.168.1.254','2019-06-15 02:59:44'),(40693,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/staffDetail/3','0.019216060638428','192.168.1.254','2019-06-15 02:59:44'),(40694,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00042510032653809','192.168.1.254','2019-06-15 02:59:45'),(40695,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/staffDetail/3','0.001251220703125','192.168.1.254','2019-06-15 02:59:45'),(40696,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/staffDetail/3','0.0193932056427','192.168.1.254','2019-06-15 02:59:45'),(40697,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00044989585876465','192.168.1.254','2019-06-15 02:59:45'),(40698,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/staffDetail/3','0.0012519359588623','192.168.1.254','2019-06-15 02:59:45'),(40699,128,NULL,'others','SELECT `a`.*, `b`.`type` as `reason`, `c`.`position` as `position_hiring`, `d`.`name` as `user_reporting_name`, `e`.`name` as `branch`, `g`.`name` as `personnel_area`, `f`.`name` as `personal_subarea`, `h`.`type` as `employee_group`, `i`.`type` as `contract_element`, `j`.`indicator` as `employee_subgroup_indicator`, `j`.`designation` as `employee_subgroup_designation`, `k`.`action_efective_date` as `action_efective_date`, `l`.`type` as `action_type_name`, `m`.`designation` as `designation`, `n`.`name` as `business_entity`\nFROM `user__joining_group` `a`\nLEFT JOIN `_ref__hiring_reason` `b` ON `b`.`id` = `a`.`reason_id`\nLEFT JOIN `company__position` `c` ON `c`.`id` = `a`.`position_id`\nLEFT JOIN `user` `d` ON `d`.`id` = `a`.`user_reporting_id`\nLEFT JOIN `company__branch` `e` ON `e`.`id` = `a`.`branch_id`\nLEFT JOIN `company__division` `f` ON `f`.`id` = `a`.`personal_subarea_id`\nLEFT JOIN `company__department` `g` ON `g`.`id` = `a`.`personnel_area_id`\nLEFT JOIN `_ref__employee_group` `h` ON `h`.`id` = `a`.`employee_group_id`\nLEFT JOIN `_ref__employee_contract_type` `i` ON `i`.`id` = `a`.`contract_element_id`\nLEFT JOIN `_ref__salary_scale` `j` ON `j`.`id` = `a`.`employee_subgroup_id`\nLEFT JOIN `user__profiling` `k` ON `k`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `l` ON `l`.`id` = `k`.`action_type_id`\nLEFT JOIN `_ref__designation` `m` ON `m`.`id` = `a`.`position_information`\nLEFT JOIN `company__business_entity` `n` ON `n`.`id` = `a`.`business_entity_id`\nWHERE `k`.`user_id` = \'3\'\nAND `a`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00096893310546875','192.168.1.254','2019-06-15 02:59:45'),(40700,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/staffDetail/3','0.019804000854492','192.168.1.254','2019-06-15 02:59:45'),(40701,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/staffDetail/3','0.00057291984558105','192.168.1.254','2019-06-15 02:59:45'),(40702,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0014541149139404','192.168.1.254','2019-06-15 02:59:45'),(40703,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00049710273742676','192.168.1.254','2019-06-15 02:59:45'),(40704,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00035905838012695','192.168.1.254','2019-06-15 02:59:45'),(40705,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00033092498779297','192.168.1.254','2019-06-15 02:59:45'),(40706,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00055789947509766','192.168.1.254','2019-06-15 02:59:45'),(40707,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0062589645385742','192.168.1.254','2019-06-15 02:59:45'),(40708,128,NULL,'others','SELECT `a`.*, `b`.`state` as `state_name`, `c`.`country` as `country_name`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__address` `a`\nLEFT JOIN `_ref__state` `b` ON `b`.`id` = `a`.`state_id`\nLEFT JOIN `_ref__country` `c` ON `c`.`id` = `a`.`country_id`\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`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nORDER BY `a`.`profiling_id` DESC, `a`.`type` ASC','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0025548934936523','192.168.1.254','2019-06-15 02:59:45'),(40709,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00055813789367676','192.168.1.254','2019-06-15 02:59:45'),(40710,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00030708312988281','192.168.1.254','2019-06-15 02:59:45'),(40711,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0003058910369873','192.168.1.254','2019-06-15 02:59:45'),(40712,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','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00066184997558594','192.168.1.254','2019-06-15 02:59:45'),(40713,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`.`is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00061893463134766','192.168.1.254','2019-06-15 02:59:45'),(40714,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\'','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0004432201385498','192.168.1.254','2019-06-15 02:59:45'),(40715,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00032901763916016','192.168.1.254','2019-06-15 02:59:45'),