Performance Profiling

Total processing time: 390 ms; Peak memory: 4.826 MB. Show Profiling Timeline

总计45条数据
TimeDurationCategoryInfo
  
10:25:33.330140.6 msyii\db\Command::querySELECT c.*, CASE WHEN c.sales_rep IS NULL THEN 0 ELSE c.sales_rep END AS sales_rep, CASE WHEN c.sales_rep IS NULL THEN 0 ELSE 1 END AS is_public, CASE WHEN p.id IS NULL THEN false ELSE true END AS cooperated, extract(epoch from (now() - max(sl.end_at))) / 86400 AS lost_contact_days, extract(epoch from (now() - max(arrive.end_at))) / 86400 AS last_arrive_days, max(sl.end_at) as last_contact, cc.notice_days AS notice_days FROM "a57be577deb434"."tbl_clients" "c" LEFT JOIN "a57be577deb434"."tbl_work_logs" "arrive" ON (arrive.client_id = c.id) AND ("arrive"."scenario_id"=1) AND ("arrive"."is_draft"=FALSE) AND ("arrive"."location_in_id" IS NOT NULL) AND ("arrive"."location_out_id" IS NOT NULL) AND ("arrive"."client_id" IS NOT NULL) LEFT JOIN "a57be577deb434"."tbl_projects" "p" ON p.client_id = c.id AND p.project_status = 3 LEFT JOIN "a57be577deb434"."tbl_work_logs" "sl" ON sl.client_id = c.id LEFT JOIN "a57be577deb434"."tbl_client_classes" "cc" ON cc.id = c.client_class WHERE ("c"."id"='141') AND ("deleted"=FALSE) GROUP BY "c"."id", "cooperated", "cc"."notice_days"
10:25:33.54332.0 msyii\db\Command::querySELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=10) AND (remind_user_id = 5016 AND is_read = false) AND ("object_id"=141) GROUP BY "object_id"
10:25:33.50931.9 msyii\db\Command::querySELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=10) AND ("object_id"=141) GROUP BY "object_id"
10:25:33.66811.7 msyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 5016, 2, 1141, 'v2/client/get-edit', '{"access_token":"J6r5ayQCjcEIGs4KLBJLDPH45YZsr80L","device_type":"2","id":"141","lat":"39.96043402777778","lng":"116.2889870876736","posttime":"1750818304","token":"c2d53f1be50452b6edd59cc839d659fa","version_code":"1141"}', '{"code":200,"data":{"model":{"id":141,"name":"\u5929\u6d25\u878d\u5b9d\u652f\u4ed8\u7f51\u7edc\u6709\u9650\u516c\u53f8","abbr":null,"pinyin_shortcut":"tjrbzfwlyxgs","description":"\u5317\u4eac\u5e02\u671d\u9633\u533a\u5efa\u56fd\u95e8\u5916\u5927\u88571\u53f7\u56fd\u8d38\u4e09\u671fB\u5ea758\u5c42 ","corp_rep":"\u5b8b\u5f3a","website":"http:\/\/www.reapal.com\/","capital":"30000","established_at":"2011-02-28","headcount":"100","reg_address":707,"working_address":null,"telephone":"010-88009439 ","fax":"","scale":"","branch":"\u5929\u6d25\u878d\u5b9d\u652f\u4ed8\u7f51\u7edc\u6709\u9650\u516c\u53f8\u4e0a\u6d77\u5206\u516c\u53f8\u3001\u5929\u6d25\u878d\u5b9d\u652f\u4ed8\u7f51\u7edc\u6709\u9650\u516c\u53f8\u5317\u4eac\u5206\u516c\u53f8","purchase_scale_per_yr":"500","purchase_freq":"","company_nature":4,"client_class":43,"client_industry":10,"client_type":1,"sales_rep":5300,"main_contact":null,"created_by":1007,"created_at":"2017-03-03 22:51:54","updated_at":"2025-06-12 20:22:31","main_business":"\u7b2c\u4e09\u65b9\u652f\u4ed8","deleted":false,"capital_currency":"rmb","invoice_info":"\u7edf\u4e00\u793e\u4f1a\u4fe1\u7528\u4ee3\u7801\uff1a \t911201165693192359 ","logo":null,"en_name":"Tianjin Reapal Network Co., Ltd. ","pick_at":"2024-05-29 10:35:41","it_budget":"","deployment_mode":"","it_per_num":"","public_relations_difficulty":"","it_status":"","decision_process":"","coach":"","competitor":"","peers":"","supplier":"","main_product":"","client_base_info_count":8,"client_key_info_count":2,"contact_count":6,"visit_count":4,"cooperate_count":3,"case_pre_sales_count":1,"case_implement_count":0,"is_overdue_remind":false,"from_contact":1031,"is_public":1,"cooperated":true,"lost_contact_days":"39.7461613116204","last_arrive_days":"39.7461613116204","last_contact":"2025-05-16 16:31:05","notice_days":60,"workingAddress":null,"clientType":{"id":1,"key":1,"name":"\u653f\u5e9c"},"clientClass":{"id":43,"key":43,"name":"\u6f5c\u529b\u5ba2\u6237","notice_days":60,"color":"#1EE6DC","visit_base":15},"companyNature":{"id":4,"key":4,"name":"\u6c11\u8425\u4f01\u4e1a"},"clientIndustry":{"id":10,"key":10,"name":"\u91d1\u878d"},"salesRep":{"id":5300,"key":5300,"name":"\u82cf\u6e05\u4e91","sex":"F","client_lock":true,"avatar":{"id":141,"user_id":5300,"name":"\/files\/cdn\/a57be577deb434\/avatar\/14dfd1a0-6df5-354a-8afd-f0a76fa8e852.png"}},"clientFrom":null,"unCloseCases":[],"createdBy":{"id":1007,"key":1007,"name":"\u5b59\u6167","sex":"F","department_id":9,"avatar":{"id":7,"user_id":1007,"name":"\/files\/cdn\/a57be577deb434\/avatar\/1007.jpg"},"department":{"id":9,"key":9,"name":"\u9879\u76ee\u90e8"}},"workLogCount":{"client_id":141,"count":173},"caseCount":{"client_id":141,"count":27},"salesTimeCount":{"client_id":141,"hours":"52.5022222222222","times":32},"implementTimeCount":{"client_id":141,"sum":"57.4166666666667","times":"17"},"presalesTimeCount":{"client_id":141,"sum":"60.6844444444444","times":"10"},"engineerTimeCount":null,"reimbursementAmountSum":{"client_id":141,"sum":"4633.86"},"addresses":[{"id":400,"key":400,"name":"\u5929\u6d25\u5f00\u53d1\u533a\u76db\u8fbe\u88579\u53f7701\u5ba4","client_id":141},{"id":399,"key":399,"name":"\u56fd\u8d38\u5927\u53a6\u4e09\u671fB\u5ea7","client_id":141}],"contacts":[{"id":728,"name":"\u6768\u536b\u56ed","email":"","pinyin_shortcut":"ywy","sex":"M","birth_date":null,"department":"","job_position":"\u8fd0\u7ef4\u5de5\u7a0b\u5e08","mobile":"","telephone":"","client_id":141,"supplier_id":null,"created_by":1016,"created_at":"2017-05-27 11:52:52","updated_at":"2018-07-30 10:45:48","user_status":2,"description":"","contact_type":"1","contact_attitude":null,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"yang","pinyin2":"wei","pinyin3":"yuan","pinyin4":null,"namecut1":"\u6768","namecut2":"\u536b","namecut3":"\u56ed","namecut4":null,"is_mp_bind":null,"contactStatus":{"id":2,"key":2,"name":"\u5728\u804c"},"createdBy":{"id":1016,"key":1016,"name":"\u8346\u626c","sex":"M","user_status":"-1"},"mobiles":[{"id":2056,"contact_id":728,"mobile":"15210747282","mp_open_id":null}],"contactKeyRoles":[{"id":160,"key":160,"name":"\u666e\u901a\u4eba"}],"contactAttitude":{"id":140,"key":140,"name":"\u4e2d\u7acb"}},{"id":846,"name":"\u674e\u4e1c","email":"","pinyin_shortcut":"ld","sex":"M","birth_date":null,"department":"","job_position":"","mobile":"","telephone":"65008084","client_id":141,"supplier_id":null,"created_by":1023,"created_at":"2017-06-16 08:53:13","updated_at":"2024-10-10 15:15:51","user_status":2,"description":"","contact_type":"1","contact_attitude":null,"telephone_area_code":"010","telephone_extension_number":"","mp_open_id":null,"pinyin1":"li","pinyin2":"dong","pinyin3":null,"pinyin4":null,"namecut1":"\u674e","namecut2":"\u4e1c","namecut3":null,"namecut4":null,"is_mp_bind":null,"contactStatus":{"id":2,"key":2,"name":"\u5728\u804c"},"createdBy":{"id":1023,"key":1023,"name":"\u5468\u5b50\u5065","sex":"M","user_status":"1"},"mobiles":[{"id":2057,"contact_id":846,"mobile":"18610293071","mp_open_id":null}],"contactKeyRoles":[{"id":160,"key":160,"name":"\u666e\u901a\u4eba"}],"contactAttitude":{"id":140,"key":140,"name":"\u4e2d\u7acb"}},{"id":310,"name":"\u9ad8\u632f\u9f99","email":"","pinyin_shortcut":"gzl","sex":"M","birth_date":null,"department":"\u6280\u672f\u90e8","job_position":"\u7cfb\u7edf\u8fd0\u7ef4","mobile":"","telephone":"","client_id":141,"supplier_id":null,"created_by":1016,"created_at":"2017-03-09 17:44:49","updated_at":"2017-04-28 19:16:47","user_status":2,"description":"","contact_type":"1","contact_attitude":1,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"gao","pinyin2":"zhen","pinyin3":"long","pinyin4":null,"namecut1":"\u9ad8","namecut2":"\u632f","namecut3":"\u9f99","namecut4":null,"is_mp_bind":null,"contactStatus":{"id":2,"key":2,"name":"\u5728\u804c"},"createdBy":{"id":1016,"key":1016,"name":"\u8346\u626c","sex":"M","user_status":"-1"},"mobiles":[{"id":324,"contact_id":310,"mobile":"18612755285","mp_open_id":null}],"contactKeyRoles":[{"id":136,"key":136,"name":"\u6280\u672f\u51b3\u7b56\u4eba"}],"contactAttitude":{"id":140,"key":140,"name":"\u4e2d\u7acb"}},{"id":540,"name":"\u817e\u98de","email":"","pinyin_shortcut":"tf","sex":"M","birth_date":null,"department":"\u4ea7\u54c1\u7814\u53d1\u90e8","job_position":"\u603b\u7ecf\u7406","mobile":"","telephone":"","client_id":141,"supplier_id":null,"created_by":1007,"created_at":"2017-04-28 19:17:57","updated_at":"2017-04-28 19:17:57","user_status":2,"description":"","contact_type":"1","contact_attitude":1,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"teng","pinyin2":"fei","pinyin3":null,"pinyin4":null,"namecut1":"\u817e","namecut2":"\u98de","namecut3":null,"namecut4":null,"is_mp_bind":null,"contactStatus":{"id":2,"key":2,"name":"\u5728\u804c"},"createdBy":{"id":1007,"key":1007,"name":"\u5b59\u6167","sex":"F","user_status":"-1"},"mobiles":[{"id":522,"contact_id":540,"mobile":"13681466208","mp_open_id":null}],"contactKeyRoles":[{"id":137,"key":137,"name":"\u4f7f\u7528\u51b3\u7b56\u4eba"}],"contactAttitude":{"id":140,"key":140,"name":"\u4e2d\u7acb"}},{"id":542,"name":"\u8584\u6d0b","email":"","pinyin_shortcut":"by","sex":"M","birth_date":null,"department":"\u6280\u672f\u90e8","job_position":"\u7f51\u7edc\u8fd0\u7ef4","mobile":"","telephone":"","client_id":141,"supplier_id":null,"created_by":1007,"created_at":"2017-04-28 19:19:21","updated_at":"2025-01-15 16:32:49","user_status":2,"description":"","contact_type":"1","contact_attitude":1,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"bao","pinyin2":"yang","pinyin3":null,"pinyin4":null,"namecut1":"\u8584","namecut2":"\u6d0b","namecut3":null,"namecut4":null,"is_mp_bind":null,"contactStatus":{"id":2,"key":2,"name":"\u5728\u804c"},"createdBy":{"id":1007,"key":1007,"name":"\u5b59\u6167","sex":"F","user_status":"-1"},"mobiles":[{"id":523,"contact_id":542,"mobile":"18612528123","mp_open_id":null}],"contactKeyRoles":[{"id":136,"key":136,"name":"\u6280\u672f\u51b3\u7b56\u4eba"}],"contactAttitude":{"id":140,"key":140,"name":"\u4e2d\u7acb"}},{"id":516,"name":"\u590f\u957f\u9f99(\u5173\u952e\u4eba)","email":"","pinyin_shortcut":"xclgjr","sex":"M","birth_date":null,"department":"\u6280\u672f\u90e8","job_position":"\u67b6\u6784\u5e08","mobile":"","telephone":"","client_id":141,"supplier_id":null,"created_by":1015,"created_at":"2017-04-25 17:40:33","updated_at":"2018-07-25 18:18:57","user_status":1,"description":"","contact_type":"1","contact_attitude":1,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"xia","pinyin2":"chang","pinyin3":"long","pinyin4":"guan","namecut1":"\u590f","namecut2":"\u957f","namecut3":"\u9f99","namecut4":"(","is_mp_bind":null,"contactStatus":{"id":1,"key":1,"name":"\u79bb\u804c"},"createdBy":{"id":1015,"key":1015,"name":"\u5434\u660a","sex":"M","user_status":"1"},"mobiles":[{"id":2008,"contact_id":516,"mobile":"15011151345","mp_open_id":null}],"contactKeyRoles":[{"id":135,"key":135,"name":"\u91c7\u8d2d\u51b3\u7b56\u4eba"},{"id":136,"key":136,"name":"\u6280\u672f\u51b3\u7b56\u4eba"}],"contactAttitude":{"id":140,"key":140,"name":"\u4e2d\u7acb"}},{"id":543,"name":"\u5b8b\u5f3a","email":"","pinyin_shortcut":"sq","sex":"M","birth_date":null,"department":"\u603b\u88c1","job_position":"\u603b\u7ecf\u7406","mobile":"","telephone":"","client_id":141,"supplier_id":null,"created_by":1007,"created_at":"2017-04-28 19:20:24","updated_at":"2017-04-28 19:20:24","user_status":2,"description":"","contact_type":"1","contact_attitude":1,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"song","pinyin2":"qiang","pinyin3":null,"pinyin4":null,"namecut1":"\u5b8b","namecut2":"\u5f3a","namecut3":null,"namecut4":null,"is_mp_bind":null,"contactStatus":{"id":2,"key":2,"name":"\u5728\u804c"},"createdBy":{"id":1007,"key":1007,"name":"\u5b59\u6167","sex":"F","user_status":"-1"},"mobiles":[{"id":524,"contact_id":543,"mobile":"18920717175","mp_open_id":null}],"contactKeyRoles":[{"id":133,"key":133,"name":"\u603b\u51b3\u7b56\u4eba"},{"id":134,"key":134,"name":"\u8d22\u52a1\u51b3\u7b56\u4eba"}],"contactAttitude":{"id":140,"key":140,"name":"\u4e2d\u7acb"}}],"commentCount":{"object_id":141,"comment":17},"unreadComments":null,"fromContact":{"id":1031,"key":1031,"name":"\u535e\u56fd\u826f","client_id":463,"supplier_id":null,"mobiles":[{"id":1974,"contact_id":1031,"mobile":"18810858972","mp_open_id":null}],"client":{"id":463,"key":463,"name":"\u5317\u822a\u4eea\u5668\u5b66\u9662-\u5220\u9664"},"supplier":null},"workingAddresses":[{"id":4119,"name":"\u5929\u6d25\u878d\u5b9d\u652f\u4ed8\u7f51\u7edc\u6709\u9650\u516c\u53f8","address1":"\u5317\u4eac\u5e02\u4e1c\u57ce\u533a\u4e1c\u76f4\u95e8\u5357\u5927\u885711\u53f7\u4e2d\u6c47\u5e7f\u573a\u5199\u5b57\u697cA\u5ea79\u5c42","address2":"\u5317\u4eac\u5e02\u671d\u9633\u533a\u5efa\u56fd\u95e8\u5916\u5927\u88571\u53f7\u56fd\u8d38\u5546\u57ce\u5317\u533a\u4e1c\u6bb5L1\u5c42","state":null,"city":null,"region":null,"zip":null,"country":"\u4e2d\u56fd","geolocation":"(116.4605,39.91294)","created_by":1000,"created_at":"2025-06-12 20:22:32","updated_at":"2025-06-12 20:22:32","state_id":null,"city_id":null,"region_id":null,"country_id":1,"lng":"116.4605","lat":"39.91294"}],"unread":0,"lost_contact_days_display":"1\u4e2a\u6708\u524d","last_arrive_days_display":null,"bgcolor":"#1EE6DC","overdue_display":"","last_arrive_overdue_display":"\u903e\u671f25\u5929\u672a\u62dc\u8bbf","can_pick_up":false,"can_transfer":false,"can_update":true,"can_delete":false,"can_give_up":false,"can_create_contact":true,"can_edit_contact":true},"options":[{"key":"sales_rep","name":"\u5ba2\u6237\u7ecf\u7406","value":[{"key":5300,"name":"\u82cf\u6e05\u4e91"}]},{"key":"client_industry","name":"\u5ba2\u6237\u884c\u4e1a","value":[{"key":10,"name":"\u91d1\u878d"}]},{"key":"company_nature","name":"\u516c\u53f8\u6027\u8d28","value":[{"key":4,"name":"\u6c11\u8425\u4f01\u4e1a"}]},{"key":"client_class","name":"\u5ba2\u6237\u7ea7\u522b","value":[{"key":43,"name":"\u6f5c\u529b\u5ba2\u6237"}]},{"key":"client_type","name":"\u5ba2\u6237\u6027\u8d28","value":[{"key":1,"name":"\u653f\u5e9c"}]}]},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-06-25 10:25:33') RETURNING "id"
10:25:33.4839.2 msyii\db\Command::querySELECT "c"."client_id", sum(hours), sum(times) as times FROM "a57be577deb434"."tbl_cases" "c" LEFT JOIN (SELECT "case_id", EXTRACT(epoch FROM sum(left_at - arrived_at)) /3600 AS hours, count(id) as times FROM "a57be577deb434"."tbl_implement_records" WHERE "is_draft"=FALSE GROUP BY "case_id") "i" ON i.case_id = c.id WHERE ("case_type"=2) AND ("c"."client_id"=141) GROUP BY "c"."client_id"
10:25:33.3216.7 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5016
10:25:33.3106.2 msyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
10:25:33.5776.1 msyii\db\Command::querySELECT "id", "id" AS "key", "name", "client_id", "supplier_id" FROM "a57be577deb434"."tbl_contacts" WHERE "id"=1031
10:25:33.6015.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_address_rels" WHERE "client_id"=141
10:25:33.6095.2 msyii\db\Command::querySELECT *, geolocation[0] AS lng, geolocation[1] AS lat FROM "a57be577deb434"."tbl_addresses" WHERE ("address2" != '') AND ("address2" IS NOT NULL) AND ("id"=4119)
10:25:33.6245.1 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" "c" WHERE (("c"."sales_rep" IN (5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 1001, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 1004, 5072, 5033, 5359, 5412, 5409, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) OR ("c"."sales_rep" IS NULL) OR ("c"."id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=5016))) AND ("c"."id"=141))
10:25:33.6575.0 msyii\db\Command::querySELECT "id" AS "key", "name" FROM "a57be577deb434"."tbl_client_industries" WHERE "id"=10
10:25:33.6495.0 msyii\db\Command::querySELECT "id" AS "key", "name" FROM "a57be577deb434"."tbl_company_natures" WHERE "id"=4
10:25:33.5944.4 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_clients" WHERE "id"=463
10:25:33.5884.1 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_contact_mobiles" WHERE "contact_id"=1031
10:25:33.3163.9 msyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='J6r5ayQCjcEIGs4KLBJLDPH45YZsr80L'
10:25:33.4933.8 msyii\db\Command::querySELECT "c"."client_id", sum(hours), sum(times) as times FROM "a57be577deb434"."tbl_cases" "c" LEFT JOIN (SELECT "case_id", EXTRACT(epoch FROM sum(end_at - start_at)) /3600 AS hours, count(id) as times FROM "a57be577deb434"."tbl_pre_sales" WHERE "is_draft"=FALSE GROUP BY "case_id") "i" ON i.case_id = c.id WHERE ("case_type"=1) AND ("c"."client_id"=141) GROUP BY "c"."client_id"
10:25:33.6433.3 msyii\db\Command::querySELECT "id" AS "key", "name" FROM "a57be577deb434"."tbl_client_classes" WHERE "id"=43
10:25:33.6363.3 msyii\db\Command::querySELECT "id" AS "key", "name" FROM "a57be577deb434"."tbl_client_types" WHERE "id"=1
10:25:33.4982.0 msyii\db\Command::querySELECT "client_id", sum(amount) AS sum FROM "a57be577deb434"."tbl_reimbursements" WHERE ("status" IN (3, 2)) AND ("client_id"=141) GROUP BY "client_id"
10:25:33.4771.9 msyii\db\Command::querySELECT "id", "client_id" FROM "a57be577deb434"."tbl_cases" WHERE ("case_status" NOT IN (5, 6)) AND ("client_id"=141)
10:25:33.5011.8 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_contacts" WHERE "client_id"=141
10:25:33.4811.1 msyii\db\Command::querySELECT "client_id", count(id) as count FROM "a57be577deb434"."tbl_cases" WHERE "client_id"=141 GROUP BY "client_id"
10:25:33.5041.1 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_contact_mobiles" WHERE "contact_id" IN (728, 846, 310, 540, 542, 516, 543)
10:25:33.4820.9 msyii\db\Command::querySELECT "client_id", EXTRACT(epoch FROM sum(end_at - start_at)) /3600 AS hours, count(id) as times FROM "a57be577deb434"."tbl_work_logs" WHERE ("is_draft"=FALSE) AND ("scenario_id"=1) AND (("location_in_id" IS NOT NULL) AND ("location_out_id" IS NOT NULL) AND ("client_id" IS NOT NULL)) AND ("client_id"=141) GROUP BY "client_id"
10:25:33.5080.9 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=12) AND ("id" IN (46, 165, 179, 142, 164, 101, 103, 100, 97, 197, 194, 107, 226, 169, 172, 185, 191, 93, 94, 2, 6, 153, 7, 8, 1, 205, 204, 196, 199, 319, 316, 2100000000, 311, 212, 5, 114, 154, 136, 140, 105, 326, 340, 359, 369, 377, 133, 134, 135, 137, 160)) ORDER BY "sort"
10:25:33.5050.8 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id" IN (728, 846, 310, 540, 542, 516, 543)
10:25:33.5070.7 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id" IN (728, 846, 310, 540, 542, 516, 543)
10:25:33.4800.7 msyii\db\Command::querySELECT "client_id", count(id) as count FROM "a57be577deb434"."tbl_work_logs" WHERE ("is_draft"=FALSE) AND ("client_id"=141) GROUP BY "client_id"
10:25:33.4970.6 msyii\db\Command::querySELECT "client_id", EXTRACT(epoch FROM sum(end_at - start_at)) /3600 AS hours, count(id) as times FROM "a57be577deb434"."tbl_work_logs" WHERE ("is_draft"=FALSE) AND ("scenario_id"=2) AND ("client_id"=141) GROUP BY "client_id"
10:25:33.4720.5 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_client_types" WHERE "id"=1
10:25:33.4760.5 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=14) AND ("id" IN (211, 2, 101, 107, 165, 179, 142, 197, 199, 311, 377)) ORDER BY "sort"
10:25:33.4750.5 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=141
10:25:33.4750.5 msyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=5300)
10:25:33.5000.5 msyii\db\Command::querySELECT "id", "id" AS "key", "address" AS "name", "client_id" FROM "a57be577deb434"."tbl_client_addresses" WHERE "client_id"=141
10:25:33.5060.5 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=11) AND ("id" IN (46, 165, 179, 142, 164, 101, 103, 100, 97, 197, 194, 107, 226, 169, 172, 185, 191, 93, 94, 2, 6, 153, 7, 8, 1, 205, 204, 196, 199, 319, 316, 2100000000, 311, 212, 5, 114, 154, 136, 140, 105, 326, 340, 359, 369, 377, 133, 134, 135, 137, 160)) ORDER BY "sort"
10:25:33.5030.4 msyii\db\Command::querySELECT "id", "id" AS "key", "status" AS "name" FROM "a57be577deb434"."tbl_contact_statuses" WHERE "id" IN (2, 1)
10:25:33.4740.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_client_industries" WHERE "id"=10
10:25:33.4800.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=9
10:25:33.4730.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_company_natures" WHERE "id"=4
10:25:33.4790.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1007
10:25:33.4730.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name", "notice_days", "color", "visit_base" FROM "a57be577deb434"."tbl_client_classes" WHERE "id"=43
10:25:33.5030.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "user_status" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (1016, 1023, 1007, 1015)
10:25:33.4740.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "client_lock" FROM "a57be577deb434"."tbl_users" WHERE "id"=5300
10:25:33.4790.2 msyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1007)