Performance Profiling

Total processing time: 124 ms; Peak memory: 5.082 MB. Show Profiling Timeline

总计44条数据
TimeDurationCategoryInfo
  
15:02:41.91031.1 msyii\db\Command::querySELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=10) AND ("object_id"=399) GROUP BY "object_id"
15:02:41.94219.9 msyii\db\Command::querySELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=10) AND (("remind_user_id"=1000) AND ("is_read"=FALSE)) AND ("object_id"=399) GROUP BY "object_id"
15:02:41.8877.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(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"=399) GROUP BY "c"."client_id"
15:02:41.9775.1 msyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1000, 2, 1159, 'v2/client/get-edit', '{"access_token":"R8ScrIY1ab3sgHgv8KlMKFukwMtD6QYC","device_type":"2","id":"399","lat":"39.82924424913195","lng":"116.2979573567708","posttime":"1781766144","token":"2bd27a6f02c9e7380751a0538140ba16","version_code":"1159"}', '{"code":200,"data":{"model":{"id":399,"name":"\u516c\u5b89\u90e8\u7b2c\u4e00\u7814\u7a76\u6240\u4e2d\u76fe(\u8fc7\u5355\u516c\u53f8)","abbr":null,"pinyin_shortcut":"gabdyyjszdgdgs","description":"","corp_rep":"\u9648\u671d\u6b66","website":"","capital":"18000","established_at":"1992-06-23","headcount":"","reg_address":null,"working_address":634,"telephone":"","fax":"","scale":"","branch":"","purchase_scale_per_yr":null,"purchase_freq":"","company_nature":1,"client_class":43,"client_industry":1,"client_type":1,"sales_rep":1005,"main_contact":null,"created_by":1001,"created_at":"2017-07-04 15:14:12","updated_at":"2026-05-18 13:48:27","main_business":"","deleted":false,"capital_currency":"rmb","invoice_info":"","logo":"\/files\/cdn\/a57be577deb434\/logo\/6fc2ad20-226c-311c-9f64-96f95d6c6bdd.png","en_name":"","pick_at":"2021-06-03 15:44:50","it_budget":"","deployment_mode":"","it_per_num":"","public_relations_difficulty":"","it_status":"","decision_process":"","coach":"","competitor":"","peers":"","supplier":"","main_product":"","client_base_info_count":4,"client_key_info_count":0,"contact_count":4,"visit_count":0,"cooperate_count":0,"case_pre_sales_count":0,"case_implement_count":0,"is_overdue_remind":false,"from_contact":null,"tax_no":null,"is_public":1,"cooperated":true,"lost_contact_days":"31.089373526875","last_arrive_days":null,"last_contact":"2026-05-18 12:54:00","notice_days":60,"workingAddress":{"id":634,"name":"\u516c\u5b89\u90e8\u7b2c\u4e00\u7814\u7a76\u6240\u4e2d\u76fe(\u8fc7\u5355\u516c\u53f8)","address1":"","address2":"\u516c\u5b89\u90e8\u7b2c\u4e00\u7814\u7a76\u6240\u4e2d\u76fe(\u8fc7\u5355\u516c\u53f8)","state":"\u5317\u4eac\u5e02","city":"\u5e02\u8f96\u533a","region":"\u6d77\u6dc0\u533a","zip":"","country":"\u4e2d\u56fd","geolocation":"(116.325307,39.937349)","created_by":5064,"created_at":"2017-09-05 09:16:56","updated_at":"2024-06-27 15:32:14","state_id":110000,"city_id":110100,"region_id":110108,"country_id":1,"lng":"116.325307","lat":"39.937349"},"clientType":{"id":1,"key":1,"name":"\u836f\u54c1\u6279\u53d1\u4f01\u4e1a\uff08\u5168\u8d44\u8d28\uff09"},"clientClass":{"id":43,"key":43,"name":"\u6f5c\u529b\u5ba2\u6237","notice_days":60,"color":"#1EE6DC","visit_base":15},"companyNature":{"id":1,"key":1,"name":"\u56fd\u6709\u4e0a\u5e02"},"clientIndustry":{"id":1,"key":1,"name":"\u653f\u5e9c"},"salesRep":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09","sex":"F","client_lock":false,"avatar":{"id":16,"user_id":1005,"name":"\/files\/cdn\/a57be577deb434\/avatar\/56876dde-37eb-39fc-853a-47eaef6510e5.png"}},"clientFrom":null,"unCloseCases":[],"createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4,"avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/\/avatar\/e868e40f-1256-329e-9b1c-74e095049622.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"workLogCount":{"client_id":399,"count":12},"caseCount":{"client_id":399,"count":11},"salesTimeCount":null,"implementTimeCount":{"client_id":399,"sum":"22.25","times":"10"},"presalesTimeCount":{"client_id":399,"sum":"7","times":"1"},"engineerTimeCount":{"client_id":399,"hours":"0.5","times":1},"reimbursementAmountSum":null,"addresses":[{"id":510,"key":510,"name":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u7518\u5bb6\u53e3\u8857\u9053\u9996\u90fd\u4f53\u80b2\u9986\u5357\u8def\u9996\u4f53\u5357\u8def","client_id":399},{"id":1884,"key":1884,"name":"\u6d4b\u8bd5","client_id":399}],"contacts":[{"id":941,"name":"\u5b89\u6770","email":"","pinyin_shortcut":"aj","sex":"M","birth_date":null,"department":"\u91c7\u8d2d\u90e8","job_position":"","mobile":"","telephone":"","client_id":399,"supplier_id":null,"created_by":1016,"created_at":"2017-07-11 15:58:21","updated_at":"2022-03-14 10:45:37","user_status":2,"description":"","contact_type":"1","contact_attitude":null,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"an","pinyin2":"jie","pinyin3":null,"pinyin4":null,"namecut1":"\u5b89","namecut2":"\u6770","namecut3":null,"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":933,"contact_id":941,"mobile":"13522582788","mp_open_id":null}],"contactKeyRoles":[],"contactAttitude":null},{"id":914,"name":"\u90b1\u65ed\u534e","email":"","pinyin_shortcut":"qxh","sex":"M","birth_date":null,"department":"\u4e92\u8054\u7f51","job_position":"\u603b\u76d1","mobile":"","telephone":"","client_id":399,"supplier_id":null,"created_by":1001,"created_at":"2017-07-04 15:15:07","updated_at":"2022-03-14 10:45:37","user_status":2,"description":"","contact_type":"1","contact_attitude":2,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"qiu","pinyin2":"xu","pinyin3":"hua","pinyin4":null,"namecut1":"\u90b1","namecut2":"\u65ed","namecut3":"\u534e","namecut4":null,"is_mp_bind":null,"contactStatus":{"id":2,"key":2,"name":"\u5728\u804c"},"createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","user_status":"1"},"mobiles":[{"id":4391,"contact_id":914,"mobile":"13501108670","mp_open_id":null}],"contactKeyRoles":[{"id":136,"key":136,"name":"\u6280\u672f\u51b3\u7b56\u4eba"}],"contactAttitude":{"id":139,"key":139,"name":"\u652f\u6301"}},{"id":1259,"name":"\u738b\u6652","email":"","pinyin_shortcut":"ws","sex":"M","birth_date":null,"department":"","job_position":"","mobile":"","telephone":"","client_id":399,"supplier_id":null,"created_by":1001,"created_at":"2017-11-06 20:45:09","updated_at":"2022-03-14 10:45:37","user_status":1,"description":"","contact_type":"1","contact_attitude":null,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"wang","pinyin2":"shai","pinyin3":null,"pinyin4":null,"namecut1":"\u738b","namecut2":"\u6652","namecut3":null,"namecut4":null,"is_mp_bind":null,"contactStatus":{"id":1,"key":1,"name":"\u79bb\u804c"},"createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","user_status":"1"},"mobiles":[],"contactKeyRoles":[],"contactAttitude":null},{"id":1260,"name":"\u738b\u6652","email":"","pinyin_shortcut":"ws","sex":"M","birth_date":null,"department":"","job_position":"","mobile":"","telephone":"","client_id":399,"supplier_id":null,"created_by":1001,"created_at":"2017-11-06 20:45:15","updated_at":"2022-03-14 10:45:37","user_status":2,"description":"","contact_type":"1","contact_attitude":null,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"wang","pinyin2":"shai","pinyin3":null,"pinyin4":null,"namecut1":"\u738b","namecut2":"\u6652","namecut3":null,"namecut4":null,"is_mp_bind":null,"contactStatus":{"id":2,"key":2,"name":"\u5728\u804c"},"createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","user_status":"1"},"mobiles":[],"contactKeyRoles":[],"contactAttitude":null},{"id":915,"name":"\u738b\u96f7","email":"45695619@qq.com","pinyin_shortcut":"wl","sex":"M","birth_date":null,"department":"\u91c7\u8d2d\u90e8","job_position":"\u91c7\u8d2d\u4e13\u5458","mobile":"","telephone":"","client_id":399,"supplier_id":null,"created_by":1001,"created_at":"2017-07-04 15:16:02","updated_at":"2022-03-14 10:45:37","user_status":2,"description":"","contact_type":"1","contact_attitude":2,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"wang","pinyin2":"lei","pinyin3":null,"pinyin4":null,"namecut1":"\u738b","namecut2":"\u96f7","namecut3":null,"namecut4":null,"is_mp_bind":null,"contactStatus":{"id":2,"key":2,"name":"\u5728\u804c"},"createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","user_status":"1"},"mobiles":[{"id":1225,"contact_id":915,"mobile":"18701542393","mp_open_id":null}],"contactKeyRoles":[{"id":135,"key":135,"name":"\u91c7\u8d2d\u51b3\u7b56\u4eba"}],"contactAttitude":{"id":139,"key":139,"name":"\u652f\u6301"}},{"id":1258,"name":"\u738b\u662d\u541b","email":"","pinyin_shortcut":"wzj","sex":"F","birth_date":null,"department":"","job_position":"","mobile":"","telephone":"","client_id":399,"supplier_id":null,"created_by":1001,"created_at":"2017-11-06 20:44:00","updated_at":"2022-03-14 10:45:37","user_status":1,"description":"","contact_type":"1","contact_attitude":null,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"wang","pinyin2":"zhao","pinyin3":"jun","pinyin4":null,"namecut1":"\u738b","namecut2":"\u662d","namecut3":"\u541b","namecut4":null,"is_mp_bind":null,"contactStatus":{"id":1,"key":1,"name":"\u79bb\u804c"},"createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","user_status":"1"},"mobiles":[],"contactKeyRoles":[],"contactAttitude":null}],"commentCount":{"object_id":399,"comment":5},"unreadComments":null,"fromContact":null,"workingAddresses":[{"id":634,"name":"\u516c\u5b89\u90e8\u7b2c\u4e00\u7814\u7a76\u6240\u4e2d\u76fe(\u8fc7\u5355\u516c\u53f8)","address1":"","address2":"\u516c\u5b89\u90e8\u7b2c\u4e00\u7814\u7a76\u6240\u4e2d\u76fe(\u8fc7\u5355\u516c\u53f8)","state":"\u5317\u4eac\u5e02","city":"\u5e02\u8f96\u533a","region":"\u6d77\u6dc0\u533a","zip":"","country":"\u4e2d\u56fd","geolocation":"(116.325307,39.937349)","created_by":5064,"created_at":"2017-09-05 09:16:56","updated_at":"2024-06-27 15:32:14","state_id":110000,"city_id":110100,"region_id":110108,"country_id":1,"lng":"116.325307","lat":"39.937349"}],"unread":0,"lost_contact_days_display":"1\u4e2a\u6708\u524d","last_arrive_days_display":null,"bgcolor":"#1EE6DC","overdue_display":"","last_arrive_overdue_display":"\u903e\u671f3256\u5929\u672a\u62dc\u8bbf","can_pick_up":false,"can_transfer":true,"can_update":true,"can_delete":false,"can_give_up":true,"can_create_contact":true,"can_edit_contact":true,"object_type":10,"can_create_reimbursement":true,"can_create_schedule":true,"can_create_work_log":true},"options":[{"key":"sales_rep","name":"\u5ba2\u6237\u7ecf\u7406","value":[{"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09"}]},{"key":"client_industry","name":"\u5ba2\u6237\u884c\u4e1a","value":[{"key":57,"name":"EDA\/CAE"},{"key":1,"name":"\u653f\u5e9c"},{"key":25,"name":"\u6559\u80b2\uff08\u673a\u6784\uff09"},{"key":2,"name":"\u6559\u80b2\uff08\u9ad8\u6821\uff09"},{"key":24,"name":"\u6559\u80b2\uff08\u666e\u6559\uff09"},{"key":3,"name":"\u533b\u7597"},{"key":4,"name":"\u901a\u4fe1"},{"key":5,"name":"\u5236\u9020"},{"key":58,"name":"\u519b\u5de5"},{"key":6,"name":"\u7535\u5546"},{"key":7,"name":"\u9152\u5e97"},{"key":8,"name":"\u7269\u6d41"},{"key":9,"name":"\u5730\u4ea7"},{"key":10,"name":"\u91d1\u878d"},{"key":11,"name":"\u4ea4\u901a"},{"key":12,"name":"\u5e7f\u544a"},{"key":13,"name":"SI\/ISV"},{"key":14,"name":"\u5e7f\u7535"},{"key":15,"name":"\u7535\u529b"},{"key":16,"name":"\u80fd\u6e90"},{"key":17,"name":"\u96f6\u552e"},{"key":18,"name":"\u5a92\u4f53"},{"key":19,"name":"OTT"},{"key":20,"name":"\u5176\u4ed6"},{"key":59,"name":"\u8d38\u6613"}]},{"key":"company_nature","name":"\u516c\u53f8\u6027\u8d28","value":[{"key":1,"name":"\u56fd\u6709\u4e0a\u5e02"},{"key":2,"name":"\u6c11\u8425\u4e0a\u5e02"},{"key":3,"name":"\u56fd\u6709\u4f01\u4e1a"},{"key":4,"name":"\u6c11\u8425\u4f01\u4e1a"},{"key":6,"name":"\u5916\u8d44\u4f01\u4e1a"}]},{"key":"client_class","name":"\u5ba2\u6237\u7ea7\u522b","value":[{"key":1,"name":"\u6838\u5fc3\u5ba2\u6237"},{"key":80,"name":"\u7a33\u5b9a\u5ba2\u6237"},{"key":47,"name":"\u76ee\u6807\u5ba2\u6237"},{"key":43,"name":"\u6f5c\u529b\u5ba2\u6237"}]},{"key":"client_type","name":"\u5ba2\u6237\u6027\u8d28","value":[{"key":1,"name":"\u836f\u54c1\u6279\u53d1\u4f01\u4e1a\uff08\u5168\u8d44\u8d28\uff09"},{"key":6,"name":"\u836f\u54c1\u6279\u53d1\u4f01\u4e1a\uff08\u666e\u901a\uff09"},{"key":5,"name":"\u836f\u54c1\u96f6\u552e\u4f01\u4e1a\uff08\u5355\u4f53\uff09"},{"key":3,"name":"\u4e2a\u4eba\u6d88\u8d39\u8005"}]}]},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"ip":"223.104.40.234","ua":"jinchangxiao\/2.3.156 (iPhone 12; iOS 26.5; Scale\/3.00)"}', FALSE, '2026-06-18 15:02:41', 114121728) RETURNING "id"
15:02:41.8713.3 msyii\db\Command::querySELECT DISTINCT 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, sl_agg.lost_contact_days, arrive_agg.last_arrive_days, sl_agg.last_contact, cc.notice_days AS notice_days FROM "a57be577deb434"."tbl_clients" "c" LEFT JOIN (SELECT client_id, extract(epoch from (now() - max(end_at))) / 86400 AS last_arrive_days FROM "a57be577deb434"."tbl_work_logs" WHERE ("is_draft"=FALSE) AND ("location_in_id" IS NOT NULL) AND ("location_out_id" IS NOT NULL) AND ("client_id" IS NOT NULL) AND ("client_id"='399') GROUP BY "client_id") "arrive_agg" ON arrive_agg.client_id = c.id LEFT JOIN (SELECT client_id, extract(epoch from (now() - max(end_at))) / 86400 AS lost_contact_days, max(end_at) as last_contact FROM "a57be577deb434"."tbl_work_logs" WHERE "client_id"='399' GROUP BY "client_id") "sl_agg" ON sl_agg.client_id = c.id LEFT JOIN "a57be577deb434"."tbl_projects" "p" ON p.client_id = c.id AND p.project_status = 3 LEFT JOIN "a57be577deb434"."tbl_client_classes" "cc" ON cc.id = c.client_class WHERE ("c"."id"='399') AND ("c"."deleted"=FALSE)
15:02:41.8963.0 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"=399) GROUP BY "c"."client_id"
15:02:41.9002.0 msyii\db\Command::querySELECT "client_id", sum(amount) AS sum FROM "a57be577deb434"."tbl_reimbursements" WHERE ("status" IN (2, 3)) AND ("client_id"=399) GROUP BY "client_id"
15:02:41.8811.6 msyii\db\Command::querySELECT "id", "client_id" FROM "a57be577deb434"."tbl_cases" WHERE ("case_status" NOT IN (5, 6)) AND ("client_id"=399)
15:02:41.9031.5 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_contacts" WHERE "client_id"=399
15:02:41.8681.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
15:02:41.8851.2 msyii\db\Command::querySELECT "client_id", count(id) as count FROM "a57be577deb434"."tbl_cases" WHERE "client_id"=399 GROUP BY "client_id"
15:02:41.8650.9 msyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='R8ScrIY1ab3sgHgv8KlMKFukwMtD6QYC'
15:02:41.9060.8 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_contact_mobiles" WHERE "contact_id" IN (941, 914, 1259, 1260, 915, 1258)
15:02:41.9670.8 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, 5467, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 5476, 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"=1000))) AND ("c"."id"=399))
15:02:41.9090.6 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id" IN (941, 914, 1259, 1260, 915, 1258)
15:02:41.9070.6 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id" IN (941, 914, 1259, 1260, 915, 1258)
15:02:41.9020.6 msyii\db\Command::querySELECT "id", "id" AS "key", "address" AS "name", "client_id" FROM "a57be577deb434"."tbl_client_addresses" WHERE "client_id"=399
15:02:41.9690.6 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
15:02:41.9730.6 msyii\db\Command::querySELECT "id" AS "key", "name" FROM "a57be577deb434"."tbl_company_natures" WHERE ("is_delete"=FALSE) OR ("id"=1) ORDER BY "order"
15:02:41.8990.5 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"=399) GROUP BY "client_id"
15:02:41.8760.5 msyii\db\Command::querySELECT *, geolocation[0] AS lng, geolocation[1] AS lat FROM "a57be577deb434"."tbl_addresses" WHERE "id"=634
15:02:41.9620.5 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_address_rels" WHERE "client_id"=399
15:02:41.9630.5 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"=634)
15:02:41.8860.5 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"=399) GROUP BY "client_id"
15:02:41.9090.5 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=12) AND ("id" IN (129, 180, 142, 184, 189, 213, 6, 7, 97, 46, 101, 102, 128, 167, 181, 130, 170, 174, 94, 165, 131, 175, 212, 226, 93, 5, 1, 2, 210, 227, 185, 191, 197, 199, 231, 207, 229, 8, 135, 139, 136, 156, 153, 157, 349, 322, 316, 320, 319, 2100000000, 369, 377, 359, 340)) ORDER BY "sort"
15:02:41.9710.5 msyii\db\Command::querySELECT "id" AS "key", "name" FROM "a57be577deb434"."tbl_client_types" WHERE ("is_delete"=FALSE) OR ("id"=1) ORDER BY "order"
15:02:41.9080.5 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=11) AND ("id" IN (129, 180, 142, 184, 189, 213, 6, 7, 97, 46, 101, 102, 128, 167, 181, 130, 170, 174, 94, 165, 131, 175, 212, 226, 93, 5, 1, 2, 210, 227, 185, 191, 197, 199, 231, 207, 229, 8, 135, 139, 136, 156, 153, 157, 349, 322, 316, 320, 319, 2100000000, 369, 377, 359, 340)) ORDER BY "sort"
15:02:41.9720.4 msyii\db\Command::querySELECT "id" AS "key", "name" FROM "a57be577deb434"."tbl_client_classes" WHERE ("is_delete"=FALSE) OR ("id"=43) ORDER BY "order"
15:02:41.8770.4 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_client_types" WHERE "id"=1
15:02:41.8790.4 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_client_industries" WHERE "id"=1
15:02:41.8780.4 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_company_natures" WHERE "id"=1
15:02:41.9740.4 msyii\db\Command::querySELECT "id" AS "key", "name" FROM "a57be577deb434"."tbl_client_industries" WHERE ("is_delete"=FALSE) OR ("id"=1) ORDER BY "order"
15:02:41.8840.4 msyii\db\Command::querySELECT "client_id", count(id) as count FROM "a57be577deb434"."tbl_work_logs" WHERE ("is_draft"=FALSE) AND ("client_id"=399) GROUP BY "client_id"
15:02:41.8800.4 msyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1005)
15:02:41.8650.4 msyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
15:02:41.8810.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=14) AND ("id" IN (208, 226, 101, 114, 142, 205, 206, 317, 330, 374)) ORDER BY "sort"
15:02:41.9050.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "user_status" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (1016, 1001)
15:02:41.8840.3 msyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1001)
15:02:41.9050.3 msyii\db\Command::querySELECT "id", "id" AS "key", "status" AS "name" FROM "a57be577deb434"."tbl_contact_statuses" WHERE "id" IN (2, 1)
15:02:41.8800.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=399
15:02:41.8780.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name", "notice_days", "color", "visit_base" FROM "a57be577deb434"."tbl_client_classes" WHERE "id"=43
15:02:41.8790.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "client_lock" FROM "a57be577deb434"."tbl_users" WHERE "id"=1005
15:02:41.8830.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:02:41.8840.2 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=4