INSERT INTO `_log__query` VALUES (57313,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.001338005065918','192.168.1.254','2019-06-16 06:38:03'),(57314,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.018439054489136','192.168.1.254','2019-06-16 06:38:03'),(57315,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/department/','0.00040006637573242','192.168.1.254','2019-06-16 06:38:03'),(57316,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.001331090927124','192.168.1.254','2019-06-16 06:38:03'),(57317,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave/department/','0.00059318542480469','192.168.1.254','2019-06-16 06:38:03'),(57318,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave/department/','0.00038409233093262','192.168.1.254','2019-06-16 06:38:03'),(57319,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.00052595138549805','192.168.1.254','2019-06-16 06:38:03'),(57320,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.0006561279296875','192.168.1.254','2019-06-16 06:38:03'),(57321,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.00054693222045898','192.168.1.254','2019-06-16 06:38:04'),(57322,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.00088882446289062','192.168.1.254','2019-06-16 06:38:04'),(57323,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.00088000297546387','192.168.1.254','2019-06-16 06:38:04'),(57324,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.000885009765625','192.168.1.254','2019-06-16 06:38:04'),(57325,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.00088310241699219','192.168.1.254','2019-06-16 06:38:04'),(57326,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/department/\'\nWHERE id = 1020','leave/department','0.00040292739868164','192.168.1.254','2019-06-16 06:38:04'),(57327,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.019303798675537','192.168.1.254','2019-06-16 06:38:16'),(57328,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-16 06:38:16'),(57329,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-16 06:38:16'),(57330,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.018512964248657','192.168.1.254','2019-06-16 06:38:16'),(57331,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.00040197372436523','192.168.1.254','2019-06-16 06:38:16'),(57332,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.0013558864593506','192.168.1.254','2019-06-16 06:38:16'),(57333,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.01844310760498','192.168.1.254','2019-06-16 06:38:16'),(57334,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.00039982795715332','192.168.1.254','2019-06-16 06:38:16'),(57335,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-16 06:38:16'),(57336,23,NULL,'update','UPDATE `_log__module_session` SET `logout_ts` = \'2019-06-16 14:38:13\'\nWHERE id = 319','/index','0.088757038116455','192.168.1.254','2019-06-16 06:38:16'),(57337,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r/\'\nWHERE id = 1020','/index','0.00043916702270508','192.168.1.254','2019-06-16 06:38:16'),(57338,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.018864154815674','192.168.1.254','2019-06-16 06:39:06'),(57339,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/application','0.00040292739868164','192.168.1.254','2019-06-16 06:39:06'),(57340,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.0013599395751953','192.168.1.254','2019-06-16 06:39:06'),(57341,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.018502950668335','192.168.1.254','2019-06-16 06:39:06'),(57342,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/application','0.00040102005004883','192.168.1.254','2019-06-16 06:39:06'),(57343,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.0013468265533447','192.168.1.254','2019-06-16 06:39:06'),(57344,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.018739223480225','192.168.1.254','2019-06-16 06:39:06'),(57345,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/application','0.00035905838012695','192.168.1.254','2019-06-16 06:39:06'),(57346,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.0013689994812012','192.168.1.254','2019-06-16 06:39:06'),(57347,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-16 06:39:06'),(57348,23,NULL,'insert','INSERT INTO `_log__module_session` (`module_id`, `user_session_id`) VALUES (4, 1020)','leave/application','0.090053796768188','192.168.1.254','2019-06-16 06:39:06'),(57349,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.00061702728271484','192.168.1.254','2019-06-16 06:39:06'),(57350,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.019193172454834','192.168.1.254','2019-06-16 06:39:06'),(57351,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.029624938964844','192.168.1.254','2019-06-16 06:39:06'),(57352,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.0023488998413086','192.168.1.254','2019-06-16 06:39:06'),(57353,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.00045108795166016','192.168.1.254','2019-06-16 06:39:06'),(57354,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.0061740875244141','192.168.1.254','2019-06-16 06:39:06'),(57355,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave/application','0.00034022331237793','192.168.1.254','2019-06-16 06:39:06'),(57356,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.00060820579528809','192.168.1.254','2019-06-16 06:39:06'),(57357,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave/application','0.00053882598876953','192.168.1.254','2019-06-16 06:39:06'),(57358,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave/application','0.00037193298339844','192.168.1.254','2019-06-16 06:39:06'),(57359,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.018925905227661','192.168.1.254','2019-06-16 06:39:06'),(57360,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.0019228458404541','192.168.1.254','2019-06-16 06:39:06'),(57361,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.00052714347839355','192.168.1.254','2019-06-16 06:39:06'),(57362,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.00086784362792969','192.168.1.254','2019-06-16 06:39:06'),(57363,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.00085687637329102','192.168.1.254','2019-06-16 06:39:06'),(57364,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.00086617469787598','192.168.1.254','2019-06-16 06:39:06'),(57365,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.00085997581481934','192.168.1.254','2019-06-16 06:39:06'),(57366,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/application/\'\nWHERE id = 1020','leave/application','0.00032401084899902','192.168.1.254','2019-06-16 06:39:06'),(57367,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019113063812256','192.168.1.254','2019-06-16 06:39:22'),(57368,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036787986755371','192.168.1.254','2019-06-16 06:39:22'),(57369,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.001183032989502','192.168.1.254','2019-06-16 06:39:22'),(57370,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018641948699951','192.168.1.254','2019-06-16 06:39:22'),(57371,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040102005004883','192.168.1.254','2019-06-16 06:39:22'),(57372,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012290477752686','192.168.1.254','2019-06-16 06:39:22'),(57373,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018478155136108','192.168.1.254','2019-06-16 06:39:22'),(57374,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00039911270141602','192.168.1.254','2019-06-16 06:39:22'),(57375,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012149810791016','192.168.1.254','2019-06-16 06:39:22'),(57376,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0010910034179688','192.168.1.254','2019-06-16 06:39:22'),(57377,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`position_id`, `e`.`position` as `position_name`, `i`.`position` as `position_category`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`, `m`.`expired_date` as `passport_expired_date`, `m`.`working_expired_date` as `passport_working_expired_date`, `m`.`issue`, `n`.`country` as `issue_country`, `o`.`country` as `citizen`, `p`.`race` as `race`, `q`.`name` as `religion`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__passport` `m` ON `m`.`staff_id` = `a`.`id`\nLEFT JOIN `_ref__country` `n` ON `m`.`issue` = `n`.`id`\nLEFT JOIN `_ref__country` `o` ON `o`.`id` = `a`.`citizen_id`\nLEFT JOIN `_ref__race` `p` ON `p`.`id` = `a`.`race_id`\nLEFT JOIN `_ref__religion` `q` ON `q`.`id` = `a`.`religion_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'3\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019584894180298','192.168.1.254','2019-06-16 06:39:22'),(57378,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034594535827637','192.168.1.254','2019-06-16 06:39:22'),(57379,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033211708068848','192.168.1.254','2019-06-16 06:39:22'),(57380,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028705596923828','192.168.1.254','2019-06-16 06:39:22'),(57381,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00025701522827148','192.168.1.254','2019-06-16 06:39:22'),(57382,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046396255493164','192.168.1.254','2019-06-16 06:39:22'),(57383,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035905838012695','192.168.1.254','2019-06-16 06:39:22'),(57384,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040316581726074','192.168.1.254','2019-06-16 06:39:22'),(57385,128,NULL,'others','SELECT `a`.*, `b`.`file_name`, `b`.`file_location`\nFROM `company` `a`\nLEFT JOIN `company__logo` `b` ON `b`.`id` = `a`.`main_logo_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00056004524230957','192.168.1.254','2019-06-16 06:39:22'),(57386,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00038504600524902','192.168.1.254','2019-06-16 06:39:22'),(57387,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `d`.`position_id` < 13\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.027192115783691','192.168.1.254','2019-06-16 06:39:22'),(57388,128,NULL,'others','SELECT `a`.*, `b`.`name` as `company_name`\nFROM `company__branch` `a`\nJOIN `company` `b` ON `b`.`id` = `a`.`company_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0068809986114502','192.168.1.254','2019-06-16 06:39:22'),(57389,128,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`\nFROM `company__division` `a`\nLEFT JOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046205520629883','192.168.1.254','2019-06-16 06:39:22'),(57390,128,NULL,'others','SELECT `a`.*, `b`.`name` as `branch_name`, `c`.`name` as `hod_name`\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`hod_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00061297416687012','192.168.1.254','2019-06-16 06:39:22'),(57391,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033783912658691','192.168.1.254','2019-06-16 06:39:22'),(57392,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034499168395996','192.168.1.254','2019-06-16 06:39:22'),(57393,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033807754516602','192.168.1.254','2019-06-16 06:39:22'),(57394,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003349781036377','192.168.1.254','2019-06-16 06:39:22'),(57395,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003349781036377','192.168.1.254','2019-06-16 06:39:22'),(57396,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00044107437133789','192.168.1.254','2019-06-16 06:39:22'),(57397,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00559401512146','192.168.1.254','2019-06-16 06:39:22'),(57398,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0031521320343018','192.168.1.254','2019-06-16 06:39:22'),(57399,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045990943908691','192.168.1.254','2019-06-16 06:39:22'),(57400,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033998489379883','192.168.1.254','2019-06-16 06:39:22'),(57401,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034594535827637','192.168.1.254','2019-06-16 06:39:22'),(57402,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036501884460449','192.168.1.254','2019-06-16 06:39:22'),(57403,128,NULL,'others','SELECT `a`.*, `b`.`country` as `country_issue`\nFROM `user__profiling` `a`\nLEFT JOIN `_ref__country` `b` ON `b`.`id` = `a`.`place_issue`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nORDER BY `a`.`action_efective_date` DESC, `a`.`id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00055408477783203','192.168.1.254','2019-06-16 06:39:22'),(57404,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00042080879211426','192.168.1.254','2019-06-16 06:39:22'),(57405,128,NULL,'others','SELECT `a`.`id`\nFROM `user__profiling` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`action_efective_date` DESC, `id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040197372436523','192.168.1.254','2019-06-16 06:39:22'),(57406,128,NULL,'others','SELECT `a`.*, `b`.`relations`, `c`.`level` as `level_academic`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__family_member` `a`\nJOIN `_ref__relationship` `b` ON `b`.`id` = `a`.`relation`\nLEFT JOIN `_ref__academic` `c` ON `c`.`id` = `a`.`academic_lavel`\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__family_member` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00058197975158691','192.168.1.254','2019-06-16 06:39:22'),(57407,128,NULL,'others','SELECT `a`.*, `b`.`level` as `academic_level`, `c`.`id` as `attachment_id`, `c`.`attachment_name`, `c`.`location`, `c`.`file_type`, `c`.`file_ext`, `c`.`mask_id`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__academic_qualification` `a`\nJOIN `_ref__academic` `b` ON `b`.`id` = `a`.`level_id`\nLEFT OUTER JOIN `user__academic_qualification_attachment` `c` ON `c`.`academic_qualification_id` = `a`.`id` and `c`.`is_delete` = 0\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__academic_qualification` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00062799453735352','192.168.1.254','2019-06-16 06:39:22'),(57408,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__personal_attachment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__personal_attachment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00049901008605957','192.168.1.254','2019-06-16 06:39:22'),(57409,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__employment_history` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__employment_history` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\') ','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00051021575927734','192.168.1.254','2019-06-16 06:39:22'),(57410,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__profesional_membership` `a`\nLEFT JOIN `user__profesional_membership_attachment` `b` ON `b`.`professional_membership_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__profesional_membership` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00059413909912109','192.168.1.254','2019-06-16 06:39:22'),(57411,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__license` `a`\nLEFT JOIN `user__license_attachment` `b` ON `b`.`license_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__license` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00053310394287109','192.168.1.254','2019-06-16 06:39:22'),(57412,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__recognition` `a`\nLEFT JOIN `user__recognition_attachment` `b` ON `b`.`recognition_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recognition` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00052380561828613','192.168.1.254','2019-06-16 06:39:22'),(57413,128,NULL,'others','SELECT `a`.*, `b`.`name`, `c`.`action_efective_date`, `d`.`type` as `action_type`, `e`.`id` as `attachment_id`, `e`.`attachment_name`, `e`.`location`, `e`.`file_type`, `e`.`file_ext`, `e`.`mask_id`\nFROM `user__bank_detail` `a`\nJOIN `_ref__bank` `b` ON `b`.`id` = `a`.`bank_id`\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nLEFT JOIN `user__bank_detail_attachment` `e` ON `e`.`bank_detail_id` = `a`.`id` and `e`.`is_delete` = 0\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__bank_detail` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00057291984558105','192.168.1.254','2019-06-16 06:39:22'),(57414,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__third_party_payment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__third_party_payment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045895576477051','192.168.1.254','2019-06-16 06:39:22'),(57415,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` =0\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045299530029297','192.168.1.254','2019-06-16 06:39:22'),(57416,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` = 1\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00044798851013184','192.168.1.254','2019-06-16 06:39:22'),(57417,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046181678771973','192.168.1.254','2019-06-16 06:39:22'),(57418,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00082206726074219','192.168.1.254','2019-06-16 06:39:23'),(57419,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0007789134979248','192.168.1.254','2019-06-16 06:39:23'),(57420,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00077700614929199','192.168.1.254','2019-06-16 06:39:23'),(57421,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00077509880065918','192.168.1.254','2019-06-16 06:39:23'),(57422,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 1019','StaffProfile/new_action_type','0.00046110153198242','192.168.1.254','2019-06-16 06:39:23'),(57423,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.018887996673584','192.168.1.254','2019-06-16 06:39:34'),(57424,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/application','0.00040507316589355','192.168.1.254','2019-06-16 06:39:34'),(57425,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.0013558864593506','192.168.1.254','2019-06-16 06:39:35'),(57426,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.018517971038818','192.168.1.254','2019-06-16 06:39:35'),(57427,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/application','0.00040197372436523','192.168.1.254','2019-06-16 06:39:35'),(57428,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.0013370513916016','192.168.1.254','2019-06-16 06:39:35'),(57429,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.018409013748169','192.168.1.254','2019-06-16 06:39:35'),(57430,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/application','0.0003969669342041','192.168.1.254','2019-06-16 06:39:35'),(57431,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.0013370513916016','192.168.1.254','2019-06-16 06:39:35'),(57432,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.00046396255493164','192.168.1.254','2019-06-16 06:39:35'),(57433,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.019048929214478','192.168.1.254','2019-06-16 06:39:35'),(57434,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.028105020523071','192.168.1.254','2019-06-16 06:39:35'),(57435,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.0023360252380371','192.168.1.254','2019-06-16 06:39:35'),(57436,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.00045108795166016','192.168.1.254','2019-06-16 06:39:35'),(57437,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.007828950881958','192.168.1.254','2019-06-16 06:39:35'),(57438,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave/application','0.00033998489379883','192.168.1.254','2019-06-16 06:39:35'),(57439,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.0006110668182373','192.168.1.254','2019-06-16 06:39:35'),(57440,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave/application','0.00053906440734863','192.168.1.254','2019-06-16 06:39:35'),(57441,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave/application','0.00037503242492676','192.168.1.254','2019-06-16 06:39:35'),(57442,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.016952037811279','192.168.1.254','2019-06-16 06:39:35'),(57443,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.0017049312591553','192.168.1.254','2019-06-16 06:39:35'),(57444,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.00047206878662109','192.168.1.254','2019-06-16 06:39:35'),(57445,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.00077700614929199','192.168.1.254','2019-06-16 06:39:35'),(57446,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.00076603889465332','192.168.1.254','2019-06-16 06:39:35'),(57447,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.00078105926513672','192.168.1.254','2019-06-16 06:39:35'),(57448,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.00076603889465332','192.168.1.254','2019-06-16 06:39:35'),(57449,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/application/\'\nWHERE id = 1020','leave/application','0.00035905838012695','192.168.1.254','2019-06-16 06:39:35'),(57450,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.019192934036255','192.168.1.254','2019-06-16 06:42:23'),(57451,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-16 06:42:23'),(57452,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.0013530254364014','192.168.1.254','2019-06-16 06:42:23'),(57453,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.018841981887817','192.168.1.254','2019-06-16 06:42:23'),(57454,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-16 06:42:23'),(57455,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.001338005065918','192.168.1.254','2019-06-16 06:42:23'),(57456,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.018675088882446','192.168.1.254','2019-06-16 06:42:23'),(57457,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/application','0.00041484832763672','192.168.1.254','2019-06-16 06:42:23'),(57458,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.0013399124145508','192.168.1.254','2019-06-16 06:42:23'),(57459,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.00054383277893066','192.168.1.254','2019-06-16 06:42:23'),(57460,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.01964807510376','192.168.1.254','2019-06-16 06:42:23'),(57461,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.02839994430542','192.168.1.254','2019-06-16 06:42:23'),(57462,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.0024459362030029','192.168.1.254','2019-06-16 06:42:23'),(57463,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.00045180320739746','192.168.1.254','2019-06-16 06:42:23'),(57464,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.0094549655914307','192.168.1.254','2019-06-16 06:42:23'),(57465,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave/application','0.00034689903259277','192.168.1.254','2019-06-16 06:42:23'),(57466,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.00061488151550293','192.168.1.254','2019-06-16 06:42:23'),(57467,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave/application','0.00054192543029785','192.168.1.254','2019-06-16 06:42:23'),(57468,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave/application','0.00037598609924316','192.168.1.254','2019-06-16 06:42:23'),(57469,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.01922607421875','192.168.1.254','2019-06-16 06:42:23'),(57470,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.0019271373748779','192.168.1.254','2019-06-16 06:42:23'),(57471,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.00053191184997559','192.168.1.254','2019-06-16 06:42:23'),(57472,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.00087499618530273','192.168.1.254','2019-06-16 06:42:23'),(57473,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.00086712837219238','192.168.1.254','2019-06-16 06:42:23'),(57474,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.0008699893951416','192.168.1.254','2019-06-16 06:42:23'),(57475,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.00077414512634277','192.168.1.254','2019-06-16 06:42:23'),(57476,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/application/\'\nWHERE id = 1020','leave/application','0.00035381317138672','192.168.1.254','2019-06-16 06:42:23'),(57477,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018909931182861','192.168.1.254','2019-06-16 06:42:30'),(57478,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040793418884277','192.168.1.254','2019-06-16 06:42:30'),(57479,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012359619140625','192.168.1.254','2019-06-16 06:42:30'),(57480,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018512010574341','192.168.1.254','2019-06-16 06:42:30'),(57481,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040197372436523','192.168.1.254','2019-06-16 06:42:30'),(57482,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012249946594238','192.168.1.254','2019-06-16 06:42:30'),(57483,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018409013748169','192.168.1.254','2019-06-16 06:42:30'),(57484,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040102005004883','192.168.1.254','2019-06-16 06:42:30'),(57485,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012168884277344','192.168.1.254','2019-06-16 06:42:30'),(57486,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0011160373687744','192.168.1.254','2019-06-16 06:42:31'),(57487,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`position_id`, `e`.`position` as `position_name`, `i`.`position` as `position_category`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`, `m`.`expired_date` as `passport_expired_date`, `m`.`working_expired_date` as `passport_working_expired_date`, `m`.`issue`, `n`.`country` as `issue_country`, `o`.`country` as `citizen`, `p`.`race` as `race`, `q`.`name` as `religion`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__passport` `m` ON `m`.`staff_id` = `a`.`id`\nLEFT JOIN `_ref__country` `n` ON `m`.`issue` = `n`.`id`\nLEFT JOIN `_ref__country` `o` ON `o`.`id` = `a`.`citizen_id`\nLEFT JOIN `_ref__race` `p` ON `p`.`id` = `a`.`race_id`\nLEFT JOIN `_ref__religion` `q` ON `q`.`id` = `a`.`religion_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'3\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.01903510093689','192.168.1.254','2019-06-16 06:42:31'),(57488,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034213066101074','192.168.1.254','2019-06-16 06:42:31'),(57489,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032806396484375','192.168.1.254','2019-06-16 06:42:31'),(57490,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003359317779541','192.168.1.254','2019-06-16 06:42:31'),(57491,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033283233642578','192.168.1.254','2019-06-16 06:42:31'),(57492,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00048494338989258','192.168.1.254','2019-06-16 06:42:31'),(57493,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041317939758301','192.168.1.254','2019-06-16 06:42:31'),(57494,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045013427734375','192.168.1.254','2019-06-16 06:42:31'),(57495,128,NULL,'others','SELECT `a`.*, `b`.`file_name`, `b`.`file_location`\nFROM `company` `a`\nLEFT JOIN `company__logo` `b` ON `b`.`id` = `a`.`main_logo_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00059103965759277','192.168.1.254','2019-06-16 06:42:31'),(57496,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043082237243652','192.168.1.254','2019-06-16 06:42:31'),(57497,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `d`.`position_id` < 13\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.026966094970703','192.168.1.254','2019-06-16 06:42:31'),(57498,128,NULL,'others','SELECT `a`.*, `b`.`name` as `company_name`\nFROM `company__branch` `a`\nJOIN `company` `b` ON `b`.`id` = `a`.`company_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0066699981689453','192.168.1.254','2019-06-16 06:42:31'),(57499,128,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`\nFROM `company__division` `a`\nLEFT JOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0004580020904541','192.168.1.254','2019-06-16 06:42:31'),(57500,128,NULL,'others','SELECT `a`.*, `b`.`name` as `branch_name`, `c`.`name` as `hod_name`\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`hod_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00062680244445801','192.168.1.254','2019-06-16 06:42:31'),(57501,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003349781036377','192.168.1.254','2019-06-16 06:42:31'),(57502,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034403800964355','192.168.1.254','2019-06-16 06:42:31'),(57503,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003349781036377','192.168.1.254','2019-06-16 06:42:31'),(57504,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003361701965332','192.168.1.254','2019-06-16 06:42:31'),(57505,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003349781036377','192.168.1.254','2019-06-16 06:42:31'),(57506,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043487548828125','192.168.1.254','2019-06-16 06:42:31'),(57507,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0055971145629883','192.168.1.254','2019-06-16 06:42:31'),(57508,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0031008720397949','192.168.1.254','2019-06-16 06:42:31'),(57509,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041484832763672','192.168.1.254','2019-06-16 06:42:31'),(57510,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029110908508301','192.168.1.254','2019-06-16 06:42:31'),(57511,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029611587524414','192.168.1.254','2019-06-16 06:42:31'),(57512,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031685829162598','192.168.1.254','2019-06-16 06:42:31'),(57513,128,NULL,'others','SELECT `a`.*, `b`.`country` as `country_issue`\nFROM `user__profiling` `a`\nLEFT JOIN `_ref__country` `b` ON `b`.`id` = `a`.`place_issue`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nORDER BY `a`.`action_efective_date` DESC, `a`.`id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00050902366638184','192.168.1.254','2019-06-16 06:42:31'),(57514,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003659725189209','192.168.1.254','2019-06-16 06:42:31'),(57515,128,NULL,'others','SELECT `a`.`id`\nFROM `user__profiling` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`action_efective_date` DESC, `id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035619735717773','192.168.1.254','2019-06-16 06:42:31'),(57516,128,NULL,'others','SELECT `a`.*, `b`.`relations`, `c`.`level` as `level_academic`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__family_member` `a`\nJOIN `_ref__relationship` `b` ON `b`.`id` = `a`.`relation`\nLEFT JOIN `_ref__academic` `c` ON `c`.`id` = `a`.`academic_lavel`\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__family_member` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00054192543029785','192.168.1.254','2019-06-16 06:42:31'),(57517,128,NULL,'others','SELECT `a`.*, `b`.`level` as `academic_level`, `c`.`id` as `attachment_id`, `c`.`attachment_name`, `c`.`location`, `c`.`file_type`, `c`.`file_ext`, `c`.`mask_id`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__academic_qualification` `a`\nJOIN `_ref__academic` `b` ON `b`.`id` = `a`.`level_id`\nLEFT OUTER JOIN `user__academic_qualification_attachment` `c` ON `c`.`academic_qualification_id` = `a`.`id` and `c`.`is_delete` = 0\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__academic_qualification` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00058412551879883','192.168.1.254','2019-06-16 06:42:31'),(57518,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__personal_attachment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__personal_attachment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045299530029297','192.168.1.254','2019-06-16 06:42:31'),(57519,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__employment_history` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__employment_history` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\') ','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046110153198242','192.168.1.254','2019-06-16 06:42:31'),(57520,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__profesional_membership` `a`\nLEFT JOIN `user__profesional_membership_attachment` `b` ON `b`.`professional_membership_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__profesional_membership` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00054812431335449','192.168.1.254','2019-06-16 06:42:31'),(57521,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__license` `a`\nLEFT JOIN `user__license_attachment` `b` ON `b`.`license_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__license` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00050806999206543','192.168.1.254','2019-06-16 06:42:31'),(57522,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__recognition` `a`\nLEFT JOIN `user__recognition_attachment` `b` ON `b`.`recognition_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recognition` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0005030632019043','192.168.1.254','2019-06-16 06:42:31'),(57523,128,NULL,'others','SELECT `a`.*, `b`.`name`, `c`.`action_efective_date`, `d`.`type` as `action_type`, `e`.`id` as `attachment_id`, `e`.`attachment_name`, `e`.`location`, `e`.`file_type`, `e`.`file_ext`, `e`.`mask_id`\nFROM `user__bank_detail` `a`\nJOIN `_ref__bank` `b` ON `b`.`id` = `a`.`bank_id`\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nLEFT JOIN `user__bank_detail_attachment` `e` ON `e`.`bank_detail_id` = `a`.`id` and `e`.`is_delete` = 0\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__bank_detail` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0005490779876709','192.168.1.254','2019-06-16 06:42:31'),(57524,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__third_party_payment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__third_party_payment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00044107437133789','192.168.1.254','2019-06-16 06:42:31'),(57525,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` =0\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043392181396484','192.168.1.254','2019-06-16 06:42:31'),(57526,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` = 1\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0004279613494873','192.168.1.254','2019-06-16 06:42:31'),(57527,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043892860412598','192.168.1.254','2019-06-16 06:42:31'),(57528,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00094699859619141','192.168.1.254','2019-06-16 06:42:31'),(57529,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00098490715026855','192.168.1.254','2019-06-16 06:42:31'),(57530,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00091218948364258','192.168.1.254','2019-06-16 06:42:31'),(57531,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00082492828369141','192.168.1.254','2019-06-16 06:42:31'),(57532,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 1019','StaffProfile/new_action_type','0.00041294097900391','192.168.1.254','2019-06-16 06:42:31'),(57533,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.018775939941406','192.168.1.254','2019-06-16 06:43:13'),(57534,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/application','0.00040102005004883','192.168.1.254','2019-06-16 06:43:13'),(57535,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.0013511180877686','192.168.1.254','2019-06-16 06:43:13'),(57536,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.018500089645386','192.168.1.254','2019-06-16 06:43:13'),(57537,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/application','0.00040197372436523','192.168.1.254','2019-06-16 06:43:13'),(57538,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.0013358592987061','192.168.1.254','2019-06-16 06:43:13'),(57539,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.018442153930664','192.168.1.254','2019-06-16 06:43:13'),(57540,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/application','0.00040006637573242','192.168.1.254','2019-06-16 06:43:13'),(57541,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.001338005065918','192.168.1.254','2019-06-16 06:43:13'),(57542,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.00054097175598145','192.168.1.254','2019-06-16 06:43:13'),(57543,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.019009828567505','192.168.1.254','2019-06-16 06:43:13'),(57544,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.027318954467773','192.168.1.254','2019-06-16 06:43:13'),(57545,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.0023419857025146','192.168.1.254','2019-06-16 06:43:13'),(57546,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.00045108795166016','192.168.1.254','2019-06-16 06:43:13'),(57547,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.0092530250549316','192.168.1.254','2019-06-16 06:43:13'),(57548,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave/application','0.00034284591674805','192.168.1.254','2019-06-16 06:43:13'),(57549,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.00061798095703125','192.168.1.254','2019-06-16 06:43:13'),(57550,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave/application','0.00053787231445312','192.168.1.254','2019-06-16 06:43:14'),(57551,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave/application','0.00037503242492676','192.168.1.254','2019-06-16 06:43:14'),(57552,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.018984079360962','192.168.1.254','2019-06-16 06:43:14'),(57553,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.0019149780273438','192.168.1.254','2019-06-16 06:43:14'),(57554,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.00052785873413086','192.168.1.254','2019-06-16 06:43:14'),(57555,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.00087189674377441','192.168.1.254','2019-06-16 06:43:14'),(57556,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.00086092948913574','192.168.1.254','2019-06-16 06:43:14'),(57557,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.00086593627929688','192.168.1.254','2019-06-16 06:43:14'),(57558,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.00085997581481934','192.168.1.254','2019-06-16 06:43:14'),(57559,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/application/\'\nWHERE id = 1020','leave/application','0.00037789344787598','192.168.1.254','2019-06-16 06:43:14'),(57560,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.018882036209106','192.168.1.254','2019-06-16 06:43:53'),(57561,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-16 06:43:53'),(57562,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.0013620853424072','192.168.1.254','2019-06-16 06:43:53'),(57563,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.018472909927368','192.168.1.254','2019-06-16 06:43:53'),(57564,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/application','0.00040006637573242','192.168.1.254','2019-06-16 06:43:53'),(57565,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.0013480186462402','192.168.1.254','2019-06-16 06:43:53'),(57566,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.018416166305542','192.168.1.254','2019-06-16 06:43:53'),(57567,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/application','0.00039887428283691','192.168.1.254','2019-06-16 06:43:53'),(57568,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.0013470649719238','192.168.1.254','2019-06-16 06:43:53'),(57569,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.00054097175598145','192.168.1.254','2019-06-16 06:43:53'),(57570,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.01926589012146','192.168.1.254','2019-06-16 06:43:53'),(57571,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.031239032745361','192.168.1.254','2019-06-16 06:43:53'),(57572,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.0024149417877197','192.168.1.254','2019-06-16 06:43:53'),(57573,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.00045394897460938','192.168.1.254','2019-06-16 06:43:53'),(57574,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.0051479339599609','192.168.1.254','2019-06-16 06:43:53'),(57575,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave/application','0.00038599967956543','192.168.1.254','2019-06-16 06:43:53'),(57576,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.0006110668182373','192.168.1.254','2019-06-16 06:43:53'),(57577,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave/application','0.00053906440734863','192.168.1.254','2019-06-16 06:43:53'),(57578,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave/application','0.00037622451782227','192.168.1.254','2019-06-16 06:43:53'),(57579,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.01911187171936','192.168.1.254','2019-06-16 06:43:54'),(57580,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.001924991607666','192.168.1.254','2019-06-16 06:43:54'),(57581,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.00053191184997559','192.168.1.254','2019-06-16 06:43:54'),(57582,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.000885009765625','192.168.1.254','2019-06-16 06:43:54'),(57583,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.00087380409240723','192.168.1.254','2019-06-16 06:43:54'),(57584,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.00088095664978027','192.168.1.254','2019-06-16 06:43:54'),(57585,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.00087690353393555','192.168.1.254','2019-06-16 06:43:54'),(57586,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/application/\'\nWHERE id = 1020','leave/application','0.00033903121948242','192.168.1.254','2019-06-16 06:43:54'),(57587,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018782138824463','192.168.1.254','2019-06-16 06:44:55'),(57588,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040984153747559','192.168.1.254','2019-06-16 06:44:55'),(57589,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012290477752686','192.168.1.254','2019-06-16 06:44:55'),(57590,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019098997116089','192.168.1.254','2019-06-16 06:44:55'),(57591,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00039982795715332','192.168.1.254','2019-06-16 06:44:55'),(57592,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012028217315674','192.168.1.254','2019-06-16 06:44:55'),(57593,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018476009368896','192.168.1.254','2019-06-16 06:44:55'),(57594,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00039887428283691','192.168.1.254','2019-06-16 06:44:55'),(57595,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012149810791016','192.168.1.254','2019-06-16 06:44:55'),(57596,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0010941028594971','192.168.1.254','2019-06-16 06:44:55'),(57597,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`position_id`, `e`.`position` as `position_name`, `i`.`position` as `position_category`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`, `m`.`expired_date` as `passport_expired_date`, `m`.`working_expired_date` as `passport_working_expired_date`, `m`.`issue`, `n`.`country` as `issue_country`, `o`.`country` as `citizen`, `p`.`race` as `race`, `q`.`name` as `religion`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__passport` `m` ON `m`.`staff_id` = `a`.`id`\nLEFT JOIN `_ref__country` `n` ON `m`.`issue` = `n`.`id`\nLEFT JOIN `_ref__country` `o` ON `o`.`id` = `a`.`citizen_id`\nLEFT JOIN `_ref__race` `p` ON `p`.`id` = `a`.`race_id`\nLEFT JOIN `_ref__religion` `q` ON `q`.`id` = `a`.`religion_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'3\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.017871856689453','192.168.1.254','2019-06-16 06:44:55'),(57598,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030803680419922','192.168.1.254','2019-06-16 06:44:55'),(57599,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029516220092773','192.168.1.254','2019-06-16 06:44:55'),(57600,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029993057250977','192.168.1.254','2019-06-16 06:44:55'),(57601,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029587745666504','192.168.1.254','2019-06-16 06:44:55'),(57602,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043201446533203','192.168.1.254','2019-06-16 06:44:55'),(57603,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036406517028809','192.168.1.254','2019-06-16 06:44:55'),(57604,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040292739868164','192.168.1.254','2019-06-16 06:44:55'),(57605,128,NULL,'others','SELECT `a`.*, `b`.`file_name`, `b`.`file_location`\nFROM `company` `a`\nLEFT JOIN `company__logo` `b` ON `b`.`id` = `a`.`main_logo_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00052118301391602','192.168.1.254','2019-06-16 06:44:55'),(57606,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00038695335388184','192.168.1.254','2019-06-16 06:44:55'),(57607,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `d`.`position_id` < 13\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.022178888320923','192.168.1.254','2019-06-16 06:44:55'),(57608,128,NULL,'others','SELECT `a`.*, `b`.`name` as `company_name`\nFROM `company__branch` `a`\nJOIN `company` `b` ON `b`.`id` = `a`.`company_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.005659818649292','192.168.1.254','2019-06-16 06:44:55'),(57609,128,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`\nFROM `company__division` `a`\nLEFT JOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041604042053223','192.168.1.254','2019-06-16 06:44:55'),(57610,128,NULL,'others','SELECT `a`.*, `b`.`name` as `branch_name`, `c`.`name` as `hod_name`\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`hod_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0006108283996582','192.168.1.254','2019-06-16 06:44:55'),(57611,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033807754516602','192.168.1.254','2019-06-16 06:44:55'),(57612,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034594535827637','192.168.1.254','2019-06-16 06:44:55'),(57613,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033712387084961','192.168.1.254','2019-06-16 06:44:55'),(57614,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003349781036377','192.168.1.254','2019-06-16 06:44:55'),(57615,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033307075500488','192.168.1.254','2019-06-16 06:44:55'),(57616,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043296813964844','192.168.1.254','2019-06-16 06:44:55'),(57617,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.005579948425293','192.168.1.254','2019-06-16 06:44:55'),(57618,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0031640529632568','192.168.1.254','2019-06-16 06:44:55'),(57619,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045990943908691','192.168.1.254','2019-06-16 06:44:55'),(57620,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033783912658691','192.168.1.254','2019-06-16 06:44:55'),(57621,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034689903259277','192.168.1.254','2019-06-16 06:44:55'),(57622,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036287307739258','192.168.1.254','2019-06-16 06:44:55'),(57623,128,NULL,'others','SELECT `a`.*, `b`.`country` as `country_issue`\nFROM `user__profiling` `a`\nLEFT JOIN `_ref__country` `b` ON `b`.`id` = `a`.`place_issue`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nORDER BY `a`.`action_efective_date` DESC, `a`.`id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00055718421936035','192.168.1.254','2019-06-16 06:44:55'),(57624,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00042009353637695','192.168.1.254','2019-06-16 06:44:55'),(57625,128,NULL,'others','SELECT `a`.`id`\nFROM `user__profiling` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`action_efective_date` DESC, `id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041294097900391','192.168.1.254','2019-06-16 06:44:55'),(57626,128,NULL,'others','SELECT `a`.*, `b`.`relations`, `c`.`level` as `level_academic`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__family_member` `a`\nJOIN `_ref__relationship` `b` ON `b`.`id` = `a`.`relation`\nLEFT JOIN `_ref__academic` `c` ON `c`.`id` = `a`.`academic_lavel`\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__family_member` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00054812431335449','192.168.1.254','2019-06-16 06:44:55'),(57627,128,NULL,'others','SELECT `a`.*, `b`.`level` as `academic_level`, `c`.`id` as `attachment_id`, `c`.`attachment_name`, `c`.`location`, `c`.`file_type`, `c`.`file_ext`, `c`.`mask_id`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__academic_qualification` `a`\nJOIN `_ref__academic` `b` ON `b`.`id` = `a`.`level_id`\nLEFT OUTER JOIN `user__academic_qualification_attachment` `c` ON `c`.`academic_qualification_id` = `a`.`id` and `c`.`is_delete` = 0\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__academic_qualification` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00058507919311523','192.168.1.254','2019-06-16 06:44:55'),(57628,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__personal_attachment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__personal_attachment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046014785766602','192.168.1.254','2019-06-16 06:44:55'),(57629,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__employment_history` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__employment_history` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\') ','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045990943908691','192.168.1.254','2019-06-16 06:44:55'),(57630,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__profesional_membership` `a`\nLEFT JOIN `user__profesional_membership_attachment` `b` ON `b`.`professional_membership_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__profesional_membership` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0005500316619873','192.168.1.254','2019-06-16 06:44:55'),(57631,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__license` `a`\nLEFT JOIN `user__license_attachment` `b` ON `b`.`license_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__license` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00052309036254883','192.168.1.254','2019-06-16 06:44:56'),(57632,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__recognition` `a`\nLEFT JOIN `user__recognition_attachment` `b` ON `b`.`recognition_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recognition` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00051999092102051','192.168.1.254','2019-06-16 06:44:56'),(57633,128,NULL,'others','SELECT `a`.*, `b`.`name`, `c`.`action_efective_date`, `d`.`type` as `action_type`, `e`.`id` as `attachment_id`, `e`.`attachment_name`, `e`.`location`, `e`.`file_type`, `e`.`file_ext`, `e`.`mask_id`\nFROM `user__bank_detail` `a`\nJOIN `_ref__bank` `b` ON `b`.`id` = `a`.`bank_id`\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nLEFT JOIN `user__bank_detail_attachment` `e` ON `e`.`bank_detail_id` = `a`.`id` and `e`.`is_delete` = 0\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__bank_detail` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00056815147399902','192.168.1.254','2019-06-16 06:44:56'),(57634,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__third_party_payment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__third_party_payment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045990943908691','192.168.1.254','2019-06-16 06:44:56'),(57635,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` =0\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043296813964844','192.168.1.254','2019-06-16 06:44:56'),(57636,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` = 1\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043821334838867','192.168.1.254','2019-06-16 06:44:56'),(57637,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00044083595275879','192.168.1.254','2019-06-16 06:44:56'),(57638,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00081205368041992','192.168.1.254','2019-06-16 06:44:56'),(57639,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0007789134979248','192.168.1.254','2019-06-16 06:44:56'),(57640,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0007779598236084','192.168.1.254','2019-06-16 06:44:56'),(57641,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00077414512634277','192.168.1.254','2019-06-16 06:44:56'),(57642,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 1019','StaffProfile/new_action_type','0.00040292739868164','192.168.1.254','2019-06-16 06:44:56'),(57643,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019393920898438','192.168.1.254','2019-06-16 06:46:02'),(57644,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0004119873046875','192.168.1.254','2019-06-16 06:46:02'),(57645,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.001237154006958','192.168.1.254','2019-06-16 06:46:02'),(57646,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018897771835327','192.168.1.254','2019-06-16 06:46:02'),(57647,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040292739868164','192.168.1.254','2019-06-16 06:46:02'),(57648,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012271404266357','192.168.1.254','2019-06-16 06:46:02'),(57649,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018858909606934','192.168.1.254','2019-06-16 06:46:02'),(57650,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040078163146973','192.168.1.254','2019-06-16 06:46:02'),(57651,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012190341949463','192.168.1.254','2019-06-16 06:46:02'),(57652,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.001107931137085','192.168.1.254','2019-06-16 06:46:02'),(57653,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`position_id`, `e`.`position` as `position_name`, `i`.`position` as `position_category`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`, `m`.`expired_date` as `passport_expired_date`, `m`.`working_expired_date` as `passport_working_expired_date`, `m`.`issue`, `n`.`country` as `issue_country`, `o`.`country` as `citizen`, `p`.`race` as `race`, `q`.`name` as `religion`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__passport` `m` ON `m`.`staff_id` = `a`.`id`\nLEFT JOIN `_ref__country` `n` ON `m`.`issue` = `n`.`id`\nLEFT JOIN `_ref__country` `o` ON `o`.`id` = `a`.`citizen_id`\nLEFT JOIN `_ref__race` `p` ON `p`.`id` = `a`.`race_id`\nLEFT JOIN `_ref__religion` `q` ON `q`.`id` = `a`.`religion_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'3\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019826889038086','192.168.1.254','2019-06-16 06:46:02'),(57654,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00037908554077148','192.168.1.254','2019-06-16 06:46:02'),(57655,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032591819763184','192.168.1.254','2019-06-16 06:46:02'),(57656,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033402442932129','192.168.1.254','2019-06-16 06:46:02'),(57657,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033116340637207','192.168.1.254','2019-06-16 06:46:02'),(57658,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00049901008605957','192.168.1.254','2019-06-16 06:46:02'),(57659,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00039291381835938','192.168.1.254','2019-06-16 06:46:02'),(57660,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046300888061523','192.168.1.254','2019-06-16 06:46:02'),(57661,128,NULL,'others','SELECT `a`.*, `b`.`file_name`, `b`.`file_location`\nFROM `company` `a`\nLEFT JOIN `company__logo` `b` ON `b`.`id` = `a`.`main_logo_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00062417984008789','192.168.1.254','2019-06-16 06:46:02'),(57662,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045204162597656','192.168.1.254','2019-06-16 06:46:02'),(57663,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `d`.`position_id` < 13\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.024556875228882','192.168.1.254','2019-06-16 06:46:02'),(57664,128,NULL,'others','SELECT `a`.*, `b`.`name` as `company_name`\nFROM `company__branch` `a`\nJOIN `company` `b` ON `b`.`id` = `a`.`company_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0037047863006592','192.168.1.254','2019-06-16 06:46:02'),(57665,128,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`\nFROM `company__division` `a`\nLEFT JOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046396255493164','192.168.1.254','2019-06-16 06:46:02'),(57666,128,NULL,'others','SELECT `a`.*, `b`.`name` as `branch_name`, `c`.`name` as `hod_name`\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`hod_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00061798095703125','192.168.1.254','2019-06-16 06:46:02'),(57667,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033998489379883','192.168.1.254','2019-06-16 06:46:02'),(57668,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034689903259277','192.168.1.254','2019-06-16 06:46:02'),(57669,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033688545227051','192.168.1.254','2019-06-16 06:46:02'),(57670,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033879280090332','192.168.1.254','2019-06-16 06:46:02'),(57671,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003361701965332','192.168.1.254','2019-06-16 06:46:02'),(57672,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043606758117676','192.168.1.254','2019-06-16 06:46:02'),(57673,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0056021213531494','192.168.1.254','2019-06-16 06:46:02'),(57674,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0031599998474121','192.168.1.254','2019-06-16 06:46:02'),(57675,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041413307189941','192.168.1.254','2019-06-16 06:46:02'),(57676,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030708312988281','192.168.1.254','2019-06-16 06:46:02'),(57677,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031208992004395','192.168.1.254','2019-06-16 06:46:02'),(57678,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032997131347656','192.168.1.254','2019-06-16 06:46:02'),(57679,128,NULL,'others','SELECT `a`.*, `b`.`country` as `country_issue`\nFROM `user__profiling` `a`\nLEFT JOIN `_ref__country` `b` ON `b`.`id` = `a`.`place_issue`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nORDER BY `a`.`action_efective_date` DESC, `a`.`id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00050902366638184','192.168.1.254','2019-06-16 06:46:02'),(57680,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00037789344787598','192.168.1.254','2019-06-16 06:46:02'),(57681,128,NULL,'others','SELECT `a`.`id`\nFROM `user__profiling` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`action_efective_date` DESC, `id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036191940307617','192.168.1.254','2019-06-16 06:46:02'),(57682,128,NULL,'others','SELECT `a`.*, `b`.`relations`, `c`.`level` as `level_academic`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__family_member` `a`\nJOIN `_ref__relationship` `b` ON `b`.`id` = `a`.`relation`\nLEFT JOIN `_ref__academic` `c` ON `c`.`id` = `a`.`academic_lavel`\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__family_member` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00052404403686523','192.168.1.254','2019-06-16 06:46:02'),(57683,128,NULL,'others','SELECT `a`.*, `b`.`level` as `academic_level`, `c`.`id` as `attachment_id`, `c`.`attachment_name`, `c`.`location`, `c`.`file_type`, `c`.`file_ext`, `c`.`mask_id`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__academic_qualification` `a`\nJOIN `_ref__academic` `b` ON `b`.`id` = `a`.`level_id`\nLEFT OUTER JOIN `user__academic_qualification_attachment` `c` ON `c`.`academic_qualification_id` = `a`.`id` and `c`.`is_delete` = 0\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__academic_qualification` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00056290626525879','192.168.1.254','2019-06-16 06:46:02'),(57684,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__personal_attachment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__personal_attachment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00044894218444824','192.168.1.254','2019-06-16 06:46:02'),(57685,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__employment_history` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__employment_history` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\') ','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0004570484161377','192.168.1.254','2019-06-16 06:46:02'),(57686,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__profesional_membership` `a`\nLEFT JOIN `user__profesional_membership_attachment` `b` ON `b`.`professional_membership_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__profesional_membership` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00053310394287109','192.168.1.254','2019-06-16 06:46:02'),(57687,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__license` `a`\nLEFT JOIN `user__license_attachment` `b` ON `b`.`license_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__license` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00051283836364746','192.168.1.254','2019-06-16 06:46:02'),(57688,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__recognition` `a`\nLEFT JOIN `user__recognition_attachment` `b` ON `b`.`recognition_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recognition` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00069499015808105','192.168.1.254','2019-06-16 06:46:02'),(57689,128,NULL,'others','SELECT `a`.*, `b`.`name`, `c`.`action_efective_date`, `d`.`type` as `action_type`, `e`.`id` as `attachment_id`, `e`.`attachment_name`, `e`.`location`, `e`.`file_type`, `e`.`file_ext`, `e`.`mask_id`\nFROM `user__bank_detail` `a`\nJOIN `_ref__bank` `b` ON `b`.`id` = `a`.`bank_id`\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nLEFT JOIN `user__bank_detail_attachment` `e` ON `e`.`bank_detail_id` = `a`.`id` and `e`.`is_delete` = 0\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__bank_detail` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00057601928710938','192.168.1.254','2019-06-16 06:46:02'),(57690,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__third_party_payment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__third_party_payment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00038504600524902','192.168.1.254','2019-06-16 06:46:02'),(57691,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` =0\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043988227844238','192.168.1.254','2019-06-16 06:46:02'),(57692,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` = 1\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003960132598877','192.168.1.254','2019-06-16 06:46:02'),(57693,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045084953308105','192.168.1.254','2019-06-16 06:46:02'),(57694,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00082206726074219','192.168.1.254','2019-06-16 06:46:02'),(57695,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0007169246673584','192.168.1.254','2019-06-16 06:46:02'),(57696,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00082898139953613','192.168.1.254','2019-06-16 06:46:02'),(57697,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00084400177001953','192.168.1.254','2019-06-16 06:46:03'),(57698,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 1019','StaffProfile/new_action_type','0.00040602684020996','192.168.1.254','2019-06-16 06:46:03'),(57699,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019252061843872','192.168.1.254','2019-06-16 06:46:18'),(57700,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041079521179199','192.168.1.254','2019-06-16 06:46:19'),(57701,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012390613555908','192.168.1.254','2019-06-16 06:46:19'),(57702,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018641948699951','192.168.1.254','2019-06-16 06:46:19'),(57703,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040197372436523','192.168.1.254','2019-06-16 06:46:19'),(57704,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012269020080566','192.168.1.254','2019-06-16 06:46:19'),(57705,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018857955932617','192.168.1.254','2019-06-16 06:46:19'),(57706,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0004119873046875','192.168.1.254','2019-06-16 06:46:19'),(57707,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0013260841369629','192.168.1.254','2019-06-16 06:46:19'),(57708,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0011539459228516','192.168.1.254','2019-06-16 06:46:19'),(57709,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`position_id`, `e`.`position` as `position_name`, `i`.`position` as `position_category`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`, `m`.`expired_date` as `passport_expired_date`, `m`.`working_expired_date` as `passport_working_expired_date`, `m`.`issue`, `n`.`country` as `issue_country`, `o`.`country` as `citizen`, `p`.`race` as `race`, `q`.`name` as `religion`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__passport` `m` ON `m`.`staff_id` = `a`.`id`\nLEFT JOIN `_ref__country` `n` ON `m`.`issue` = `n`.`id`\nLEFT JOIN `_ref__country` `o` ON `o`.`id` = `a`.`citizen_id`\nLEFT JOIN `_ref__race` `p` ON `p`.`id` = `a`.`race_id`\nLEFT JOIN `_ref__religion` `q` ON `q`.`id` = `a`.`religion_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'3\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019443035125732','192.168.1.254','2019-06-16 06:46:19'),(57710,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034403800964355','192.168.1.254','2019-06-16 06:46:19'),(57711,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00032806396484375','192.168.1.254','2019-06-16 06:46:19'),(57712,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033402442932129','192.168.1.254','2019-06-16 06:46:19'),(57713,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033307075500488','192.168.1.254','2019-06-16 06:46:19'),(57714,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00048708915710449','192.168.1.254','2019-06-16 06:46:19'),(57715,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041007995605469','192.168.1.254','2019-06-16 06:46:19'),(57716,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045204162597656','192.168.1.254','2019-06-16 06:46:19'),(57717,128,NULL,'others','SELECT `a`.*, `b`.`file_name`, `b`.`file_location`\nFROM `company` `a`\nLEFT JOIN `company__logo` `b` ON `b`.`id` = `a`.`main_logo_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00059294700622559','192.168.1.254','2019-06-16 06:46:19'),(57718,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043392181396484','192.168.1.254','2019-06-16 06:46:19'),(57719,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `d`.`position_id` < 13\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.026864051818848','192.168.1.254','2019-06-16 06:46:19'),(57720,128,NULL,'others','SELECT `a`.*, `b`.`name` as `company_name`\nFROM `company__branch` `a`\nJOIN `company` `b` ON `b`.`id` = `a`.`company_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0041100978851318','192.168.1.254','2019-06-16 06:46:19'),(57721,128,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`\nFROM `company__division` `a`\nLEFT JOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00045895576477051','192.168.1.254','2019-06-16 06:46:19'),(57722,128,NULL,'others','SELECT `a`.*, `b`.`name` as `branch_name`, `c`.`name` as `hod_name`\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`hod_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00060582160949707','192.168.1.254','2019-06-16 06:46:19'),(57723,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033712387084961','192.168.1.254','2019-06-16 06:46:19'),(57724,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034594535827637','192.168.1.254','2019-06-16 06:46:19'),(57725,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033712387084961','192.168.1.254','2019-06-16 06:46:19'),(57726,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003349781036377','192.168.1.254','2019-06-16 06:46:19'),(57727,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033402442932129','192.168.1.254','2019-06-16 06:46:19'),(57728,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043296813964844','192.168.1.254','2019-06-16 06:46:19'),(57729,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.005605936050415','192.168.1.254','2019-06-16 06:46:19'),(57730,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0032000541687012','192.168.1.254','2019-06-16 06:46:19'),(57731,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046086311340332','192.168.1.254','2019-06-16 06:46:19'),(57732,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033879280090332','192.168.1.254','2019-06-16 06:46:19'),(57733,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00034594535827637','192.168.1.254','2019-06-16 06:46:19'),(57734,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003659725189209','192.168.1.254','2019-06-16 06:46:19'),(57735,128,NULL,'others','SELECT `a`.*, `b`.`country` as `country_issue`\nFROM `user__profiling` `a`\nLEFT JOIN `_ref__country` `b` ON `b`.`id` = `a`.`place_issue`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nORDER BY `a`.`action_efective_date` DESC, `a`.`id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00056815147399902','192.168.1.254','2019-06-16 06:46:19'),(57736,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00042104721069336','192.168.1.254','2019-06-16 06:46:19'),(57737,128,NULL,'others','SELECT `a`.`id`\nFROM `user__profiling` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`action_efective_date` DESC, `id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040197372436523','192.168.1.254','2019-06-16 06:46:19'),(57738,128,NULL,'others','SELECT `a`.*, `b`.`relations`, `c`.`level` as `level_academic`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__family_member` `a`\nJOIN `_ref__relationship` `b` ON `b`.`id` = `a`.`relation`\nLEFT JOIN `_ref__academic` `c` ON `c`.`id` = `a`.`academic_lavel`\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__family_member` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00058579444885254','192.168.1.254','2019-06-16 06:46:19'),(57739,128,NULL,'others','SELECT `a`.*, `b`.`level` as `academic_level`, `c`.`id` as `attachment_id`, `c`.`attachment_name`, `c`.`location`, `c`.`file_type`, `c`.`file_ext`, `c`.`mask_id`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__academic_qualification` `a`\nJOIN `_ref__academic` `b` ON `b`.`id` = `a`.`level_id`\nLEFT OUTER JOIN `user__academic_qualification_attachment` `c` ON `c`.`academic_qualification_id` = `a`.`id` and `c`.`is_delete` = 0\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__academic_qualification` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00062990188598633','192.168.1.254','2019-06-16 06:46:19'),(57740,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__personal_attachment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__personal_attachment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00049996376037598','192.168.1.254','2019-06-16 06:46:19'),(57741,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__employment_history` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__employment_history` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\') ','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00051093101501465','192.168.1.254','2019-06-16 06:46:19'),(57742,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__profesional_membership` `a`\nLEFT JOIN `user__profesional_membership_attachment` `b` ON `b`.`professional_membership_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__profesional_membership` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00059700012207031','192.168.1.254','2019-06-16 06:46:19'),(57743,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__license` `a`\nLEFT JOIN `user__license_attachment` `b` ON `b`.`license_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__license` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00057291984558105','192.168.1.254','2019-06-16 06:46:19'),(57744,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__recognition` `a`\nLEFT JOIN `user__recognition_attachment` `b` ON `b`.`recognition_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recognition` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00056791305541992','192.168.1.254','2019-06-16 06:46:19'),(57745,128,NULL,'others','SELECT `a`.*, `b`.`name`, `c`.`action_efective_date`, `d`.`type` as `action_type`, `e`.`id` as `attachment_id`, `e`.`attachment_name`, `e`.`location`, `e`.`file_type`, `e`.`file_ext`, `e`.`mask_id`\nFROM `user__bank_detail` `a`\nJOIN `_ref__bank` `b` ON `b`.`id` = `a`.`bank_id`\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nLEFT JOIN `user__bank_detail_attachment` `e` ON `e`.`bank_detail_id` = `a`.`id` and `e`.`is_delete` = 0\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__bank_detail` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00061488151550293','192.168.1.254','2019-06-16 06:46:19'),(57746,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__third_party_payment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__third_party_payment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00050997734069824','192.168.1.254','2019-06-16 06:46:19'),(57747,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` =0\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00049591064453125','192.168.1.254','2019-06-16 06:46:19'),(57748,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` = 1\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00049304962158203','192.168.1.254','2019-06-16 06:46:19'),(57749,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00050592422485352','192.168.1.254','2019-06-16 06:46:19'),(57750,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00086402893066406','192.168.1.254','2019-06-16 06:46:20'),(57751,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0008089542388916','192.168.1.254','2019-06-16 06:46:20'),(57752,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00083184242248535','192.168.1.254','2019-06-16 06:46:20'),(57753,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00079917907714844','192.168.1.254','2019-06-16 06:46:20'),(57754,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 1019','StaffProfile/new_action_type','0.00037598609924316','192.168.1.254','2019-06-16 06:46:20'),(57755,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019477128982544','192.168.1.254','2019-06-16 06:47:36'),(57756,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0004122257232666','192.168.1.254','2019-06-16 06:47:36'),(57757,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012369155883789','192.168.1.254','2019-06-16 06:47:36'),(57758,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018762111663818','192.168.1.254','2019-06-16 06:47:36'),(57759,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040292739868164','192.168.1.254','2019-06-16 06:47:36'),(57760,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0012290477752686','192.168.1.254','2019-06-16 06:47:36'),(57761,128,NULL,'others','SELECT `a`.*, `b`.`position` as `position_name`, `c`.`name` as `department_name`, `d`.`name` as `branch_name`, `c`.`branch_id`\nFROM `user__employment_detail` `a`\nLEFT JOIN `company__position` `b` ON `b`.`id` = `a`.`position_id`\nLEFT JOIN `company__department` `c` ON `a`.`department_id` = `c`.`id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nWHERE `a`.`id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.018665790557861','192.168.1.254','2019-06-16 06:47:36'),(57762,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040006637573242','192.168.1.254','2019-06-16 06:47:36'),(57763,128,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'128\'','/salihin-digital/hr/StaffProfile/new_action_type/3','0.001215934753418','192.168.1.254','2019-06-16 06:47:36'),(57764,128,NULL,'others','SELECT `a`.*\nFROM `action_type_workflow` `a`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0010659694671631','192.168.1.254','2019-06-16 06:47:36'),(57765,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`position_id`, `e`.`position` as `position_name`, `i`.`position` as `position_category`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `j`.`gender`, `k`.`country`, `l`.`state`, `m`.`expired_date` as `passport_expired_date`, `m`.`working_expired_date` as `passport_working_expired_date`, `m`.`issue`, `n`.`country` as `issue_country`, `o`.`country` as `citizen`, `p`.`race` as `race`, `q`.`name` as `religion`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nLEFT JOIN `_ref__gender` `j` ON `j`.`id` = `a`.`gender_id`\nLEFT JOIN `_ref__country` `k` ON `k`.`id` = `a`.`country_id`\nLEFT JOIN `_ref__state` `l` ON `l`.`id` = `a`.`state_id`\nLEFT JOIN `user__passport` `m` ON `m`.`staff_id` = `a`.`id`\nLEFT JOIN `_ref__country` `n` ON `m`.`issue` = `n`.`id`\nLEFT JOIN `_ref__country` `o` ON `o`.`id` = `a`.`citizen_id`\nLEFT JOIN `_ref__race` `p` ON `p`.`id` = `a`.`race_id`\nLEFT JOIN `_ref__religion` `q` ON `q`.`id` = `a`.`religion_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = \'3\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.019593954086304','192.168.1.254','2019-06-16 06:47:36'),(57766,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00030088424682617','192.168.1.254','2019-06-16 06:47:36'),(57767,128,NULL,'others','SELECT *\nFROM `_ref__gender`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00027608871459961','192.168.1.254','2019-06-16 06:47:36'),(57768,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00033092498779297','192.168.1.254','2019-06-16 06:47:36'),(57769,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00027990341186523','192.168.1.254','2019-06-16 06:47:36'),(57770,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` !=0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00043010711669922','192.168.1.254','2019-06-16 06:47:36'),(57771,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035500526428223','192.168.1.254','2019-06-16 06:47:36'),(57772,128,NULL,'others','SELECT *\nFROM `company__position`\nWHERE `parent_id` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00039911270141602','192.168.1.254','2019-06-16 06:47:36'),(57773,128,NULL,'others','SELECT `a`.*, `b`.`file_name`, `b`.`file_location`\nFROM `company` `a`\nLEFT JOIN `company__logo` `b` ON `b`.`id` = `a`.`main_logo_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00054001808166504','192.168.1.254','2019-06-16 06:47:36'),(57774,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00037908554077148','192.168.1.254','2019-06-16 06:47:36'),(57775,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `d`.`position_id` < 13\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.023854970932007','192.168.1.254','2019-06-16 06:47:36'),(57776,128,NULL,'others','SELECT `a`.*, `b`.`name` as `company_name`\nFROM `company__branch` `a`\nJOIN `company` `b` ON `b`.`id` = `a`.`company_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0076558589935303','192.168.1.254','2019-06-16 06:47:36'),(57777,128,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`\nFROM `company__division` `a`\nLEFT JOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nWHERE `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00048112869262695','192.168.1.254','2019-06-16 06:47:36'),(57778,128,NULL,'others','SELECT `a`.*, `b`.`name` as `branch_name`, `c`.`name` as `hod_name`\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`hod_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00060796737670898','192.168.1.254','2019-06-16 06:47:36'),(57779,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029492378234863','192.168.1.254','2019-06-16 06:47:36'),(57780,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00027608871459961','192.168.1.254','2019-06-16 06:47:36'),(57781,128,NULL,'others','SELECT *\nFROM `_ref__contract_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00028204917907715','192.168.1.254','2019-06-16 06:47:36'),(57782,128,NULL,'others','SELECT *\nFROM `_ref__contract_confirmation`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029301643371582','192.168.1.254','2019-06-16 06:47:36'),(57783,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00027203559875488','192.168.1.254','2019-06-16 06:47:36'),(57784,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040602684020996','192.168.1.254','2019-06-16 06:47:37'),(57785,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.005605936050415','192.168.1.254','2019-06-16 06:47:37'),(57786,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0032010078430176','192.168.1.254','2019-06-16 06:47:37'),(57787,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00041699409484863','192.168.1.254','2019-06-16 06:47:37'),(57788,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029110908508301','192.168.1.254','2019-06-16 06:47:37'),(57789,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00029587745666504','192.168.1.254','2019-06-16 06:47:37'),(57790,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00031304359436035','192.168.1.254','2019-06-16 06:47:37'),(57791,128,NULL,'others','SELECT `a`.*, `b`.`country` as `country_issue`\nFROM `user__profiling` `a`\nLEFT JOIN `_ref__country` `b` ON `b`.`id` = `a`.`place_issue`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nORDER BY `a`.`action_efective_date` DESC, `a`.`id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00052309036254883','192.168.1.254','2019-06-16 06:47:37'),(57792,128,NULL,'others','SELECT *\nFROM `_ref__action_type`\nWHERE `is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00036907196044922','192.168.1.254','2019-06-16 06:47:37'),(57793,128,NULL,'others','SELECT `a`.`id`\nFROM `user__profiling` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`action_efective_date` DESC, `id` DESC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00035810470581055','192.168.1.254','2019-06-16 06:47:37'),(57794,128,NULL,'others','SELECT `a`.*, `b`.`relations`, `c`.`level` as `level_academic`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__family_member` `a`\nJOIN `_ref__relationship` `b` ON `b`.`id` = `a`.`relation`\nLEFT JOIN `_ref__academic` `c` ON `c`.`id` = `a`.`academic_lavel`\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__family_member` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00054097175598145','192.168.1.254','2019-06-16 06:47:37'),(57795,128,NULL,'others','SELECT `a`.*, `b`.`level` as `academic_level`, `c`.`id` as `attachment_id`, `c`.`attachment_name`, `c`.`location`, `c`.`file_type`, `c`.`file_ext`, `c`.`mask_id`, `d`.`action_efective_date`, `e`.`type` as `action_type`\nFROM `user__academic_qualification` `a`\nJOIN `_ref__academic` `b` ON `b`.`id` = `a`.`level_id`\nLEFT OUTER JOIN `user__academic_qualification_attachment` `c` ON `c`.`academic_qualification_id` = `a`.`id` and `c`.`is_delete` = 0\nLEFT JOIN `user__profiling` `d` ON `d`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `e` ON `e`.`id` = `d`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__academic_qualification` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00058507919311523','192.168.1.254','2019-06-16 06:47:37'),(57796,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__personal_attachment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__personal_attachment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00044584274291992','192.168.1.254','2019-06-16 06:47:37'),(57797,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__employment_history` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__employment_history` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\') ','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00046110153198242','192.168.1.254','2019-06-16 06:47:37'),(57798,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__profesional_membership` `a`\nLEFT JOIN `user__profesional_membership_attachment` `b` ON `b`.`professional_membership_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__profesional_membership` `a`\nWHERE `a`.`is_delete` =0\nAND `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00054788589477539','192.168.1.254','2019-06-16 06:47:37'),(57799,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__license` `a`\nLEFT JOIN `user__license_attachment` `b` ON `b`.`license_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__license` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00049901008605957','192.168.1.254','2019-06-16 06:47:37'),(57800,128,NULL,'others','SELECT `a`.*, `b`.`id` as `attachment_id`, `b`.`attachment_name`, `b`.`location`, `b`.`file_type`, `b`.`file_ext`, `b`.`mask_id`, `c`.`action_efective_date`, `d`.`type` as `action_type`\nFROM `user__recognition` `a`\nLEFT JOIN `user__recognition_attachment` `b` ON `b`.`recognition_id` = `a`.`id` and `b`.`is_delete` = 0\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recognition` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00040984153747559','192.168.1.254','2019-06-16 06:47:37'),(57801,128,NULL,'others','SELECT `a`.*, `b`.`name`, `c`.`action_efective_date`, `d`.`type` as `action_type`, `e`.`id` as `attachment_id`, `e`.`attachment_name`, `e`.`location`, `e`.`file_type`, `e`.`file_ext`, `e`.`mask_id`\nFROM `user__bank_detail` `a`\nJOIN `_ref__bank` `b` ON `b`.`id` = `a`.`bank_id`\nLEFT JOIN `user__profiling` `c` ON `c`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `d` ON `d`.`id` = `c`.`action_type_id`\nLEFT JOIN `user__bank_detail_attachment` `e` ON `e`.`bank_detail_id` = `a`.`id` and `e`.`is_delete` = 0\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__bank_detail` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00049090385437012','192.168.1.254','2019-06-16 06:47:37'),(57802,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__third_party_payment` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__third_party_payment` `a`\nWHERE `a`.`user_id` = \'3\'\nAND `a`.`is_delete` =0)','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00039291381835938','192.168.1.254','2019-06-16 06:47:37'),(57803,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` =0\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00038790702819824','192.168.1.254','2019-06-16 06:47:37'),(57804,128,NULL,'others','SELECT `a`.*, `b`.`action_efective_date`, `c`.`type` as `action_type`\nFROM `user__recurring` `a`\nLEFT JOIN `user__profiling` `b` ON `b`.`id` = `a`.`profiling_id`\nLEFT JOIN `_ref__action_type` `c` ON `c`.`id` = `b`.`action_type_id`\nWHERE `a`.`user_id` = \'3\'\nAND a.profiling_id IN (SELECT MAX(a.profiling_id)\nFROM `user__recurring` `a`\nWHERE `a`.`user_id` = \'3\')\nAND `a`.`recurring_type` = 1\nAND `a`.`is_delete` =0','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00038814544677734','192.168.1.254','2019-06-16 06:47:37'),(57805,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/hr/StaffProfile/new_action_type/3','0.0003960132598877','192.168.1.254','2019-06-16 06:47:37'),(57806,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'1\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00073599815368652','192.168.1.254','2019-06-16 06:47:37'),(57807,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'2\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00071406364440918','192.168.1.254','2019-06-16 06:47:37'),(57808,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'4\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00068902969360352','192.168.1.254','2019-06-16 06:47:37'),(57809,128,NULL,'others','SELECT `a`.*, `b`.`access_lvl`\nFROM `module` `a`\nJOIN `user__module_access` `b` ON `b`.`module_id` = `a`.`id`\nWHERE `module_id` = \'3\'\nAND `b`.`user_id` = \'128\'\nAND `b`.`status` =0\nORDER BY `name`','/salihin-digital/hr/StaffProfile/new_action_type/3','0.00069117546081543','192.168.1.254','2019-06-16 06:47:37'),(57810,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/new_action_type/3/\'\nWHERE id = 1019','StaffProfile/new_action_type','0.00041103363037109','192.168.1.254','2019-06-16 06:47:37'),(57811,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','0.019160032272339','192.168.1.254','2019-06-16 06:47:45'),(57812,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile','0.00040411949157715','192.168.1.254','2019-06-16 06:47:45'),(57813,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','0.001230001449585','192.168.1.254','2019-06-16 06:47:45'),(57814,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','0.018837928771973','192.168.1.254','2019-06-16 06:47:45'),(57815,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile','0.00040197372436523','192.168.1.254','2019-06-16 06:47:45'),(57816,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','0.001223087310791','192.168.1.254','2019-06-16 06:47:45'),(57817,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','0.018685102462769','192.168.1.254','2019-06-16 06:47:45'),(57818,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile','0.00040102005004883','192.168.1.254','2019-06-16 06:47:45'),(57819,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','0.0012140274047852','192.168.1.254','2019-06-16 06:47:45'),(57820,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`, `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/StaffProfile','0.03223180770874','192.168.1.254','2019-06-16 06:47:45'),(57821,128,NULL,'others','SELECT `a`.*, `b`.`file_name`, `b`.`file_location`\nFROM `company` `a`\nLEFT JOIN `company__logo` `b` ON `b`.`id` = `a`.`main_logo_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = 1\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile','0.00083398818969727','192.168.1.254','2019-06-16 06:47:45'),(57822,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','0.00054287910461426','192.168.1.254','2019-06-16 06:47:45'),(57823,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','0.00086498260498047','192.168.1.254','2019-06-16 06:47:45'),(57824,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','0.0008549690246582','192.168.1.254','2019-06-16 06:47:45'),(57825,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','0.0008540153503418','192.168.1.254','2019-06-16 06:47:45'),(57826,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','0.00084900856018066','192.168.1.254','2019-06-16 06:47:45'),(57827,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/\'\nWHERE id = 1019','StaffProfile/index','0.00038003921508789','192.168.1.254','2019-06-16 06:47:45'),(57828,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.018925189971924','192.168.1.254','2019-06-16 06:47:54'),(57829,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-16 06:47:54'),(57830,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.0011839866638184','192.168.1.254','2019-06-16 06:47:54'),(57831,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.018594980239868','192.168.1.254','2019-06-16 06:47:54'),(57832,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-16 06:47:54'),(57833,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.0012261867523193','192.168.1.254','2019-06-16 06:47:54'),(57834,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.018537998199463','192.168.1.254','2019-06-16 06:47:54'),(57835,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-16 06:47:54'),(57836,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.0012149810791016','192.168.1.254','2019-06-16 06:47:54'),(57837,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.00088310241699219','192.168.1.254','2019-06-16 06:47:54'),(57838,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.019911050796509','192.168.1.254','2019-06-16 06:47:54'),(57839,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.00064206123352051','192.168.1.254','2019-06-16 06:47:54'),(57840,128,NULL,'others','SELECT *\nFROM `_ref__country`\nORDER BY `country`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0014088153839111','192.168.1.254','2019-06-16 06:47:54'),(57841,128,NULL,'others','SELECT *\nFROM `_ref__title`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00045108795166016','192.168.1.254','2019-06-16 06:47:54'),(57842,128,NULL,'others','SELECT *\nFROM `_ref__religion`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00028300285339355','192.168.1.254','2019-06-16 06:47:54'),(57843,128,NULL,'others','SELECT *\nFROM `_ref__race`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00024795532226562','192.168.1.254','2019-06-16 06:47:54'),(57844,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.00051689147949219','192.168.1.254','2019-06-16 06:47:54'),(57845,128,NULL,'others','SELECT *\nFROM `_ref__state`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.006342887878418','192.168.1.254','2019-06-16 06:47:54'),(57846,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.0022790431976318','192.168.1.254','2019-06-16 06:47:54'),(57847,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.00052285194396973','192.168.1.254','2019-06-16 06:47:54'),(57848,128,NULL,'others','SELECT *\nFROM `_ref__relationship`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00030016899108887','192.168.1.254','2019-06-16 06:47:54'),(57849,128,NULL,'others','SELECT *\nFROM `_ref__academic`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00030708312988281','192.168.1.254','2019-06-16 06:47:54'),(57850,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.00061798095703125','192.168.1.254','2019-06-16 06:47:54'),(57851,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.00052595138549805','192.168.1.254','2019-06-16 06:47:54'),(57852,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.00042295455932617','192.168.1.254','2019-06-16 06:47:54'),(57853,128,NULL,'others','SELECT *\nFROM `_ref__bank`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00034117698669434','192.168.1.254','2019-06-16 06:47:54'),(57854,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.0004730224609375','192.168.1.254','2019-06-16 06:47:54'),(57855,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.00044894218444824','192.168.1.254','2019-06-16 06:47:54'),(57856,128,NULL,'others','SELECT *\nFROM `_ref__staff_action_type`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00033903121948242','192.168.1.254','2019-06-16 06:47:54'),(57857,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.00045919418334961','192.168.1.254','2019-06-16 06:47:54'),(57858,128,NULL,'others','SELECT `id`, `position`\nFROM `company__position`\nWHERE `is_delete` =0','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00033020973205566','192.168.1.254','2019-06-16 06:47:54'),(57859,128,NULL,'others','SELECT *\nFROM `_ref__designation`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00032305717468262','192.168.1.254','2019-06-16 06:47:54'),(57860,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.028181076049805','192.168.1.254','2019-06-16 06:47:54'),(57861,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.0074429512023926','192.168.1.254','2019-06-16 06:47:55'),(57862,128,NULL,'others','SELECT *\nFROM `_ref__salary_scale`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00047707557678223','192.168.1.254','2019-06-16 06:47:55'),(57863,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.00052118301391602','192.168.1.254','2019-06-16 06:47:55'),(57864,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.00047898292541504','192.168.1.254','2019-06-16 06:47:55'),(57865,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.00047707557678223','192.168.1.254','2019-06-16 06:47:55'),(57866,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.00047421455383301','192.168.1.254','2019-06-16 06:47:55'),(57867,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.00052094459533691','192.168.1.254','2019-06-16 06:47:55'),(57868,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.00073814392089844','192.168.1.254','2019-06-16 06:47:55'),(57869,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.00047898292541504','192.168.1.254','2019-06-16 06:47:55'),(57870,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.00056099891662598','192.168.1.254','2019-06-16 06:47:55'),(57871,128,NULL,'others','SELECT *\nFROM `_ref__hiring_reason`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00035190582275391','192.168.1.254','2019-06-16 06:47:55'),(57872,128,NULL,'others','SELECT *\nFROM `_ref__residence_type`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00034594535827637','192.168.1.254','2019-06-16 06:47:55'),(57873,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.0020101070404053','192.168.1.254','2019-06-16 06:47:55'),(57874,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.0004279613494873','192.168.1.254','2019-06-16 06:47:55'),(57875,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.00058984756469727','192.168.1.254','2019-06-16 06:47:55'),(57876,128,NULL,'others','SELECT *\nFROM `_ref__employee_group`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00030088424682617','192.168.1.254','2019-06-16 06:47:55'),(57877,128,NULL,'others','SELECT *\nFROM `_ref__employee_contract_type`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.0003049373626709','192.168.1.254','2019-06-16 06:47:55'),(57878,128,NULL,'others','SELECT *\nFROM `company__business_entity`','/salihin-digital/HR/StaffProfile/staffDetail/3','0.00040197372436523','192.168.1.254','2019-06-16 06:47:55'),(57879,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.00048208236694336','192.168.1.254','2019-06-16 06:47:55'),(57880,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.00085210800170898','192.168.1.254','2019-06-16 06:47:55'),(57881,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.00081396102905273','192.168.1.254','2019-06-16 06:47:55'),(57882,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.00081586837768555','192.168.1.254','2019-06-16 06:47:55'),(57883,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.00081110000610352','192.168.1.254','2019-06-16 06:47:55'),(57884,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'HR/StaffProfile/staffDetail/3/\'\nWHERE id = 1019','StaffProfile/staffDetail','0.0004270076751709','192.168.1.254','2019-06-16 06:47:55'),(57885,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','0.019033908843994','192.168.1.254','2019-06-16 06:48:47'),(57886,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile','0.00040483474731445','192.168.1.254','2019-06-16 06:48:47'),(57887,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','0.0012311935424805','192.168.1.254','2019-06-16 06:48:47'),(57888,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','0.018779993057251','192.168.1.254','2019-06-16 06:48:47'),(57889,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile','0.00040197372436523','192.168.1.254','2019-06-16 06:48:47'),(57890,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','0.0012218952178955','192.168.1.254','2019-06-16 06:48:47'),(57891,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','0.018768072128296','192.168.1.254','2019-06-16 06:48:47'),(57892,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/StaffProfile','0.00040102005004883','192.168.1.254','2019-06-16 06:48:47'),(57893,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','0.0012180805206299','192.168.1.254','2019-06-16 06:48:47'),(57894,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`, `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/StaffProfile','0.031589031219482','192.168.1.254','2019-06-16 06:48:47'),(57895,128,NULL,'others','SELECT `a`.*, `b`.`file_name`, `b`.`file_location`\nFROM `company` `a`\nLEFT JOIN `company__logo` `b` ON `b`.`id` = `a`.`main_logo_id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`id` = 1\nORDER BY `a`.`name` ASC','/salihin-digital/hr/StaffProfile','0.00080394744873047','192.168.1.254','2019-06-16 06:48:47'),(57896,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','0.00049710273742676','192.168.1.254','2019-06-16 06:48:47'),(57897,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','0.00081896781921387','192.168.1.254','2019-06-16 06:48:47'),(57898,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','0.00079011917114258','192.168.1.254','2019-06-16 06:48:47'),(57899,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','0.00078201293945312','192.168.1.254','2019-06-16 06:48:47'),(57900,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','0.00077295303344727','192.168.1.254','2019-06-16 06:48:47'),(57901,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/StaffProfile/\'\nWHERE id = 1019','StaffProfile/index','0.00041294097900391','192.168.1.254','2019-06-16 06:48:47'),(57902,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-16 06:48:59'),(57903,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.00038599967956543','192.168.1.254','2019-06-16 06:48:59'),(57904,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.0013120174407959','192.168.1.254','2019-06-16 06:48:59'),(57905,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.018651962280273','192.168.1.254','2019-06-16 06:48:59'),(57906,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.00040507316589355','192.168.1.254','2019-06-16 06:48:59'),(57907,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.0013477802276611','192.168.1.254','2019-06-16 06:48:59'),(57908,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.018596887588501','192.168.1.254','2019-06-16 06:48:59'),(57909,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.00040197372436523','192.168.1.254','2019-06-16 06:48:59'),(57910,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.0013411045074463','192.168.1.254','2019-06-16 06:48:59'),(57911,23,NULL,'update','UPDATE `_log__module_session` SET `logout_ts` = \'2019-06-16 14:48:56\'\nWHERE id = 320','/index','0.094704151153564','192.168.1.254','2019-06-16 06:48:59'),(57912,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r/\'\nWHERE id = 1020','/index','0.00036811828613281','192.168.1.254','2019-06-16 06:48:59'),(57913,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.0191330909729','192.168.1.254','2019-06-16 06:49:02'),(57914,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-16 06:49:02'),(57915,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.0013480186462402','192.168.1.254','2019-06-16 06:49:02'),(57916,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.018797874450684','192.168.1.254','2019-06-16 06:49:02'),(57917,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/department','0.00040197372436523','192.168.1.254','2019-06-16 06:49:02'),(57918,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.0013408660888672','192.168.1.254','2019-06-16 06:49:02'),(57919,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.018745899200439','192.168.1.254','2019-06-16 06:49:02'),(57920,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/department','0.00039982795715332','192.168.1.254','2019-06-16 06:49:02'),(57921,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.0013360977172852','192.168.1.254','2019-06-16 06:49:02'),(57922,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.00092697143554688','192.168.1.254','2019-06-16 06:49:02'),(57923,23,NULL,'insert','INSERT INTO `_log__module_session` (`module_id`, `user_session_id`) VALUES (4, 1020)','leave/department','0.060722827911377','192.168.1.254','2019-06-16 06:49:02'),(57924,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave/department','0.00058293342590332','192.168.1.254','2019-06-16 06:49:02'),(57925,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave/department','0.0003819465637207','192.168.1.254','2019-06-16 06:49:02'),(57926,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.00054597854614258','192.168.1.254','2019-06-16 06:49:02'),(57927,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.00065898895263672','192.168.1.254','2019-06-16 06:49:02'),(57928,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.00055217742919922','192.168.1.254','2019-06-16 06:49:02'),(57929,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.00088691711425781','192.168.1.254','2019-06-16 06:49:02'),(57930,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.00088620185852051','192.168.1.254','2019-06-16 06:49:02'),(57931,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.00089001655578613','192.168.1.254','2019-06-16 06:49:02'),(57932,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.000885009765625','192.168.1.254','2019-06-16 06:49:02'),(57933,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/department/\'\nWHERE id = 1020','leave/department','0.00042605400085449','192.168.1.254','2019-06-16 06:49:02'),(57934,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/leave','0.01896595954895','192.168.1.254','2019-06-16 07:00:25'),(57935,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/leave','0.00040197372436523','192.168.1.254','2019-06-16 07:00:25'),(57936,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/leave','0.0012290477752686','192.168.1.254','2019-06-16 07:00:25'),(57937,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/leave','0.019274950027466','192.168.1.254','2019-06-16 07:00:25'),(57938,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/leave','0.00038409233093262','192.168.1.254','2019-06-16 07:00:25'),(57939,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/leave','0.0012099742889404','192.168.1.254','2019-06-16 07:00:25'),(57940,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/leave','0.018848896026611','192.168.1.254','2019-06-16 07:00:25'),(57941,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/leave','0.00040197372436523','192.168.1.254','2019-06-16 07:00:25'),(57942,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/leave','0.0012221336364746','192.168.1.254','2019-06-16 07:00:25'),(57943,128,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave','0.00059795379638672','192.168.1.254','2019-06-16 07:00:25'),(57944,128,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave','0.00039100646972656','192.168.1.254','2019-06-16 07:00:25'),(57945,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/leave','0.00066804885864258','192.168.1.254','2019-06-16 07:00:25'),(57946,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`, `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.044538021087646','192.168.1.254','2019-06-16 07:00:25'),(57947,128,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.0072901248931885','192.168.1.254','2019-06-16 07:00:25'),(57948,128,NULL,'others','SELECT `a`.*, `b`.`name` as `dept_name`, `c`.`name` as `period_from`, `d`.`name` as `period_to`, `e`.`status` as `leave_status`, `f`.`name` as `leave_type`, `f`.`colour`, `f`.`code`, `g`.`name` as `user_name`, `h`.`file_name`, `h`.`file_location`, `k`.`name` as `relief_person`\nFROM `hr__leave_application` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`department_id`\nJOIN `hr__ref_leave_period` `c` ON `c`.`id` = `a`.`period_from_id`\nJOIN `hr__ref_leave_period` `d` ON `d`.`id` = `a`.`period_to_id`\nJOIN `hr__ref_leave_status` `e` ON `e`.`id` = `a`.`status`\nJOIN `hr__leave_type` `f` ON `f`.`id` = `a`.`type_id`\nJOIN `user` `g` ON `g`.`id` = `a`.`user_id`\nLEFT JOIN `hr__leave_attachment` `h` ON `h`.`application_id` = `a`.`id`\nLEFT JOIN `user__employment_detail` `i` ON `a`.`user_id` = `i`.`user_id`\nLEFT JOIN `company__position` `j` ON `i`.`position_id` = `j`.`id`\nJOIN `user` `k` ON `k`.`id` = `a`.`absent_relief_id`\nWHERE `a`.`is_delete` =0\nAND 0 = \'a.status in (1,2)\'\nAND `a`.`department_id` IS NULL\nAND   (\n(\'2019-06-16\' BETWEEN `a`.`date_from` AND a.date_to)\nOR (\'2019-06-23\' BETWEEN `a`.`date_from` and a.date_to)\nOR (`a`.`date_from` BETWEEN \'2019-06-16\' AND \'2019-06-23\')\nOR (`a`.`date_to` BETWEEN \'2019-06-16\' AND \'2019-06-23\')\n )','/salihin-digital/hr/leave','0.0019218921661377','192.168.1.254','2019-06-16 07:00:25'),(57949,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`, `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` = \'128\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.019025087356567','192.168.1.254','2019-06-16 07:00:25'),(57950,128,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave','0.00035500526428223','192.168.1.254','2019-06-16 07:00:25'),(57951,128,NULL,'others','SELECT (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 128 AND year(date_from) = 2019) as leaveTotal, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 128 AND year(date_from) = 2019 AND `status` = 1) as leavePending, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 128 AND year(date_from) = 2019 AND `status` = 2) as leaveApproved, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 128 AND year(date_from) = 2019 AND `status` = 3) as leaveRejected, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 128 AND year(date_from) = 2019 AND `status` = 4) as leaveCancelled','/salihin-digital/hr/leave','0.00059795379638672','192.168.1.254','2019-06-16 07:00:25'),(57952,128,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` = \'128\'\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.0020878314971924','192.168.1.254','2019-06-16 07:00:25'),(57953,128,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` = \'128\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`status` ASC, `a`.`created_ts` DESC\n LIMIT 5','/salihin-digital/hr/leave','0.0087981224060059','192.168.1.254','2019-06-16 07:00:25'),(57954,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`, `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` = \'128\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.019079923629761','192.168.1.254','2019-06-16 07:00:25'),(57955,128,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` = \'128\'\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.001924991607666','192.168.1.254','2019-06-16 07:00:25'),(57956,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 `e`.`parent_id` < 3\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave','0.025009870529175','192.168.1.254','2019-06-16 07:00:25'),(57957,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/leave','0.00049686431884766','192.168.1.254','2019-06-16 07:00:25'),(57958,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/leave','0.00077390670776367','192.168.1.254','2019-06-16 07:00:25'),(57959,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/leave','0.00077915191650391','192.168.1.254','2019-06-16 07:00:25'),(57960,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/leave','0.00076389312744141','192.168.1.254','2019-06-16 07:00:25'),(57961,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/leave','0.00075697898864746','192.168.1.254','2019-06-16 07:00:25'),(57962,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/\'\nWHERE id = 1019','leave/index','0.00036811828613281','192.168.1.254','2019-06-16 07:00:25'),(57963,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/leave/application','0.018793106079102','192.168.1.254','2019-06-16 07:00:42'),(57964,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/leave/application','0.00040507316589355','192.168.1.254','2019-06-16 07:00:42'),(57965,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/leave/application','0.0012359619140625','192.168.1.254','2019-06-16 07:00:42'),(57966,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/leave/application','0.018969058990479','192.168.1.254','2019-06-16 07:00:42'),(57967,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/leave/application','0.00040483474731445','192.168.1.254','2019-06-16 07:00:42'),(57968,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/leave/application','0.0012261867523193','192.168.1.254','2019-06-16 07:00:42'),(57969,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/leave/application','0.018812894821167','192.168.1.254','2019-06-16 07:00:42'),(57970,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/leave/application','0.00040102005004883','192.168.1.254','2019-06-16 07:00:42'),(57971,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/leave/application','0.0012178421020508','192.168.1.254','2019-06-16 07:00:42'),(57972,128,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.00055098533630371','192.168.1.254','2019-06-16 07:00:42'),(57973,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`, `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` = \'128\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave/application','0.019367933273315','192.168.1.254','2019-06-16 07:00:42'),(57974,128,NULL,'others','SELECT `a`.*, `b`.`username`, `c`.`file_name`, `c`.`file_location`, `d`.`id` as `employment_id`, `d`.`date_joined`, `d`.`date_commencement`, `d`.`date_termination`, `d`.`position_id`, `e`.`position` as `position_name`, `d`.`company_id`, `f`.`name` as `company_name`, `g`.`branch_id`, `h`.`name` as `branch_name`, `d`.`department_id`, `g`.`name` as `department_name`, `e`.`parent_id` as `position_category_id`, `i`.`position` as `position_category`\nFROM `user` `a`\nJOIN `user__login` `b` ON `b`.`user_id` = `a`.`id`\nLEFT JOIN `user__picture` `c` ON `a`.`profile_picture_id` = `c`.`id`\nLEFT JOIN `user__employment_detail` `d` ON `d`.`user_id` = `a`.`id`\nLEFT JOIN `company__position` `e` ON `d`.`position_id` = `e`.`id`\nLEFT JOIN `company` `f` ON `d`.`company_id` = `f`.`id`\nLEFT JOIN `company__department` `g` ON `d`.`department_id` = `g`.`id`\nLEFT JOIN `company__branch` `h` ON `g`.`branch_id` = `h`.`id`\nLEFT JOIN `company__position` `i` ON `e`.`parent_id` = `i`.`id`\nWHERE `d`.`department_id` IS NULL\nAND `a`.`id` != \'128\'\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave/application','0.028194904327393','192.168.1.254','2019-06-16 07:00:42'),(57975,128,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` = \'128\'\nAND `a`.`year` = \'2019\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`year` DESC, `a`.`type_id` ASC','/salihin-digital/hr/leave/application','0.0023491382598877','192.168.1.254','2019-06-16 07:00:42'),(57976,128,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` = \'128\'\nAND `year` = \'2019\'','/salihin-digital/hr/leave/application','0.00046014785766602','192.168.1.254','2019-06-16 07:00:42'),(57977,128,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` = \'128\'\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.0054261684417725','192.168.1.254','2019-06-16 07:00:42'),(57978,128,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave/application','0.00035595893859863','192.168.1.254','2019-06-16 07:00:42'),(57979,128,NULL,'others','SELECT (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 128 AND year(date_from) = 2019) as leaveTotal, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 128 AND year(date_from) = 2019 AND `status` = 1) as leavePending, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 128 AND year(date_from) = 2019 AND `status` = 2) as leaveApproved, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 128 AND year(date_from) = 2019 AND `status` = 3) as leaveRejected, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND user_id = 128 AND year(date_from) = 2019 AND `status` = 4) as leaveCancelled','/salihin-digital/hr/leave/application','0.00059986114501953','192.168.1.254','2019-06-16 07:00:42'),(57980,128,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave/application','0.0006411075592041','192.168.1.254','2019-06-16 07:00:42'),(57981,128,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave/application','0.00030303001403809','192.168.1.254','2019-06-16 07:00:42'),(57982,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`, `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` = \'128\'\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave/application','0.019507169723511','192.168.1.254','2019-06-16 07:00:42'),(57983,128,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` = \'128\'\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.0020010471343994','192.168.1.254','2019-06-16 07:00:42'),(57984,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/leave/application','0.00052809715270996','192.168.1.254','2019-06-16 07:00:42'),(57985,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/leave/application','0.00088596343994141','192.168.1.254','2019-06-16 07:00:42'),(57986,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/leave/application','0.0009310245513916','192.168.1.254','2019-06-16 07:00:42'),(57987,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/leave/application','0.00090694427490234','192.168.1.254','2019-06-16 07:00:42'),(57988,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/leave/application','0.0008549690246582','192.168.1.254','2019-06-16 07:00:42'),(57989,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/application/\'\nWHERE id = 1019','leave/application','0.00036382675170898','192.168.1.254','2019-06-16 07:00:42'),(57990,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/leave/department','0.019046068191528','192.168.1.254','2019-06-16 07:00:59'),(57991,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/leave/department','0.00040507316589355','192.168.1.254','2019-06-16 07:00:59'),(57992,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/leave/department','0.0012280941009521','192.168.1.254','2019-06-16 07:00:59'),(57993,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/leave/department','0.018789052963257','192.168.1.254','2019-06-16 07:00:59'),(57994,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/leave/department','0.00040197372436523','192.168.1.254','2019-06-16 07:00:59'),(57995,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/leave/department','0.0012199878692627','192.168.1.254','2019-06-16 07:00:59'),(57996,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/leave/department','0.01867413520813','192.168.1.254','2019-06-16 07:00:59'),(57997,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/leave/department','0.00040102005004883','192.168.1.254','2019-06-16 07:00:59'),(57998,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/leave/department','0.0012118816375732','192.168.1.254','2019-06-16 07:00:59'),(57999,128,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave/department','0.00059008598327637','192.168.1.254','2019-06-16 07:00:59'),(58000,128,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave/department','0.00039100646972656','192.168.1.254','2019-06-16 07:00:59'),(58001,128,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.00054097175598145','192.168.1.254','2019-06-16 07:00:59'),(58002,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/leave/department','0.0006558895111084','192.168.1.254','2019-06-16 07:00:59'),(58003,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/leave/department','0.00055313110351562','192.168.1.254','2019-06-16 07:00:59'),(58004,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/leave/department','0.00087308883666992','192.168.1.254','2019-06-16 07:00:59'),(58005,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/leave/department','0.00086688995361328','192.168.1.254','2019-06-16 07:01:00'),(58006,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/leave/department','0.00087308883666992','192.168.1.254','2019-06-16 07:01:00'),(58007,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/leave/department','0.0008690357208252','192.168.1.254','2019-06-16 07:01:00'),(58008,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/department/\'\nWHERE id = 1019','leave/department','0.00036382675170898','192.168.1.254','2019-06-16 07:01:00'),(58009,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/leave/department','0.018821001052856','192.168.1.254','2019-06-16 07:01:16'),(58010,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/leave/department','0.00040292739868164','192.168.1.254','2019-06-16 07:01:16'),(58011,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/leave/department','0.001230001449585','192.168.1.254','2019-06-16 07:01:16'),(58012,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/leave/department','0.01868200302124','192.168.1.254','2019-06-16 07:01:16'),(58013,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/leave/department','0.00040292739868164','192.168.1.254','2019-06-16 07:01:16'),(58014,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/leave/department','0.0012238025665283','192.168.1.254','2019-06-16 07:01:16'),(58015,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/leave/department','0.018559217453003','192.168.1.254','2019-06-16 07:01:16'),(58016,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/leave/department','0.00040292739868164','192.168.1.254','2019-06-16 07:01:16'),(58017,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/leave/department','0.0012168884277344','192.168.1.254','2019-06-16 07:01:16'),(58018,128,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave/department','0.00058698654174805','192.168.1.254','2019-06-16 07:01:16'),(58019,128,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave/department','0.00039196014404297','192.168.1.254','2019-06-16 07:01:16'),(58020,128,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.00053787231445312','192.168.1.254','2019-06-16 07:01:16'),(58021,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/leave/department','0.00064706802368164','192.168.1.254','2019-06-16 07:01:16'),(58022,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/leave/department','0.00054788589477539','192.168.1.254','2019-06-16 07:01:16'),(58023,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/leave/department','0.0010240077972412','192.168.1.254','2019-06-16 07:01:16'),(58024,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/leave/department','0.00088095664978027','192.168.1.254','2019-06-16 07:01:16'),(58025,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/leave/department','0.00083279609680176','192.168.1.254','2019-06-16 07:01:16'),(58026,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/leave/department','0.00082015991210938','192.168.1.254','2019-06-16 07:01:16'),(58027,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/department/\'\nWHERE id = 1019','leave/department','0.00038599967956543','192.168.1.254','2019-06-16 07:01:16'),(58028,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/leave/manager','0.020048856735229','192.168.1.254','2019-06-16 07:01:33'),(58029,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/leave/manager','0.00038909912109375','192.168.1.254','2019-06-16 07:01:33'),(58030,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/leave/manager','0.0011990070343018','192.168.1.254','2019-06-16 07:01:33'),(58031,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/leave/manager','0.018986940383911','192.168.1.254','2019-06-16 07:01:33'),(58032,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/leave/manager','0.00040483474731445','192.168.1.254','2019-06-16 07:01:33'),(58033,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/leave/manager','0.0012331008911133','192.168.1.254','2019-06-16 07:01:33'),(58034,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/leave/manager','0.01880407333374','192.168.1.254','2019-06-16 07:01:33'),(58035,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/hr/leave/manager','0.00040316581726074','192.168.1.254','2019-06-16 07:01:33'),(58036,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/leave/manager','0.0012209415435791','192.168.1.254','2019-06-16 07:01:33'),(58037,128,NULL,'others','SELECT `year`\nFROM `hr__leave_entitlement`\nWHERE `is_delete` =0\nGROUP BY `year`\nORDER BY `year` DESC','/salihin-digital/hr/leave/manager','0.00054788589477539','192.168.1.254','2019-06-16 07:01:34'),(58038,128,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave/manager','0.00034499168395996','192.168.1.254','2019-06-16 07:01:34'),(58039,128,NULL,'others','SELECT (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019) as leaveTotal, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 1) as leavePending, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 2) as leaveApproved, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 3) as leaveRejected, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 4) as leaveCancelled','/salihin-digital/hr/leave/manager','0.016494989395142','192.168.1.254','2019-06-16 07:01:34'),(58040,128,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave/manager','0.00058889389038086','192.168.1.254','2019-06-16 07:01:34'),(58041,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 `e`.`parent_id` < 3\nAND `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave/manager','0.026423931121826','192.168.1.254','2019-06-16 07:01:34'),(58042,128,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 `j`.`parent_id` < 3\nAND year(a.date_from) = \'2019\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`status` ASC, `a`.`created_ts` DESC','/salihin-digital/hr/leave/manager','0.0090517997741699','192.168.1.254','2019-06-16 07:01:34'),(58043,128,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave/manager','0.00035309791564941','192.168.1.254','2019-06-16 07:01:34'),(58044,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/leave/manager','0.00055813789367676','192.168.1.254','2019-06-16 07:01:34'),(58045,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/leave/manager','0.00088596343994141','192.168.1.254','2019-06-16 07:01:34'),(58046,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/leave/manager','0.00087189674377441','192.168.1.254','2019-06-16 07:01:34'),(58047,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/leave/manager','0.00088000297546387','192.168.1.254','2019-06-16 07:01:34'),(58048,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/leave/manager','0.00087499618530273','192.168.1.254','2019-06-16 07:01:34'),(58049,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/manager/\'\nWHERE id = 1019','leave/manager','0.00036191940307617','192.168.1.254','2019-06-16 07:01:34'),(58050,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.018873929977417','192.168.1.254','2019-06-16 07:02:37'),(58051,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/department','0.0003659725189209','192.168.1.254','2019-06-16 07:02:37'),(58052,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.0013048648834229','192.168.1.254','2019-06-16 07:02:37'),(58053,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.018688201904297','192.168.1.254','2019-06-16 07:02:37'),(58054,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/department','0.00040102005004883','192.168.1.254','2019-06-16 07:02:37'),(58055,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.0013878345489502','192.168.1.254','2019-06-16 07:02:37'),(58056,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.018685102462769','192.168.1.254','2019-06-16 07:02:37'),(58057,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/department','0.00040197372436523','192.168.1.254','2019-06-16 07:02:37'),(58058,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.0013549327850342','192.168.1.254','2019-06-16 07:02:37'),(58059,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave/department','0.00063896179199219','192.168.1.254','2019-06-16 07:02:37'),(58060,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave/department','0.0003809928894043','192.168.1.254','2019-06-16 07:02:37'),(58061,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.00053191184997559','192.168.1.254','2019-06-16 07:02:37'),(58062,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.00066208839416504','192.168.1.254','2019-06-16 07:02:37'),(58063,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.00055313110351562','192.168.1.254','2019-06-16 07:02:37'),(58064,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.00088787078857422','192.168.1.254','2019-06-16 07:02:37'),(58065,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.00088000297546387','192.168.1.254','2019-06-16 07:02:37'),(58066,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.00088691711425781','192.168.1.254','2019-06-16 07:02:37'),(58067,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.00088310241699219','192.168.1.254','2019-06-16 07:02:37'),(58068,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/department/\'\nWHERE id = 1020','leave/department','0.00036287307739258','192.168.1.254','2019-06-16 07:02:37'),(58069,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.018663167953491','192.168.1.254','2019-06-16 07:02:50'),(58070,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.00040102005004883','192.168.1.254','2019-06-16 07:02:50'),(58071,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.001349925994873','192.168.1.254','2019-06-16 07:02:50'),(58072,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.01844596862793','192.168.1.254','2019-06-16 07:02:50'),(58073,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.00040006637573242','192.168.1.254','2019-06-16 07:02:50'),(58074,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.0013501644134521','192.168.1.254','2019-06-16 07:02:50'),(58075,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.018355131149292','192.168.1.254','2019-06-16 07:02:50'),(58076,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.00039887428283691','192.168.1.254','2019-06-16 07:02:50'),(58077,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.0013420581817627','192.168.1.254','2019-06-16 07:02:50'),(58078,23,NULL,'update','UPDATE `_log__module_session` SET `logout_ts` = \'2019-06-16 15:02:47\'\nWHERE id = 321','/index','0.090800046920776','192.168.1.254','2019-06-16 07:02:50'),(58079,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r/\'\nWHERE id = 1020','/index','0.000457763671875','192.168.1.254','2019-06-16 07:02:50'),(58080,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/manager','0.018781185150146','192.168.1.254','2019-06-16 07:02:52'),(58081,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/manager','0.00040411949157715','192.168.1.254','2019-06-16 07:02:52'),(58082,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/manager','0.0013518333435059','192.168.1.254','2019-06-16 07:02:52'),(58083,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/manager','0.018930912017822','192.168.1.254','2019-06-16 07:02:52'),(58084,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/manager','0.00040197372436523','192.168.1.254','2019-06-16 07:02:52'),(58085,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/manager','0.001338005065918','192.168.1.254','2019-06-16 07:02:53'),(58086,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/manager','0.018634080886841','192.168.1.254','2019-06-16 07:02:53'),(58087,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/manager','0.00040102005004883','192.168.1.254','2019-06-16 07:02:53'),(58088,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/manager','0.0014579296112061','192.168.1.254','2019-06-16 07:02:53'),(58089,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/manager','0.00096607208251953','192.168.1.254','2019-06-16 07:02:53'),(58090,23,NULL,'insert','INSERT INTO `_log__module_session` (`module_id`, `user_session_id`) VALUES (4, 1020)','leave/manager','0.02817702293396','192.168.1.254','2019-06-16 07:02:53'),(58091,23,NULL,'others','SELECT `year`\nFROM `hr__leave_entitlement`\nWHERE `is_delete` =0\nGROUP BY `year`\nORDER BY `year` DESC','/salihin-digital/hr/leave/manager','0.00075697898864746','192.168.1.254','2019-06-16 07:02:53'),(58092,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave/manager','0.00031113624572754','192.168.1.254','2019-06-16 07:02:53'),(58093,23,NULL,'others','SELECT (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019) as leaveTotal, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 1) as leavePending, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 2) as leaveApproved, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 3) as leaveRejected, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 4) as leaveCancelled','/salihin-digital/hr/leave/manager','0.0076949596405029','192.168.1.254','2019-06-16 07:02:53'),(58094,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave/manager','0.00055289268493652','192.168.1.254','2019-06-16 07:02:53'),(58095,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/manager','0.024304866790771','192.168.1.254','2019-06-16 07:02:53'),(58096,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 `j`.`parent_id` < 3\nAND year(a.date_from) = \'2019\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`status` ASC, `a`.`created_ts` DESC','/salihin-digital/hr/leave/manager','0.0061888694763184','192.168.1.254','2019-06-16 07:02:53'),(58097,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave/manager','0.00042295455932617','192.168.1.254','2019-06-16 07:02:53'),(58098,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/manager','0.00055694580078125','192.168.1.254','2019-06-16 07:02:53'),(58099,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/manager','0.00091719627380371','192.168.1.254','2019-06-16 07:02:53'),(58100,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/manager','0.00088882446289062','192.168.1.254','2019-06-16 07:02:53'),(58101,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/manager','0.00094103813171387','192.168.1.254','2019-06-16 07:02:53'),(58102,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/manager','0.00087618827819824','192.168.1.254','2019-06-16 07:02:53'),(58103,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/manager/\'\nWHERE id = 1020','leave/manager','0.00035500526428223','192.168.1.254','2019-06-16 07:02:53'),(58104,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.019095897674561','192.168.1.254','2019-06-16 07:03:47'),(58105,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-16 07:03:47'),(58106,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.0013561248779297','192.168.1.254','2019-06-16 07:03:47'),(58107,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.018950939178467','192.168.1.254','2019-06-16 07:03:47'),(58108,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.0003821849822998','192.168.1.254','2019-06-16 07:03:47'),(58109,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.0013680458068848','192.168.1.254','2019-06-16 07:03:47'),(58110,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.018854856491089','192.168.1.254','2019-06-16 07:03:47'),(58111,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.00043106079101562','192.168.1.254','2019-06-16 07:03:47'),(58112,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.0013728141784668','192.168.1.254','2019-06-16 07:03:47'),(58113,23,NULL,'update','UPDATE `_log__module_session` SET `logout_ts` = \'2019-06-16 15:03:44\'\nWHERE id = 322','/index','0.026384115219116','192.168.1.254','2019-06-16 07:03:47'),(58114,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r/\'\nWHERE id = 1020','/index','0.0003659725189209','192.168.1.254','2019-06-16 07:03:47'),(58115,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/kbs/companies','0.022875070571899','192.168.1.254','2019-06-16 07:06:34'),(58116,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/companies','0.0004580020904541','192.168.1.254','2019-06-16 07:06:34'),(58117,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/kbs/companies','0.0013689994812012','192.168.1.254','2019-06-16 07:06:34'),(58118,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/kbs/companies','0.021732091903687','192.168.1.254','2019-06-16 07:06:34'),(58119,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/companies','0.00046014785766602','192.168.1.254','2019-06-16 07:06:34'),(58120,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/kbs/companies','0.0014200210571289','192.168.1.254','2019-06-16 07:06:34'),(58121,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/kbs/companies','0.02185320854187','192.168.1.254','2019-06-16 07:06:34'),(58122,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/companies','0.00045490264892578','192.168.1.254','2019-06-16 07:06:34'),(58123,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/kbs/companies','0.0013401508331299','192.168.1.254','2019-06-16 07:06:34'),(58124,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/kbs/companies','0.00094008445739746','192.168.1.254','2019-06-16 07:06:34'),(58125,128,NULL,'insert','INSERT INTO `_log__module_session` (`module_id`, `user_session_id`) VALUES (3, 1019)','kbs/companies','0.029132843017578','192.168.1.254','2019-06-16 07:06:34'),(58126,128,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`\nORDER BY `a`.`name` ASC','/salihin-digital/kbs/companies','0.008882999420166','192.168.1.254','2019-06-16 07:06:34'),(58127,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/kbs/companies','0.00064992904663086','192.168.1.254','2019-06-16 07:06:34'),(58128,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/kbs/companies','0.00093722343444824','192.168.1.254','2019-06-16 07:06:34'),(58129,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/kbs/companies','0.00086379051208496','192.168.1.254','2019-06-16 07:06:34'),(58130,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/kbs/companies','0.00091195106506348','192.168.1.254','2019-06-16 07:06:34'),(58131,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/kbs/companies','0.0008997917175293','192.168.1.254','2019-06-16 07:06:34'),(58132,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/companies/\'\nWHERE id = 1019','kbs/companies','0.00036191940307617','192.168.1.254','2019-06-16 07:06:34'),(58133,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/kbs/archive','0.019009113311768','192.168.1.254','2019-06-16 07:07:08'),(58134,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/archive','0.00040793418884277','192.168.1.254','2019-06-16 07:07:08'),(58135,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/kbs/archive','0.0012509822845459','192.168.1.254','2019-06-16 07:07:08'),(58136,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/kbs/archive','0.018798112869263','192.168.1.254','2019-06-16 07:07:08'),(58137,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/archive','0.00040292739868164','192.168.1.254','2019-06-16 07:07:08'),(58138,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/kbs/archive','0.0012388229370117','192.168.1.254','2019-06-16 07:07:08'),(58139,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/kbs/archive','0.018563985824585','192.168.1.254','2019-06-16 07:07:08'),(58140,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/archive','0.00039887428283691','192.168.1.254','2019-06-16 07:07:08'),(58141,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/kbs/archive','0.0012221336364746','192.168.1.254','2019-06-16 07:07:08'),(58142,128,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/archive','0.00091195106506348','192.168.1.254','2019-06-16 07:07:08'),(58143,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/kbs/archive','0.00055098533630371','192.168.1.254','2019-06-16 07:07:08'),(58144,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/kbs/archive','0.00086402893066406','192.168.1.254','2019-06-16 07:07:08'),(58145,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/kbs/archive','0.00085997581481934','192.168.1.254','2019-06-16 07:07:08'),(58146,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/kbs/archive','0.00085806846618652','192.168.1.254','2019-06-16 07:07:08'),(58147,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/kbs/archive','0.00085997581481934','192.168.1.254','2019-06-16 07:07:08'),(58148,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/archive/\'\nWHERE id = 1019','kbs/archive','0.00038409233093262','192.168.1.254','2019-06-16 07:07:09'),(58149,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/kbs/search','0.018762111663818','192.168.1.254','2019-06-16 07:07:50'),(58150,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/search','0.00040912628173828','192.168.1.254','2019-06-16 07:07:51'),(58151,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/kbs/search','0.0012528896331787','192.168.1.254','2019-06-16 07:07:51'),(58152,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/kbs/search','0.019791126251221','192.168.1.254','2019-06-16 07:07:51'),(58153,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/search','0.00040316581726074','192.168.1.254','2019-06-16 07:07:51'),(58154,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/kbs/search','0.0012390613555908','192.168.1.254','2019-06-16 07:07:51'),(58155,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/kbs/search','0.019247055053711','192.168.1.254','2019-06-16 07:07:51'),(58156,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/search','0.00040078163146973','192.168.1.254','2019-06-16 07:07:51'),(58157,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/kbs/search','0.0013048648834229','192.168.1.254','2019-06-16 07:07:51'),(58158,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/kbs/search','0.00055098533630371','192.168.1.254','2019-06-16 07:07:51'),(58159,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/kbs/search','0.0009300708770752','192.168.1.254','2019-06-16 07:07:51'),(58160,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/kbs/search','0.00093889236450195','192.168.1.254','2019-06-16 07:07:51'),(58161,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/kbs/search','0.00088906288146973','192.168.1.254','2019-06-16 07:07:51'),(58162,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/kbs/search','0.00088310241699219','192.168.1.254','2019-06-16 07:07:51'),(58163,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/search/\'\nWHERE id = 1019','kbs/search','0.00037884712219238','192.168.1.254','2019-06-16 07:07:51'),(58164,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/kbs/archive','0.019006967544556','192.168.1.254','2019-06-16 07:08:34'),(58165,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/archive','0.00043106079101562','192.168.1.254','2019-06-16 07:08:34'),(58166,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/kbs/archive','0.0012519359588623','192.168.1.254','2019-06-16 07:08:34'),(58167,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/kbs/archive','0.018550872802734','192.168.1.254','2019-06-16 07:08:34'),(58168,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/archive','0.00047612190246582','192.168.1.254','2019-06-16 07:08:34'),(58169,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/kbs/archive','0.0012187957763672','192.168.1.254','2019-06-16 07:08:34'),(58170,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/kbs/archive','0.018872022628784','192.168.1.254','2019-06-16 07:08:34'),(58171,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/archive','0.0003969669342041','192.168.1.254','2019-06-16 07:08:34'),(58172,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/kbs/archive','0.0012068748474121','192.168.1.254','2019-06-16 07:08:34'),(58173,128,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/archive','0.0009009838104248','192.168.1.254','2019-06-16 07:08:34'),(58174,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/kbs/archive','0.0005488395690918','192.168.1.254','2019-06-16 07:08:34'),(58175,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/kbs/archive','0.00097012519836426','192.168.1.254','2019-06-16 07:08:34'),(58176,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/kbs/archive','0.00096988677978516','192.168.1.254','2019-06-16 07:08:34'),(58177,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/kbs/archive','0.00083303451538086','192.168.1.254','2019-06-16 07:08:34'),(58178,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/kbs/archive','0.00082778930664062','192.168.1.254','2019-06-16 07:08:34'),(58179,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/archive/\'\nWHERE id = 1019','kbs/archive','0.00036406517028809','192.168.1.254','2019-06-16 07:08:34'),(58180,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/kbs/search','0.019007921218872','192.168.1.254','2019-06-16 07:09:25'),(58181,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/search','0.00040292739868164','192.168.1.254','2019-06-16 07:09:25'),(58182,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/kbs/search','0.0012471675872803','192.168.1.254','2019-06-16 07:09:25'),(58183,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/kbs/search','0.018841981887817','192.168.1.254','2019-06-16 07:09:25'),(58184,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/search','0.00041294097900391','192.168.1.254','2019-06-16 07:09:25'),(58185,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/kbs/search','0.0012238025665283','192.168.1.254','2019-06-16 07:09:25'),(58186,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/kbs/search','0.018685817718506','192.168.1.254','2019-06-16 07:09:25'),(58187,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/search','0.00040102005004883','192.168.1.254','2019-06-16 07:09:25'),(58188,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/kbs/search','0.0012350082397461','192.168.1.254','2019-06-16 07:09:25'),(58189,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/kbs/search','0.00055885314941406','192.168.1.254','2019-06-16 07:09:25'),(58190,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/kbs/search','0.0008690357208252','192.168.1.254','2019-06-16 07:09:25'),(58191,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/kbs/search','0.00086688995361328','192.168.1.254','2019-06-16 07:09:25'),(58192,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/kbs/search','0.00086593627929688','192.168.1.254','2019-06-16 07:09:25'),(58193,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/kbs/search','0.00087094306945801','192.168.1.254','2019-06-16 07:09:26'),(58194,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/search/\'\nWHERE id = 1019','kbs/search','0.00024700164794922','192.168.1.254','2019-06-16 07:09:26'),(58195,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/manager','0.019065856933594','192.168.1.254','2019-06-16 07:09:27'),(58196,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/manager','0.00040602684020996','192.168.1.254','2019-06-16 07:09:27'),(58197,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/manager','0.0013740062713623','192.168.1.254','2019-06-16 07:09:27'),(58198,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/manager','0.018875122070312','192.168.1.254','2019-06-16 07:09:27'),(58199,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/manager','0.00040197372436523','192.168.1.254','2019-06-16 07:09:27'),(58200,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/manager','0.0013470649719238','192.168.1.254','2019-06-16 07:09:27'),(58201,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/manager','0.018546104431152','192.168.1.254','2019-06-16 07:09:27'),(58202,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/manager','0.00040102005004883','192.168.1.254','2019-06-16 07:09:27'),(58203,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/manager','0.001338005065918','192.168.1.254','2019-06-16 07:09:27'),(58204,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/manager','0.00092792510986328','192.168.1.254','2019-06-16 07:09:27'),(58205,23,NULL,'insert','INSERT INTO `_log__module_session` (`module_id`, `user_session_id`) VALUES (4, 1020)','leave/manager','0.025245189666748','192.168.1.254','2019-06-16 07:09:27'),(58206,23,NULL,'others','SELECT `year`\nFROM `hr__leave_entitlement`\nWHERE `is_delete` =0\nGROUP BY `year`\nORDER BY `year` DESC','/salihin-digital/hr/leave/manager','0.00058794021606445','192.168.1.254','2019-06-16 07:09:27'),(58207,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave/manager','0.0003511905670166','192.168.1.254','2019-06-16 07:09:27'),(58208,23,NULL,'others','SELECT (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019) as leaveTotal, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 1) as leavePending, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 2) as leaveApproved, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 3) as leaveRejected, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 4) as leaveCancelled','/salihin-digital/hr/leave/manager','0.0069568157196045','192.168.1.254','2019-06-16 07:09:27'),(58209,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave/manager','0.00058913230895996','192.168.1.254','2019-06-16 07:09:27'),(58210,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/manager','0.02789306640625','192.168.1.254','2019-06-16 07:09:27'),(58211,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 `j`.`parent_id` < 3\nAND year(a.date_from) = \'2019\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`status` ASC, `a`.`created_ts` DESC','/salihin-digital/hr/leave/manager','0.0050480365753174','192.168.1.254','2019-06-16 07:09:27'),(58212,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave/manager','0.00037598609924316','192.168.1.254','2019-06-16 07:09:27'),(58213,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/manager','0.00055694580078125','192.168.1.254','2019-06-16 07:09:27'),(58214,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/manager','0.00094795227050781','192.168.1.254','2019-06-16 07:09:27'),(58215,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/manager','0.00089287757873535','192.168.1.254','2019-06-16 07:09:27'),(58216,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/manager','0.00090503692626953','192.168.1.254','2019-06-16 07:09:27'),(58217,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/manager','0.00091814994812012','192.168.1.254','2019-06-16 07:09:27'),(58218,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/manager/\'\nWHERE id = 1020','leave/manager','0.00041985511779785','192.168.1.254','2019-06-16 07:09:27'),(58219,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/kbs/archive','0.018795967102051','192.168.1.254','2019-06-16 07:09:53'),(58220,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/archive','0.00040888786315918','192.168.1.254','2019-06-16 07:09:53'),(58221,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/kbs/archive','0.0012741088867188','192.168.1.254','2019-06-16 07:09:53'),(58222,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/kbs/archive','0.018516063690186','192.168.1.254','2019-06-16 07:09:53'),(58223,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/archive','0.00040102005004883','192.168.1.254','2019-06-16 07:09:53'),(58224,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/kbs/archive','0.0012450218200684','192.168.1.254','2019-06-16 07:09:53'),(58225,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/kbs/archive','0.018610954284668','192.168.1.254','2019-06-16 07:09:53'),(58226,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/archive','0.00040483474731445','192.168.1.254','2019-06-16 07:09:53'),(58227,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/kbs/archive','0.0012218952178955','192.168.1.254','2019-06-16 07:09:53'),(58228,128,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/archive','0.00096702575683594','192.168.1.254','2019-06-16 07:09:53'),(58229,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/kbs/archive','0.00060105323791504','192.168.1.254','2019-06-16 07:09:53'),(58230,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/kbs/archive','0.00085687637329102','192.168.1.254','2019-06-16 07:09:53'),(58231,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/kbs/archive','0.00085115432739258','192.168.1.254','2019-06-16 07:09:53'),(58232,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/kbs/archive','0.00084686279296875','192.168.1.254','2019-06-16 07:09:53'),(58233,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/kbs/archive','0.00085282325744629','192.168.1.254','2019-06-16 07:09:53'),(58234,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/archive/\'\nWHERE id = 1019','kbs/archive','0.00038599967956543','192.168.1.254','2019-06-16 07:09:53'),(58235,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/kbs/documents','0.018934011459351','192.168.1.254','2019-06-16 07:10:06'),(58236,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/documents','0.00040793418884277','192.168.1.254','2019-06-16 07:10:07'),(58237,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/kbs/documents','0.0012412071228027','192.168.1.254','2019-06-16 07:10:07'),(58238,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/kbs/documents','0.018858194351196','192.168.1.254','2019-06-16 07:10:07'),(58239,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/documents','0.00040411949157715','192.168.1.254','2019-06-16 07:10:07'),(58240,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/kbs/documents','0.0012340545654297','192.168.1.254','2019-06-16 07:10:07'),(58241,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/kbs/documents','0.018681049346924','192.168.1.254','2019-06-16 07:10:07'),(58242,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/documents','0.00040102005004883','192.168.1.254','2019-06-16 07:10:07'),(58243,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/kbs/documents','0.0012168884277344','192.168.1.254','2019-06-16 07:10:07'),(58244,128,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.0032849311828613','192.168.1.254','2019-06-16 07:10:07'),(58245,128,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-16 07:10:07'),(58246,128,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.0005500316619873','192.168.1.254','2019-06-16 07:10:07'),(58247,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/kbs/documents','0.00086402893066406','192.168.1.254','2019-06-16 07:10:07'),(58248,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/kbs/documents','0.00086116790771484','192.168.1.254','2019-06-16 07:10:07'),(58249,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/kbs/documents','0.00086712837219238','192.168.1.254','2019-06-16 07:10:07'),(58250,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/kbs/documents','0.00086808204650879','192.168.1.254','2019-06-16 07:10:07'),(58251,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/documents/\'\nWHERE id = 1019','kbs/documents','0.00041007995605469','192.168.1.254','2019-06-16 07:10:07'),(58252,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/kbs/companies','0.01894211769104','192.168.1.254','2019-06-16 07:10:19'),(58253,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/companies','0.00038003921508789','192.168.1.254','2019-06-16 07:10:19'),(58254,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/kbs/companies','0.0011608600616455','192.168.1.254','2019-06-16 07:10:19'),(58255,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/kbs/companies','0.018684864044189','192.168.1.254','2019-06-16 07:10:19'),(58256,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/companies','0.00040411949157715','192.168.1.254','2019-06-16 07:10:19'),(58257,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/kbs/companies','0.0012328624725342','192.168.1.254','2019-06-16 07:10:19'),(58258,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/kbs/companies','0.018708944320679','192.168.1.254','2019-06-16 07:10:19'),(58259,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/companies','0.00040102005004883','192.168.1.254','2019-06-16 07:10:19'),(58260,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/kbs/companies','0.0012149810791016','192.168.1.254','2019-06-16 07:10:19'),(58261,128,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`\nORDER BY `a`.`name` ASC','/salihin-digital/kbs/companies','0.0044870376586914','192.168.1.254','2019-06-16 07:10:19'),(58262,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/kbs/companies','0.00056099891662598','192.168.1.254','2019-06-16 07:10:19'),(58263,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/kbs/companies','0.0008690357208252','192.168.1.254','2019-06-16 07:10:19'),(58264,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/kbs/companies','0.0008549690246582','192.168.1.254','2019-06-16 07:10:20'),(58265,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/kbs/companies','0.00085091590881348','192.168.1.254','2019-06-16 07:10:20'),(58266,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/kbs/companies','0.00085592269897461','192.168.1.254','2019-06-16 07:10:20'),(58267,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/companies/\'\nWHERE id = 1019','kbs/companies','0.00039410591125488','192.168.1.254','2019-06-16 07:10:20'),(58268,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/manager','0.019153833389282','192.168.1.254','2019-06-16 07:10:24'),(58269,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/manager','0.00038695335388184','192.168.1.254','2019-06-16 07:10:24'),(58270,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/manager','0.0012969970703125','192.168.1.254','2019-06-16 07:10:24'),(58271,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/manager','0.018639087677002','192.168.1.254','2019-06-16 07:10:24'),(58272,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/manager','0.00039291381835938','192.168.1.254','2019-06-16 07:10:24'),(58273,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/manager','0.0013358592987061','192.168.1.254','2019-06-16 07:10:24'),(58274,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/manager','0.018499135971069','192.168.1.254','2019-06-16 07:10:24'),(58275,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/manager','0.00040006637573242','192.168.1.254','2019-06-16 07:10:24'),(58276,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/manager','0.0013620853424072','192.168.1.254','2019-06-16 07:10:24'),(58277,23,NULL,'others','SELECT `year`\nFROM `hr__leave_entitlement`\nWHERE `is_delete` =0\nGROUP BY `year`\nORDER BY `year` DESC','/salihin-digital/hr/leave/manager','0.00054216384887695','192.168.1.254','2019-06-16 07:10:24'),(58278,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave/manager','0.00034689903259277','192.168.1.254','2019-06-16 07:10:24'),(58279,23,NULL,'others','SELECT (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019) as leaveTotal, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 1) as leavePending, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 2) as leaveApproved, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 3) as leaveRejected, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 4) as leaveCancelled','/salihin-digital/hr/leave/manager','0.0068678855895996','192.168.1.254','2019-06-16 07:10:24'),(58280,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave/manager','0.00059199333190918','192.168.1.254','2019-06-16 07:10:24'),(58281,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/manager','0.024923086166382','192.168.1.254','2019-06-16 07:10:24'),(58282,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 `j`.`parent_id` < 3\nAND year(a.date_from) = \'2019\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`status` ASC, `a`.`created_ts` DESC','/salihin-digital/hr/leave/manager','0.0048751831054688','192.168.1.254','2019-06-16 07:10:24'),(58283,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave/manager','0.00037002563476562','192.168.1.254','2019-06-16 07:10:24'),(58284,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/manager','0.00055408477783203','192.168.1.254','2019-06-16 07:10:24'),(58285,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/manager','0.00079917907714844','192.168.1.254','2019-06-16 07:10:24'),(58286,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/manager','0.00079011917114258','192.168.1.254','2019-06-16 07:10:24'),(58287,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/manager','0.00078988075256348','192.168.1.254','2019-06-16 07:10:24'),(58288,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/manager','0.00079512596130371','192.168.1.254','2019-06-16 07:10:24'),(58289,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/manager/\'\nWHERE id = 1020','leave/manager','0.00042819976806641','192.168.1.254','2019-06-16 07:10:24'),(58290,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/manager','0.015388011932373','192.168.1.254','2019-06-16 07:10:33'),(58291,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/manager','0.00036215782165527','192.168.1.254','2019-06-16 07:10:33'),(58292,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/manager','0.0010910034179688','192.168.1.254','2019-06-16 07:10:33'),(58293,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/manager','0.015461921691895','192.168.1.254','2019-06-16 07:10:33'),(58294,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/manager','0.00032496452331543','192.168.1.254','2019-06-16 07:10:33'),(58295,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/manager','0.0010480880737305','192.168.1.254','2019-06-16 07:10:33'),(58296,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/manager','0.015444993972778','192.168.1.254','2019-06-16 07:10:33'),(58297,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/manager','0.00031495094299316','192.168.1.254','2019-06-16 07:10:33'),(58298,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/manager','0.0011610984802246','192.168.1.254','2019-06-16 07:10:33'),(58299,23,NULL,'others','SELECT `year`\nFROM `hr__leave_entitlement`\nWHERE `is_delete` =0\nGROUP BY `year`\nORDER BY `year` DESC','/salihin-digital/hr/leave/manager','0.00053501129150391','192.168.1.254','2019-06-16 07:10:33'),(58300,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave/manager','0.00026607513427734','192.168.1.254','2019-06-16 07:10:33'),(58301,23,NULL,'others','SELECT (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019) as leaveTotal, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 1) as leavePending, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 2) as leaveApproved, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 3) as leaveRejected, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 4) as leaveCancelled','/salihin-digital/hr/leave/manager','0.0064599514007568','192.168.1.254','2019-06-16 07:10:33'),(58302,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave/manager','0.00051021575927734','192.168.1.254','2019-06-16 07:10:33'),(58303,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/manager','0.021996974945068','192.168.1.254','2019-06-16 07:10:33'),(58304,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 `j`.`parent_id` < 3\nAND year(a.date_from) = \'2019\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`status` ASC, `a`.`created_ts` DESC','/salihin-digital/hr/leave/manager','0.0076849460601807','192.168.1.254','2019-06-16 07:10:33'),(58305,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave/manager','0.00032997131347656','192.168.1.254','2019-06-16 07:10:33'),(58306,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/manager','0.00050806999206543','192.168.1.254','2019-06-16 07:10:33'),(58307,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/manager','0.00088310241699219','192.168.1.254','2019-06-16 07:10:33'),(58308,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/manager','0.00084495544433594','192.168.1.254','2019-06-16 07:10:33'),(58309,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/manager','0.0008399486541748','192.168.1.254','2019-06-16 07:10:33'),(58310,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/manager','0.00082898139953613','192.168.1.254','2019-06-16 07:10:33'),(58311,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/manager/\'\nWHERE id = 1020','leave/manager','0.00043177604675293','192.168.1.254','2019-06-16 07:10:33'),(58312,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/kbs/rooms','0.019868135452271','192.168.1.254','2019-06-16 07:10:41'),(58313,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/rooms','0.0004270076751709','192.168.1.254','2019-06-16 07:10:41'),(58314,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/kbs/rooms','0.0012190341949463','192.168.1.254','2019-06-16 07:10:41'),(58315,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/kbs/rooms','0.018772840499878','192.168.1.254','2019-06-16 07:10:41'),(58316,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/rooms','0.00040507316589355','192.168.1.254','2019-06-16 07:10:41'),(58317,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/kbs/rooms','0.0012350082397461','192.168.1.254','2019-06-16 07:10:41'),(58318,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/kbs/rooms','0.018481016159058','192.168.1.254','2019-06-16 07:10:41'),(58319,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/rooms','0.00040006637573242','192.168.1.254','2019-06-16 07:10:41'),(58320,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/kbs/rooms','0.0012168884277344','192.168.1.254','2019-06-16 07:10:41'),(58321,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/kbs/rooms','0.003432035446167','192.168.1.254','2019-06-16 07:10:41'),(58322,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/kbs/rooms','0.00065398216247559','192.168.1.254','2019-06-16 07:10:41'),(58323,128,NULL,'others','SELECT `a`.*, `c`.`name` as `dept_name`, `d`.`name` as `location_branch_name`, `e`.`name` as `dept_branch_name`, count(distinct f.id) as count_racks, count(distinct g.id) as count_boxes, count(distinct h.id) as count_documents\nFROM `kbs__room` `a`\nLEFT JOIN `company__department` `c` ON `c`.`id` = `a`.`dept_id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `a`.`location_branch_id`\nLEFT JOIN `company__branch` `e` ON `e`.`id` = `c`.`branch_id`\nLEFT JOIN `kbs__rack` `f` ON `f`.`room_id` = `a`.`id` AND `f`.`is_delete` = 0\nLEFT JOIN `kbs__box` `g` ON `g`.`rack_id` = `f`.`id` AND `g`.`is_delete` = 0\nLEFT JOIN `kbs__document` `h` ON `h`.`box_id` = `g`.`id` AND `h`.`is_delete` = 0\nWHERE `a`.`is_delete` =0\nGROUP BY `a`.`id`','/salihin-digital/kbs/rooms','0.0015292167663574','192.168.1.254','2019-06-16 07:10:41'),(58324,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/kbs/rooms','0.00054597854614258','192.168.1.254','2019-06-16 07:10:41'),(58325,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/kbs/rooms','0.00087594985961914','192.168.1.254','2019-06-16 07:10:41'),(58326,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/kbs/rooms','0.00087094306945801','192.168.1.254','2019-06-16 07:10:41'),(58327,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/kbs/rooms','0.0008699893951416','192.168.1.254','2019-06-16 07:10:41'),(58328,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/kbs/rooms','0.0008699893951416','192.168.1.254','2019-06-16 07:10:41'),(58329,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/rooms/\'\nWHERE id = 1019','kbs/rooms','0.00038981437683105','192.168.1.254','2019-06-16 07:10:41'),(58330,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/manager','0.019879102706909','192.168.1.254','2019-06-16 07:10:47'),(58331,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/manager','0.0004429817199707','192.168.1.254','2019-06-16 07:10:47'),(58332,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/manager','0.0013501644134521','192.168.1.254','2019-06-16 07:10:47'),(58333,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/manager','0.018604040145874','192.168.1.254','2019-06-16 07:10:47'),(58334,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/manager','0.00040698051452637','192.168.1.254','2019-06-16 07:10:47'),(58335,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/manager','0.0013630390167236','192.168.1.254','2019-06-16 07:10:47'),(58336,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/manager','0.018476963043213','192.168.1.254','2019-06-16 07:10:47'),(58337,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/manager','0.00040102005004883','192.168.1.254','2019-06-16 07:10:47'),(58338,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/manager','0.0013399124145508','192.168.1.254','2019-06-16 07:10:47'),(58339,23,NULL,'others','SELECT `year`\nFROM `hr__leave_entitlement`\nWHERE `is_delete` =0\nGROUP BY `year`\nORDER BY `year` DESC','/salihin-digital/hr/leave/manager','0.00054812431335449','192.168.1.254','2019-06-16 07:10:47'),(58340,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave/manager','0.00034594535827637','192.168.1.254','2019-06-16 07:10:47'),(58341,23,NULL,'others','SELECT (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019) as leaveTotal, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 1) as leavePending, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 2) as leaveApproved, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 3) as leaveRejected, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 4) as leaveCancelled','/salihin-digital/hr/leave/manager','0.0068731307983398','192.168.1.254','2019-06-16 07:10:47'),(58342,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave/manager','0.00058197975158691','192.168.1.254','2019-06-16 07:10:47'),(58343,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/manager','0.022454977035522','192.168.1.254','2019-06-16 07:10:47'),(58344,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 `j`.`parent_id` < 3\nAND year(a.date_from) = \'2019\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`status` ASC, `a`.`created_ts` DESC','/salihin-digital/hr/leave/manager','0.0057768821716309','192.168.1.254','2019-06-16 07:10:47'),(58345,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave/manager','0.00033402442932129','192.168.1.254','2019-06-16 07:10:48'),(58346,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/manager','0.00049781799316406','192.168.1.254','2019-06-16 07:10:48'),(58347,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/manager','0.00081086158752441','192.168.1.254','2019-06-16 07:10:48'),(58348,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/manager','0.00079798698425293','192.168.1.254','2019-06-16 07:10:48'),(58349,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/manager','0.00079703330993652','192.168.1.254','2019-06-16 07:10:48'),(58350,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/manager','0.0007939338684082','192.168.1.254','2019-06-16 07:10:48'),(58351,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/manager/\'\nWHERE id = 1020','leave/manager','0.0003960132598877','192.168.1.254','2019-06-16 07:10:48'),(58352,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/kbs/rooms/3','0.018980979919434','192.168.1.254','2019-06-16 07:10:48'),(58353,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/rooms/3','0.00043296813964844','192.168.1.254','2019-06-16 07:10:48'),(58354,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/kbs/rooms/3','0.0012569427490234','192.168.1.254','2019-06-16 07:10:48'),(58355,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/kbs/rooms/3','0.018711090087891','192.168.1.254','2019-06-16 07:10:48'),(58356,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/rooms/3','0.00041294097900391','192.168.1.254','2019-06-16 07:10:48'),(58357,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/kbs/rooms/3','0.001244068145752','192.168.1.254','2019-06-16 07:10:48'),(58358,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/kbs/rooms/3','0.018986940383911','192.168.1.254','2019-06-16 07:10:48'),(58359,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/rooms/3','0.00045180320739746','192.168.1.254','2019-06-16 07:10:48'),(58360,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/kbs/rooms/3','0.0013079643249512','192.168.1.254','2019-06-16 07:10:48'),(58361,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/kbs/rooms/3','0.0072729587554932','192.168.1.254','2019-06-16 07:10:48'),(58362,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/kbs/rooms/3','0.00071001052856445','192.168.1.254','2019-06-16 07:10:48'),(58363,128,NULL,'others','SELECT `a`.*, `c`.`name` as `dept_name`, `d`.`name` as `location_branch_name`, `e`.`name` as `dept_branch_name`, count(distinct f.id) as count_racks, count(distinct g.id) as count_boxes, count(distinct h.id) as count_documents\nFROM `kbs__room` `a`\nLEFT JOIN `company__department` `c` ON `c`.`id` = `a`.`dept_id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `a`.`location_branch_id`\nLEFT JOIN `company__branch` `e` ON `e`.`id` = `c`.`branch_id`\nLEFT JOIN `kbs__rack` `f` ON `f`.`room_id` = `a`.`id` AND `f`.`is_delete` = 0\nLEFT JOIN `kbs__box` `g` ON `g`.`rack_id` = `f`.`id` AND `g`.`is_delete` = 0\nLEFT JOIN `kbs__document` `h` ON `h`.`box_id` = `g`.`id` AND `h`.`is_delete` = 0\nWHERE `a`.`is_delete` =0\nAND `a`.`id` = \'3\'\nGROUP BY `a`.`id`','/salihin-digital/kbs/rooms/3','0.0012249946594238','192.168.1.254','2019-06-16 07:10:48'),(58364,128,NULL,'others','SELECT `a`.*, `b`.`code` as `room_code`, `c`.`name` as `dept_name`, `d`.`name` as `branch_name`, count(distinct e.id) as count_boxes, count(distinct f.id) as count_documents\nFROM `kbs__rack` `a`\nJOIN `kbs__room` `b` ON `b`.`id` = `a`.`room_id`\nLEFT JOIN `company__department` `c` ON `c`.`id` = `a`.`dept_id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nLEFT JOIN `kbs__box` `e` ON `e`.`rack_id` = `a`.`id` AND `e`.`is_delete` = 0\nLEFT JOIN `kbs__document` `f` ON `f`.`box_id` = `e`.`id` AND `f`.`is_delete` = 0\nWHERE `a`.`is_delete` =0\nAND `a`.`room_id` = \'3\'\nGROUP BY `a`.`id`','/salihin-digital/kbs/rooms/3','0.0013158321380615','192.168.1.254','2019-06-16 07:10:48'),(58365,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/kbs/rooms/3','0.00053596496582031','192.168.1.254','2019-06-16 07:10:48'),(58366,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/kbs/rooms/3','0.00091004371643066','192.168.1.254','2019-06-16 07:10:48'),(58367,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/kbs/rooms/3','0.00087594985961914','192.168.1.254','2019-06-16 07:10:49'),(58368,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/kbs/rooms/3','0.00093483924865723','192.168.1.254','2019-06-16 07:10:49'),(58369,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/kbs/rooms/3','0.00087904930114746','192.168.1.254','2019-06-16 07:10:49'),(58370,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/rooms/3/\'\nWHERE id = 1019','kbs/rooms','0.00035214424133301','192.168.1.254','2019-06-16 07:10:49'),(58371,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/manager','0.0189208984375','192.168.1.254','2019-06-16 07:11:19'),(58372,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/manager','0.00040698051452637','192.168.1.254','2019-06-16 07:11:19'),(58373,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/manager','0.0013611316680908','192.168.1.254','2019-06-16 07:11:19'),(58374,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/manager','0.01880407333374','192.168.1.254','2019-06-16 07:11:19'),(58375,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/manager','0.00040411949157715','192.168.1.254','2019-06-16 07:11:19'),(58376,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/manager','0.0013630390167236','192.168.1.254','2019-06-16 07:11:19'),(58377,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/manager','0.018736839294434','192.168.1.254','2019-06-16 07:11:19'),(58378,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/manager','0.00039911270141602','192.168.1.254','2019-06-16 07:11:19'),(58379,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/manager','0.0013818740844727','192.168.1.254','2019-06-16 07:11:19'),(58380,23,NULL,'others','SELECT `year`\nFROM `hr__leave_entitlement`\nWHERE `is_delete` =0\nGROUP BY `year`\nORDER BY `year` DESC','/salihin-digital/hr/leave/manager','0.00054311752319336','192.168.1.254','2019-06-16 07:11:19'),(58381,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave/manager','0.00034713745117188','192.168.1.254','2019-06-16 07:11:19'),(58382,23,NULL,'others','SELECT (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019) as leaveTotal, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 1) as leavePending, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 2) as leaveApproved, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 3) as leaveRejected, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 4) as leaveCancelled','/salihin-digital/hr/leave/manager','0.0069108009338379','192.168.1.254','2019-06-16 07:11:19'),(58383,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave/manager','0.00058412551879883','192.168.1.254','2019-06-16 07:11:19'),(58384,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/manager','0.024819135665894','192.168.1.254','2019-06-16 07:11:19'),(58385,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 `j`.`parent_id` < 3\nAND year(a.date_from) = \'2019\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`status` ASC, `a`.`created_ts` DESC','/salihin-digital/hr/leave/manager','0.0079991817474365','192.168.1.254','2019-06-16 07:11:19'),(58386,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave/manager','0.00037312507629395','192.168.1.254','2019-06-16 07:11:19'),(58387,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/manager','0.00055289268493652','192.168.1.254','2019-06-16 07:11:19'),(58388,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/manager','0.00091409683227539','192.168.1.254','2019-06-16 07:11:19'),(58389,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/manager','0.00089001655578613','192.168.1.254','2019-06-16 07:11:20'),(58390,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/manager','0.0011229515075684','192.168.1.254','2019-06-16 07:11:20'),(58391,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/manager','0.00092196464538574','192.168.1.254','2019-06-16 07:11:20'),(58392,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/manager/\'\nWHERE id = 1020','leave/manager','0.00043320655822754','192.168.1.254','2019-06-16 07:11:20'),(58393,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/kbs/racks/5','0.018872976303101','192.168.1.254','2019-06-16 07:11:29'),(58394,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/racks/5','0.00043106079101562','192.168.1.254','2019-06-16 07:11:29'),(58395,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/kbs/racks/5','0.0012600421905518','192.168.1.254','2019-06-16 07:11:29'),(58396,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/kbs/racks/5','0.018945932388306','192.168.1.254','2019-06-16 07:11:29'),(58397,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/racks/5','0.00040602684020996','192.168.1.254','2019-06-16 07:11:29'),(58398,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/kbs/racks/5','0.0012350082397461','192.168.1.254','2019-06-16 07:11:29'),(58399,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/kbs/racks/5','0.018418073654175','192.168.1.254','2019-06-16 07:11:29'),(58400,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/racks/5','0.00039982795715332','192.168.1.254','2019-06-16 07:11:29'),(58401,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/kbs/racks/5','0.0012130737304688','192.168.1.254','2019-06-16 07:11:29'),(58402,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/kbs/racks/5','0.0030250549316406','192.168.1.254','2019-06-16 07:11:29'),(58403,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/kbs/racks/5','0.00065398216247559','192.168.1.254','2019-06-16 07:11:29'),(58404,128,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/racks/5','0.0073010921478271','192.168.1.254','2019-06-16 07:11:29'),(58405,128,NULL,'others','SELECT `a`.*, `b`.`code` as `room_code`, `c`.`name` as `dept_name`, `d`.`name` as `branch_name`, count(distinct e.id) as count_boxes, count(distinct f.id) as count_documents\nFROM `kbs__rack` `a`\nJOIN `kbs__room` `b` ON `b`.`id` = `a`.`room_id`\nLEFT JOIN `company__department` `c` ON `c`.`id` = `a`.`dept_id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nLEFT JOIN `kbs__box` `e` ON `e`.`rack_id` = `a`.`id` AND `e`.`is_delete` = 0\nLEFT JOIN `kbs__document` `f` ON `f`.`box_id` = `e`.`id` AND `f`.`is_delete` = 0\nWHERE `a`.`is_delete` =0\nAND `a`.`id` = \'5\'\nGROUP BY `a`.`id`','/salihin-digital/kbs/racks/5','0.00095796585083008','192.168.1.254','2019-06-16 07:11:29'),(58406,128,NULL,'others','SELECT `a`.*, `b`.`code` as `rack_code`, `c`.`id` as `room_id`, `c`.`code` as `room_code`, count(distinct d.id) as count_documents\nFROM `kbs__box` `a`\nJOIN `kbs__rack` `b` ON `b`.`id` = `a`.`rack_id`\nJOIN `kbs__room` `c` ON `c`.`id` = `b`.`room_id`\nLEFT JOIN `kbs__document` `d` ON `d`.`box_id` = `a`.`id` AND `d`.`is_delete` = 0\nWHERE `a`.`is_delete` =0\nAND `a`.`rack_id` = \'5\'\nGROUP BY `a`.`id`','/salihin-digital/kbs/racks/5','0.0058920383453369','192.168.1.254','2019-06-16 07:11:29'),(58407,128,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\nAND `a`.`box_id` = \'13\'','/salihin-digital/kbs/racks/5','0.00068211555480957','192.168.1.254','2019-06-16 07:11:29'),(58408,128,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\nAND `a`.`box_id` = \'14\'','/salihin-digital/kbs/racks/5','0.00064277648925781','192.168.1.254','2019-06-16 07:11:29'),(58409,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/kbs/racks/5','0.00053596496582031','192.168.1.254','2019-06-16 07:11:29'),(58410,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/kbs/racks/5','0.00088286399841309','192.168.1.254','2019-06-16 07:11:29'),(58411,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/kbs/racks/5','0.00084304809570312','192.168.1.254','2019-06-16 07:11:29'),(58412,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/kbs/racks/5','0.00084900856018066','192.168.1.254','2019-06-16 07:11:29'),(58413,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/kbs/racks/5','0.00088095664978027','192.168.1.254','2019-06-16 07:11:29'),(58414,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/racks/5/\'\nWHERE id = 1019','kbs/racks','0.00037622451782227','192.168.1.254','2019-06-16 07:11:29'),(58415,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.018985033035278','192.168.1.254','2019-06-16 07:11:49'),(58416,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.00040912628173828','192.168.1.254','2019-06-16 07:11:49'),(58417,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.0013589859008789','192.168.1.254','2019-06-16 07:11:49'),(58418,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.02053689956665','192.168.1.254','2019-06-16 07:11:49'),(58419,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.00044417381286621','192.168.1.254','2019-06-16 07:11:49'),(58420,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.0013680458068848','192.168.1.254','2019-06-16 07:11:49'),(58421,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.018686056137085','192.168.1.254','2019-06-16 07:11:49'),(58422,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.00039386749267578','192.168.1.254','2019-06-16 07:11:49'),(58423,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.001378059387207','192.168.1.254','2019-06-16 07:11:49'),(58424,23,NULL,'update','UPDATE `_log__module_session` SET `logout_ts` = \'2019-06-16 15:11:46\'\nWHERE id = 324','/index','0.026702880859375','192.168.1.254','2019-06-16 07:11:49'),(58425,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r/\'\nWHERE id = 1020','/index','0.00042009353637695','192.168.1.254','2019-06-16 07:11:49'),(58426,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/kbs/rooms/3','0.018985033035278','192.168.1.254','2019-06-16 07:11:50'),(58427,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/rooms/3','0.00039505958557129','192.168.1.254','2019-06-16 07:11:50'),(58428,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/kbs/rooms/3','0.0012290477752686','192.168.1.254','2019-06-16 07:11:50'),(58429,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/kbs/rooms/3','0.018965005874634','192.168.1.254','2019-06-16 07:11:50'),(58430,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/rooms/3','0.00041389465332031','192.168.1.254','2019-06-16 07:11:50'),(58431,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/kbs/rooms/3','0.0012438297271729','192.168.1.254','2019-06-16 07:11:50'),(58432,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/kbs/rooms/3','0.018589019775391','192.168.1.254','2019-06-16 07:11:50'),(58433,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/rooms/3','0.00040698051452637','192.168.1.254','2019-06-16 07:11:50'),(58434,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/kbs/rooms/3','0.0012400150299072','192.168.1.254','2019-06-16 07:11:50'),(58435,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/kbs/rooms/3','0.0053219795227051','192.168.1.254','2019-06-16 07:11:50'),(58436,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/kbs/rooms/3','0.00066900253295898','192.168.1.254','2019-06-16 07:11:50'),(58437,128,NULL,'others','SELECT `a`.*, `c`.`name` as `dept_name`, `d`.`name` as `location_branch_name`, `e`.`name` as `dept_branch_name`, count(distinct f.id) as count_racks, count(distinct g.id) as count_boxes, count(distinct h.id) as count_documents\nFROM `kbs__room` `a`\nLEFT JOIN `company__department` `c` ON `c`.`id` = `a`.`dept_id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `a`.`location_branch_id`\nLEFT JOIN `company__branch` `e` ON `e`.`id` = `c`.`branch_id`\nLEFT JOIN `kbs__rack` `f` ON `f`.`room_id` = `a`.`id` AND `f`.`is_delete` = 0\nLEFT JOIN `kbs__box` `g` ON `g`.`rack_id` = `f`.`id` AND `g`.`is_delete` = 0\nLEFT JOIN `kbs__document` `h` ON `h`.`box_id` = `g`.`id` AND `h`.`is_delete` = 0\nWHERE `a`.`is_delete` =0\nAND `a`.`id` = \'3\'\nGROUP BY `a`.`id`','/salihin-digital/kbs/rooms/3','0.0011649131774902','192.168.1.254','2019-06-16 07:11:50'),(58438,128,NULL,'others','SELECT `a`.*, `b`.`code` as `room_code`, `c`.`name` as `dept_name`, `d`.`name` as `branch_name`, count(distinct e.id) as count_boxes, count(distinct f.id) as count_documents\nFROM `kbs__rack` `a`\nJOIN `kbs__room` `b` ON `b`.`id` = `a`.`room_id`\nLEFT JOIN `company__department` `c` ON `c`.`id` = `a`.`dept_id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nLEFT JOIN `kbs__box` `e` ON `e`.`rack_id` = `a`.`id` AND `e`.`is_delete` = 0\nLEFT JOIN `kbs__document` `f` ON `f`.`box_id` = `e`.`id` AND `f`.`is_delete` = 0\nWHERE `a`.`is_delete` =0\nAND `a`.`room_id` = \'3\'\nGROUP BY `a`.`id`','/salihin-digital/kbs/rooms/3','0.0013270378112793','192.168.1.254','2019-06-16 07:11:50'),(58439,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/kbs/rooms/3','0.00055503845214844','192.168.1.254','2019-06-16 07:11:50'),(58440,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/kbs/rooms/3','0.00092601776123047','192.168.1.254','2019-06-16 07:11:50'),(58441,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/kbs/rooms/3','0.00089287757873535','192.168.1.254','2019-06-16 07:11:50'),(58442,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/kbs/rooms/3','0.0009009838104248','192.168.1.254','2019-06-16 07:11:50'),(58443,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/kbs/rooms/3','0.00089216232299805','192.168.1.254','2019-06-16 07:11:50'),(58444,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/rooms/3/\'\nWHERE id = 1019','kbs/rooms','0.00037002563476562','192.168.1.254','2019-06-16 07:11:50'),(58445,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/kbs/racks/7','0.018775939941406','192.168.1.254','2019-06-16 07:12:04'),(58446,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/racks/7','0.0004420280456543','192.168.1.254','2019-06-16 07:12:04'),(58447,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/kbs/racks/7','0.0012660026550293','192.168.1.254','2019-06-16 07:12:04'),(58448,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/kbs/racks/7','0.018742084503174','192.168.1.254','2019-06-16 07:12:04'),(58449,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/racks/7','0.00041413307189941','192.168.1.254','2019-06-16 07:12:04'),(58450,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/kbs/racks/7','0.0012319087982178','192.168.1.254','2019-06-16 07:12:04'),(58451,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/kbs/racks/7','0.018377065658569','192.168.1.254','2019-06-16 07:12:04'),(58452,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/racks/7','0.00039815902709961','192.168.1.254','2019-06-16 07:12:04'),(58453,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/kbs/racks/7','0.0012171268463135','192.168.1.254','2019-06-16 07:12:04'),(58454,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/kbs/racks/7','0.0045700073242188','192.168.1.254','2019-06-16 07:12:04'),(58455,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/kbs/racks/7','0.00065517425537109','192.168.1.254','2019-06-16 07:12:04'),(58456,128,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/racks/7','0.0082249641418457','192.168.1.254','2019-06-16 07:12:04'),(58457,128,NULL,'others','SELECT `a`.*, `b`.`code` as `room_code`, `c`.`name` as `dept_name`, `d`.`name` as `branch_name`, count(distinct e.id) as count_boxes, count(distinct f.id) as count_documents\nFROM `kbs__rack` `a`\nJOIN `kbs__room` `b` ON `b`.`id` = `a`.`room_id`\nLEFT JOIN `company__department` `c` ON `c`.`id` = `a`.`dept_id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nLEFT JOIN `kbs__box` `e` ON `e`.`rack_id` = `a`.`id` AND `e`.`is_delete` = 0\nLEFT JOIN `kbs__document` `f` ON `f`.`box_id` = `e`.`id` AND `f`.`is_delete` = 0\nWHERE `a`.`is_delete` =0\nAND `a`.`id` = \'7\'\nGROUP BY `a`.`id`','/salihin-digital/kbs/racks/7','0.00087404251098633','192.168.1.254','2019-06-16 07:12:04'),(58458,128,NULL,'others','SELECT `a`.*, `b`.`code` as `rack_code`, `c`.`id` as `room_id`, `c`.`code` as `room_code`, count(distinct d.id) as count_documents\nFROM `kbs__box` `a`\nJOIN `kbs__rack` `b` ON `b`.`id` = `a`.`rack_id`\nJOIN `kbs__room` `c` ON `c`.`id` = `b`.`room_id`\nLEFT JOIN `kbs__document` `d` ON `d`.`box_id` = `a`.`id` AND `d`.`is_delete` = 0\nWHERE `a`.`is_delete` =0\nAND `a`.`rack_id` = \'7\'\nGROUP BY `a`.`id`','/salihin-digital/kbs/racks/7','0.0063929557800293','192.168.1.254','2019-06-16 07:12:04'),(58459,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/kbs/racks/7','0.00053811073303223','192.168.1.254','2019-06-16 07:12:04'),(58460,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/kbs/racks/7','0.00088191032409668','192.168.1.254','2019-06-16 07:12:04'),(58461,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/kbs/racks/7','0.00084900856018066','192.168.1.254','2019-06-16 07:12:04'),(58462,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/kbs/racks/7','0.00088906288146973','192.168.1.254','2019-06-16 07:12:04'),(58463,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/kbs/racks/7','0.00085997581481934','192.168.1.254','2019-06-16 07:12:04'),(58464,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/racks/7/\'\nWHERE id = 1019','kbs/racks','0.0004119873046875','192.168.1.254','2019-06-16 07:12:04'),(58465,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/manager','0.018750905990601','192.168.1.254','2019-06-16 07:12:24'),(58466,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/manager','0.00040793418884277','192.168.1.254','2019-06-16 07:12:24'),(58467,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/manager','0.0013511180877686','192.168.1.254','2019-06-16 07:12:24'),(58468,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/manager','0.018487930297852','192.168.1.254','2019-06-16 07:12:24'),(58469,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/manager','0.00040197372436523','192.168.1.254','2019-06-16 07:12:24'),(58470,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/manager','0.0013458728790283','192.168.1.254','2019-06-16 07:12:24'),(58471,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/manager','0.018463850021362','192.168.1.254','2019-06-16 07:12:24'),(58472,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/manager','0.00040006637573242','192.168.1.254','2019-06-16 07:12:24'),(58473,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/manager','0.0013370513916016','192.168.1.254','2019-06-16 07:12:24'),(58474,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/manager','0.00096702575683594','192.168.1.254','2019-06-16 07:12:24'),(58475,23,NULL,'insert','INSERT INTO `_log__module_session` (`module_id`, `user_session_id`) VALUES (4, 1020)','leave/manager','0.025766849517822','192.168.1.254','2019-06-16 07:12:24'),(58476,23,NULL,'others','SELECT `year`\nFROM `hr__leave_entitlement`\nWHERE `is_delete` =0\nGROUP BY `year`\nORDER BY `year` DESC','/salihin-digital/hr/leave/manager','0.00068402290344238','192.168.1.254','2019-06-16 07:12:24'),(58477,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave/manager','0.00035786628723145','192.168.1.254','2019-06-16 07:12:24'),(58478,23,NULL,'others','SELECT (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019) as leaveTotal, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 1) as leavePending, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 2) as leaveApproved, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 3) as leaveRejected, (SELECT COUNT(*) \r\n				FROM `hr__leave_application` `a` \r\n				LEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_id` \r\n				LEFT JOIN `company__position` `c` ON `c`.`id` = `b`.`position_id` \r\n				WHERE `a`.`is_delete` = 0\r\n				AND `c`.`parent_id` <  3 AND year(date_from) = 2019 AND `a`.`status` = 4) as leaveCancelled','/salihin-digital/hr/leave/manager','0.0070171356201172','192.168.1.254','2019-06-16 07:12:24'),(58479,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave/manager','0.00058603286743164','192.168.1.254','2019-06-16 07:12:24'),(58480,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/manager','0.026328086853027','192.168.1.254','2019-06-16 07:12:24'),(58481,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 `j`.`parent_id` < 3\nAND year(a.date_from) = \'2019\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`status` ASC, `a`.`created_ts` DESC','/salihin-digital/hr/leave/manager','0.0087730884552002','192.168.1.254','2019-06-16 07:12:24'),(58482,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave/manager','0.00041103363037109','192.168.1.254','2019-06-16 07:12:24'),(58483,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/manager','0.00057601928710938','192.168.1.254','2019-06-16 07:12:24'),(58484,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/manager','0.00097393989562988','192.168.1.254','2019-06-16 07:12:24'),(58485,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/manager','0.00090909004211426','192.168.1.254','2019-06-16 07:12:24'),(58486,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/manager','0.00091099739074707','192.168.1.254','2019-06-16 07:12:24'),(58487,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/manager','0.00091314315795898','192.168.1.254','2019-06-16 07:12:24'),(58488,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/manager/\'\nWHERE id = 1020','leave/manager','0.00038814544677734','192.168.1.254','2019-06-16 07:12:24'),(58489,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.019057989120483','192.168.1.254','2019-06-16 07:12:33'),(58490,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-16 07:12:33'),(58491,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.0013539791107178','192.168.1.254','2019-06-16 07:12:33'),(58492,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.018718004226685','192.168.1.254','2019-06-16 07:12:33'),(58493,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.00040507316589355','192.168.1.254','2019-06-16 07:12:33'),(58494,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.0013511180877686','192.168.1.254','2019-06-16 07:12:33'),(58495,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.018730163574219','192.168.1.254','2019-06-16 07:12:33'),(58496,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r','0.00040102005004883','192.168.1.254','2019-06-16 07:12:33'),(58497,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.0013391971588135','192.168.1.254','2019-06-16 07:12:33'),(58498,23,NULL,'update','UPDATE `_log__module_session` SET `logout_ts` = \'2019-06-16 15:12:30\'\nWHERE id = 325','/index','0.023998975753784','192.168.1.254','2019-06-16 07:12:33'),(58499,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'assets/img/profile/plain-brown-paper-package-or-parcel-blue-gift-tag-or-label-and-r/\'\nWHERE id = 1020','/index','0.00043296813964844','192.168.1.254','2019-06-16 07:12:33'),(58500,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/applications','0.018923997879028','192.168.1.254','2019-06-16 07:12:36'),(58501,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/applications','0.00041007995605469','192.168.1.254','2019-06-16 07:12:36'),(58502,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/applications','0.001356840133667','192.168.1.254','2019-06-16 07:12:36'),(58503,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/applications','0.018998146057129','192.168.1.254','2019-06-16 07:12:36'),(58504,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/applications','0.00040912628173828','192.168.1.254','2019-06-16 07:12:36'),(58505,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/applications','0.0013461112976074','192.168.1.254','2019-06-16 07:12:36'),(58506,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/applications','0.018583059310913','192.168.1.254','2019-06-16 07:12:36'),(58507,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/hr/leave/applications','0.00040221214294434','192.168.1.254','2019-06-16 07:12:36'),(58508,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/applications','0.0013358592987061','192.168.1.254','2019-06-16 07:12:36'),(58509,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/applications','0.0009300708770752','192.168.1.254','2019-06-16 07:12:36'),(58510,23,NULL,'insert','INSERT INTO `_log__module_session` (`module_id`, `user_session_id`) VALUES (4, 1020)','leave/applications','0.022589921951294','192.168.1.254','2019-06-16 07:12:36'),(58511,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 `a`.`status` =0\nAND `a`.`is_delete` =0\nORDER BY `a`.`name` ASC','/salihin-digital/hr/leave/applications','0.031051158905029','192.168.1.254','2019-06-16 07:12:36'),(58512,23,NULL,'others','SELECT `year`\nFROM `hr__leave_entitlement`\nWHERE `is_delete` =0\nGROUP BY `year`\nORDER BY `year` DESC','/salihin-digital/hr/leave/applications','0.0009300708770752','192.168.1.254','2019-06-16 07:12:36'),(58513,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 `a`.`name` ASC','/salihin-digital/hr/leave/applications','0.00067305564880371','192.168.1.254','2019-06-16 07:12:36'),(58514,23,NULL,'others','SELECT *\nFROM `hr__leave_type`\nWHERE `is_delete` =0','/salihin-digital/hr/leave/applications','0.00055098533630371','192.168.1.254','2019-06-16 07:12:36'),(58515,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_period`','/salihin-digital/hr/leave/applications','0.0003809928894043','192.168.1.254','2019-06-16 07:12:36'),(58516,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 year(a.date_from) = \'2019\'\nAND `a`.`is_delete` =0\nORDER BY `a`.`status` ASC, `a`.`created_ts` DESC','/salihin-digital/hr/leave/applications','0.009666919708252','192.168.1.254','2019-06-16 07:12:36'),(58517,23,NULL,'others','SELECT *\nFROM `hr__ref_leave_status`','/salihin-digital/hr/leave/applications','0.00035715103149414','192.168.1.254','2019-06-16 07:12:36'),(58518,23,NULL,'others','SELECT (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND year(date_from) = 2019) as leaveTotal, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND year(date_from) = 2019 AND `status` = 1) as leavePending, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND year(date_from) = 2019 AND `status` = 2) as leaveApproved, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND year(date_from) = 2019 AND `status` = 3) as leaveRejected, (SELECT COUNT(*) FROM `hr__leave_application` WHERE `is_delete` = 0 AND year(date_from) = 2019 AND `status` = 4) as leaveCancelled','/salihin-digital/hr/leave/applications','0.0005800724029541','192.168.1.254','2019-06-16 07:12:36'),(58519,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/applications','0.00053715705871582','192.168.1.254','2019-06-16 07:12:36'),(58520,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/applications','0.00087809562683105','192.168.1.254','2019-06-16 07:12:36'),(58521,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/applications','0.00087308883666992','192.168.1.254','2019-06-16 07:12:36'),(58522,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/applications','0.00086617469787598','192.168.1.254','2019-06-16 07:12:36'),(58523,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/applications','0.00086688995361328','192.168.1.254','2019-06-16 07:12:36'),(58524,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'hr/leave/applications/\'\nWHERE id = 1020','leave/applications','0.00039100646972656','192.168.1.254','2019-06-16 07:12:36'),(58525,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.018954038619995','192.168.1.254','2019-06-16 07:12:40'),(58526,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/','0.00041007995605469','192.168.1.254','2019-06-16 07:12:40'),(58527,23,NULL,'others','SELECT `a`.*, `b`.`name` as `module_name`\nFROM `user__module_access` `a`\nJOIN `module` `b` ON `a`.`module_id` = `b`.`id`\nJOIN `user` `c` ON `a`.`user_id` = `c`.`id`\nWHERE `a`.`status` =0\nAND `a`.`is_delete` =0\nAND `a`.`user_id` = \'23\'','/salihin-digital/','0.0013561248779297','192.168.1.254','2019-06-16 07:12:40'),(58528,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.01868200302124','192.168.1.254','2019-06-16 07:12:40'),(58529,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/','0.00040507316589355','192.168.1.254','2019-06-16 07:12:40'),(58530,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.0013928413391113','192.168.1.254','2019-06-16 07:12:40'),(58531,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.019126892089844','192.168.1.254','2019-06-16 07:12:40'),(58532,23,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'23\'','/salihin-digital/','0.00040197372436523','192.168.1.254','2019-06-16 07:12:40'),(58533,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-16 07:12:41'),(58534,23,NULL,'update','UPDATE `_log__module_session` SET `logout_ts` = \'2019-06-16 15:12:38\'\nWHERE id = 326','web/index','0.029881954193115','192.168.1.254','2019-06-16 07:12:41'),(58535,23,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'\'\nWHERE id = 1020','web/index','0.00038790702819824','192.168.1.254','2019-06-16 07:12:41'),(58536,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/kbs/rooms/3','0.018819808959961','192.168.1.254','2019-06-16 07:13:07'),(58537,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/rooms/3','0.00040411949157715','192.168.1.254','2019-06-16 07:13:07'),(58538,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/kbs/rooms/3','0.0012431144714355','192.168.1.254','2019-06-16 07:13:07'),(58539,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/kbs/rooms/3','0.018670082092285','192.168.1.254','2019-06-16 07:13:07'),(58540,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/rooms/3','0.00040292739868164','192.168.1.254','2019-06-16 07:13:07'),(58541,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/kbs/rooms/3','0.001230001449585','192.168.1.254','2019-06-16 07:13:07'),(58542,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/kbs/rooms/3','0.018628120422363','192.168.1.254','2019-06-16 07:13:07'),(58543,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/rooms/3','0.00040388107299805','192.168.1.254','2019-06-16 07:13:07'),(58544,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/kbs/rooms/3','0.0012378692626953','192.168.1.254','2019-06-16 07:13:07'),(58545,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/kbs/rooms/3','0.0067310333251953','192.168.1.254','2019-06-16 07:13:07'),(58546,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/kbs/rooms/3','0.00068116188049316','192.168.1.254','2019-06-16 07:13:07'),(58547,128,NULL,'others','SELECT `a`.*, `c`.`name` as `dept_name`, `d`.`name` as `location_branch_name`, `e`.`name` as `dept_branch_name`, count(distinct f.id) as count_racks, count(distinct g.id) as count_boxes, count(distinct h.id) as count_documents\nFROM `kbs__room` `a`\nLEFT JOIN `company__department` `c` ON `c`.`id` = `a`.`dept_id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `a`.`location_branch_id`\nLEFT JOIN `company__branch` `e` ON `e`.`id` = `c`.`branch_id`\nLEFT JOIN `kbs__rack` `f` ON `f`.`room_id` = `a`.`id` AND `f`.`is_delete` = 0\nLEFT JOIN `kbs__box` `g` ON `g`.`rack_id` = `f`.`id` AND `g`.`is_delete` = 0\nLEFT JOIN `kbs__document` `h` ON `h`.`box_id` = `g`.`id` AND `h`.`is_delete` = 0\nWHERE `a`.`is_delete` =0\nAND `a`.`id` = \'3\'\nGROUP BY `a`.`id`','/salihin-digital/kbs/rooms/3','0.0011360645294189','192.168.1.254','2019-06-16 07:13:07'),(58548,128,NULL,'others','SELECT `a`.*, `b`.`code` as `room_code`, `c`.`name` as `dept_name`, `d`.`name` as `branch_name`, count(distinct e.id) as count_boxes, count(distinct f.id) as count_documents\nFROM `kbs__rack` `a`\nJOIN `kbs__room` `b` ON `b`.`id` = `a`.`room_id`\nLEFT JOIN `company__department` `c` ON `c`.`id` = `a`.`dept_id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nLEFT JOIN `kbs__box` `e` ON `e`.`rack_id` = `a`.`id` AND `e`.`is_delete` = 0\nLEFT JOIN `kbs__document` `f` ON `f`.`box_id` = `e`.`id` AND `f`.`is_delete` = 0\nWHERE `a`.`is_delete` =0\nAND `a`.`room_id` = \'3\'\nGROUP BY `a`.`id`','/salihin-digital/kbs/rooms/3','0.0013570785522461','192.168.1.254','2019-06-16 07:13:07'),(58549,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/kbs/rooms/3','0.00055599212646484','192.168.1.254','2019-06-16 07:13:07'),(58550,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/kbs/rooms/3','0.00079584121704102','192.168.1.254','2019-06-16 07:13:07'),(58551,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/kbs/rooms/3','0.0007789134979248','192.168.1.254','2019-06-16 07:13:07'),(58552,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/kbs/rooms/3','0.00078606605529785','192.168.1.254','2019-06-16 07:13:07'),(58553,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/kbs/rooms/3','0.00078415870666504','192.168.1.254','2019-06-16 07:13:07'),(58554,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/rooms/3/\'\nWHERE id = 1019','kbs/rooms','0.00037288665771484','192.168.1.254','2019-06-16 07:13:08'),(58555,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/kbs/rooms','0.018715858459473','192.168.1.254','2019-06-16 07:14:53'),(58556,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/rooms','0.00040817260742188','192.168.1.254','2019-06-16 07:14:53'),(58557,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/kbs/rooms','0.001237154006958','192.168.1.254','2019-06-16 07:14:53'),(58558,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/kbs/rooms','0.018501043319702','192.168.1.254','2019-06-16 07:14:53'),(58559,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/rooms','0.00040316581726074','192.168.1.254','2019-06-16 07:14:53'),(58560,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/kbs/rooms','0.0012240409851074','192.168.1.254','2019-06-16 07:14:53'),(58561,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/kbs/rooms','0.018460035324097','192.168.1.254','2019-06-16 07:14:53'),(58562,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/rooms','0.00040197372436523','192.168.1.254','2019-06-16 07:14:53'),(58563,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/kbs/rooms','0.0012171268463135','192.168.1.254','2019-06-16 07:14:53'),(58564,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/kbs/rooms','0.0067172050476074','192.168.1.254','2019-06-16 07:14:53'),(58565,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/kbs/rooms','0.00066304206848145','192.168.1.254','2019-06-16 07:14:53'),(58566,128,NULL,'others','SELECT `a`.*, `c`.`name` as `dept_name`, `d`.`name` as `location_branch_name`, `e`.`name` as `dept_branch_name`, count(distinct f.id) as count_racks, count(distinct g.id) as count_boxes, count(distinct h.id) as count_documents\nFROM `kbs__room` `a`\nLEFT JOIN `company__department` `c` ON `c`.`id` = `a`.`dept_id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `a`.`location_branch_id`\nLEFT JOIN `company__branch` `e` ON `e`.`id` = `c`.`branch_id`\nLEFT JOIN `kbs__rack` `f` ON `f`.`room_id` = `a`.`id` AND `f`.`is_delete` = 0\nLEFT JOIN `kbs__box` `g` ON `g`.`rack_id` = `f`.`id` AND `g`.`is_delete` = 0\nLEFT JOIN `kbs__document` `h` ON `h`.`box_id` = `g`.`id` AND `h`.`is_delete` = 0\nWHERE `a`.`is_delete` =0\nGROUP BY `a`.`id`','/salihin-digital/kbs/rooms','0.0014848709106445','192.168.1.254','2019-06-16 07:14:53'),(58567,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/kbs/rooms','0.00055098533630371','192.168.1.254','2019-06-16 07:14:53'),(58568,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/kbs/rooms','0.00087499618530273','192.168.1.254','2019-06-16 07:14:53'),(58569,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/kbs/rooms','0.0008690357208252','192.168.1.254','2019-06-16 07:14:53'),(58570,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/kbs/rooms','0.00083804130554199','192.168.1.254','2019-06-16 07:14:53'),(58571,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/kbs/rooms','0.00077390670776367','192.168.1.254','2019-06-16 07:14:53'),(58572,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/rooms/\'\nWHERE id = 1019','kbs/rooms','0.00038790702819824','192.168.1.254','2019-06-16 07:14:53'),(58573,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/kbs/rooms/3','0.018821954727173','192.168.1.254','2019-06-16 07:15:10'),(58574,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/rooms/3','0.00034499168395996','192.168.1.254','2019-06-16 07:15:10'),(58575,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/kbs/rooms/3','0.0011579990386963','192.168.1.254','2019-06-16 07:15:10'),(58576,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/kbs/rooms/3','0.018584012985229','192.168.1.254','2019-06-16 07:15:10'),(58577,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/rooms/3','0.00035595893859863','192.168.1.254','2019-06-16 07:15:10'),(58578,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/kbs/rooms/3','0.0011680126190186','192.168.1.254','2019-06-16 07:15:10'),(58579,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/kbs/rooms/3','0.018587112426758','192.168.1.254','2019-06-16 07:15:10'),(58580,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/rooms/3','0.00040197372436523','192.168.1.254','2019-06-16 07:15:10'),(58581,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/kbs/rooms/3','0.0012190341949463','192.168.1.254','2019-06-16 07:15:10'),(58582,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/kbs/rooms/3','0.0074341297149658','192.168.1.254','2019-06-16 07:15:10'),(58583,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/kbs/rooms/3','0.00066804885864258','192.168.1.254','2019-06-16 07:15:10'),(58584,128,NULL,'others','SELECT `a`.*, `c`.`name` as `dept_name`, `d`.`name` as `location_branch_name`, `e`.`name` as `dept_branch_name`, count(distinct f.id) as count_racks, count(distinct g.id) as count_boxes, count(distinct h.id) as count_documents\nFROM `kbs__room` `a`\nLEFT JOIN `company__department` `c` ON `c`.`id` = `a`.`dept_id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `a`.`location_branch_id`\nLEFT JOIN `company__branch` `e` ON `e`.`id` = `c`.`branch_id`\nLEFT JOIN `kbs__rack` `f` ON `f`.`room_id` = `a`.`id` AND `f`.`is_delete` = 0\nLEFT JOIN `kbs__box` `g` ON `g`.`rack_id` = `f`.`id` AND `g`.`is_delete` = 0\nLEFT JOIN `kbs__document` `h` ON `h`.`box_id` = `g`.`id` AND `h`.`is_delete` = 0\nWHERE `a`.`is_delete` =0\nAND `a`.`id` = \'3\'\nGROUP BY `a`.`id`','/salihin-digital/kbs/rooms/3','0.0011239051818848','192.168.1.254','2019-06-16 07:15:10'),(58585,128,NULL,'others','SELECT `a`.*, `b`.`code` as `room_code`, `c`.`name` as `dept_name`, `d`.`name` as `branch_name`, count(distinct e.id) as count_boxes, count(distinct f.id) as count_documents\nFROM `kbs__rack` `a`\nJOIN `kbs__room` `b` ON `b`.`id` = `a`.`room_id`\nLEFT JOIN `company__department` `c` ON `c`.`id` = `a`.`dept_id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nLEFT JOIN `kbs__box` `e` ON `e`.`rack_id` = `a`.`id` AND `e`.`is_delete` = 0\nLEFT JOIN `kbs__document` `f` ON `f`.`box_id` = `e`.`id` AND `f`.`is_delete` = 0\nWHERE `a`.`is_delete` =0\nAND `a`.`room_id` = \'3\'\nGROUP BY `a`.`id`','/salihin-digital/kbs/rooms/3','0.0012950897216797','192.168.1.254','2019-06-16 07:15:10'),(58586,128,NULL,'others','SELECT *\nFROM `module`\nWHERE `status` =0\nAND `is_delete` =0\nAND `parent_id` IS NULL\nORDER BY `name` ASC','/salihin-digital/kbs/rooms/3','0.0005500316619873','192.168.1.254','2019-06-16 07:15:10'),(58587,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/kbs/rooms/3','0.00087904930114746','192.168.1.254','2019-06-16 07:15:10'),(58588,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/kbs/rooms/3','0.00086092948913574','192.168.1.254','2019-06-16 07:15:10'),(58589,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/kbs/rooms/3','0.0008699893951416','192.168.1.254','2019-06-16 07:15:10'),(58590,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/kbs/rooms/3','0.00086522102355957','192.168.1.254','2019-06-16 07:15:10'),(58591,128,NULL,'update','UPDATE `_log__user_session` SET `url_last` = \'kbs/rooms/3/\'\nWHERE id = 1019','kbs/rooms','0.00031018257141113','192.168.1.254','2019-06-16 07:15:10'),(58592,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/kbs/racks/5','0.018844842910767','192.168.1.254','2019-06-16 07:15:37'),(58593,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/racks/5','0.00040388107299805','192.168.1.254','2019-06-16 07:15:37'),(58594,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/kbs/racks/5','0.0012369155883789','192.168.1.254','2019-06-16 07:15:37'),(58595,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/kbs/racks/5','0.018513917922974','192.168.1.254','2019-06-16 07:15:37'),(58596,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/racks/5','0.00040292739868164','192.168.1.254','2019-06-16 07:15:37'),(58597,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/kbs/racks/5','0.0012049674987793','192.168.1.254','2019-06-16 07:15:37'),(58598,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/kbs/racks/5','0.018360137939453','192.168.1.254','2019-06-16 07:15:37'),(58599,128,NULL,'others','SELECT `id_token`\nFROM `user__login`\nWHERE `user_id` = \'128\'','/salihin-digital/kbs/racks/5','0.00040102005004883','192.168.1.254','2019-06-16 07:15:37'),(58600,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/kbs/racks/5','0.0012178421020508','192.168.1.254','2019-06-16 07:15:37'),(58601,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/kbs/racks/5','0.0036730766296387','192.168.1.254','2019-06-16 07:15:37'),(58602,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/kbs/racks/5','0.00065302848815918','192.168.1.254','2019-06-16 07:15:37'),(58603,128,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/racks/5','0.0061638355255127','192.168.1.254','2019-06-16 07:15:37'),(58604,128,NULL,'others','SELECT `a`.*, `b`.`code` as `room_code`, `c`.`name` as `dept_name`, `d`.`name` as `branch_name`, count(distinct e.id) as count_boxes, count(distinct f.id) as count_documents\nFROM `kbs__rack` `a`\nJOIN `kbs__room` `b` ON `b`.`id` = `a`.`room_id`\nLEFT JOIN `company__department` `c` ON `c`.`id` = `a`.`dept_id`\nLEFT JOIN `company__branch` `d` ON `d`.`id` = `c`.`branch_id`\nLEFT JOIN `kbs__box` `e` ON `e`.`rack_id` = `a`.`id` AND `e`.`is_delete` = 0\nLEFT JOIN `kbs__document` `f` ON `f`.`box_id` = `e`.`id` AND `f`.`is_delete` = 0\nWHERE `a`.`is_delete` =0\nAND `a`.`id` = \'5\'\nGROUP BY `a`.`id`','/salihin-digital/kbs/racks/5','0.0008549690246582','192.168.1.254','2019-06-16 07:15:37'),(58605,128,NULL,'others','SELECT `a`.*, `b`.`code` as `rack_code`, `c`.`id` as `room_id`, `c`.`code` as `room_code`, count(distinct d.id) as count_documents\nFROM `kbs__box` `a`\nJOIN `kbs__rack` `b` ON `b`.`id` = `a`.`rack_id`\nJOIN `kbs__room` `c` ON `c`.`id` = `b`.`room_id`\nLEFT JOIN `kbs__document` `d` ON `d`.`box_id` = `a`.`id` AND `d`.`is_delete` = 0\nWHERE `a`.`is_delete` =0\nAND `a`.`rack_id` = \'5\'\nGROUP BY `a`.`id`','/salihin-digital/kbs/racks/5','0.0063111782073975','192.168.1.254','2019-06-16 07:15:37'),(58606,128,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\nAND `a`.`box_id` = \'13\'','/salihin-digital/kbs/racks/5','0.00061917304992676','192.168.1.254','2019-06-16 07:15:37'),