Total processing time: 60 ms; Peak memory: 5.059 MB. Show Profiling Timeline
Time | Duration | Category | Info |
---|---|---|---|
17:43:23.184 | 20.3 ms | yii\db\Command::query | SELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=14) AND ("object_id" IN (6127, 6126, 6125, 6121)) GROUP BY "object_id" |
17:43:23.205 | 17.1 ms | yii\db\Command::query | SELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=14) AND (remind_user_id = 5446 AND is_read = false) AND ("object_id" IN (6127, 6126, 6125, 6121)) GROUP BY "object_id" |
17:43:23.171 | 2.7 ms | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='c1glbS3oPWuii9fAd_nsZY9pK1ntZvhw' |
17:43:23.169 | 1.9 ms | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
17:43:23.179 | 1.7 ms | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT c.* FROM "a57be577deb434"."tbl_contacts" "c" LEFT JOIN "a57be577deb434"."tbl_suppliers" "supplier" ON supplier.id = c.supplier_id WHERE "supplier"."id"='718' GROUP BY "c"."id" ORDER BY (case c.user_status when 3 then 1 when 1 then 0 else c.user_status end) DESC, c.updated_at DESC) "c" |
17:43:23.225 | 1.6 ms | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 5446, 6, 169, 'v2/contact/of-supplier', '{"id":"718","page":"1","pagesize":"10","posttime":"1756460603","access_token":"c1glbS3oPWuii9fAd_nsZY9pK1ntZvhw","device_type":"6","version_code":"169","token":"ceafa4039bdf1717e44cba14b393454f"}', '{"code":200,"data":{"list":[{"id":6127,"name":"B","email":"","pinyin_shortcut":"B","sex":"M","birth_date":null,"department":"","job_position":"","mobile":"","telephone":"","client_id":null,"supplier_id":718,"created_by":5446,"created_at":"2025-08-29 17:43:19","updated_at":"2025-08-29 17:43:19","user_status":2,"description":"","contact_type":"2","contact_attitude":null,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"b","pinyin2":null,"pinyin3":null,"pinyin4":null,"namecut1":"b","namecut2":null,"namecut3":null,"namecut4":null,"is_mp_bind":false,"contactStatus":{"id":2,"status":"\u5728\u804c","description":"\u5728\u804c","created_by":1000,"created_at":"2016-10-31 21:28:36","updated_at":"2016-10-31 21:28:40"},"createdBy":{"id":5446,"email":"liujuan@toast.com.cn","name":"\u5218\u5a1f","user_status":"1","pinyin_shortcut":"lj","sex":"F","birth_date":"1987-10-04","entry_date":"2025-03-03","department_id":8,"department_position_id":61,"mobile":"15699735973","telephone":"88864628","created_at":"2025-03-03 10:55:13","updated_at":"2025-03-03 10:55:13","id_number":"413026198710047225","native_place":"\u7518\u8083\u7701\u5609\u5cea\u5173\u5e02","graduate_school":"\u5317\u4eac\u4e1c\u65b9\u5927\u5b66","specialty":"\u5de5\u5546\u4f01\u4e1a\u7ba1\u7406","education":"\u672c\u79d1","telephone_area_code":"010","telephone_extension_number":"","leave_date":null,"pinyin1":"liu","pinyin2":"juan","pinyin3":null,"pinyin4":null,"namecut1":"\u5218","namecut2":"\u5a1f","namecut3":null,"namecut4":null,"budget_count":"0","profit_count":"0","bargain_count":"0","opportunity_budget_count":"0","opportunity_count":"0","work_log_score":"0","e_implement_count":"0","e_budget_count":"0","e_profit_count":"0","e_client_count":"0","e_project_count":"0","e_point_count":"0","visit_resource_sync":false,"client_lock":false,"view_public":false,"client_remind_alarm_before":null,"work_on_remind":true,"work_off_remind":true,"check_client_same":true,"calendar_view_type":7,"search_all_client":true},"keyRoles":[],"mobiles":[{"id":6907,"contact_id":6127,"mobile":"13444444444","mp_open_id":null}],"commentCount":null,"unreadComments":null,"can_update":false,"can_delete":false,"unread":0},{"id":6126,"name":"a","email":"","pinyin_shortcut":"a","sex":"M","birth_date":null,"department":"","job_position":"","mobile":"","telephone":"","client_id":null,"supplier_id":718,"created_by":5446,"created_at":"2025-08-29 17:43:04","updated_at":"2025-08-29 17:43:04","user_status":2,"description":"","contact_type":"2","contact_attitude":null,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"a","pinyin2":null,"pinyin3":null,"pinyin4":null,"namecut1":"a","namecut2":null,"namecut3":null,"namecut4":null,"is_mp_bind":false,"contactStatus":{"id":2,"status":"\u5728\u804c","description":"\u5728\u804c","created_by":1000,"created_at":"2016-10-31 21:28:36","updated_at":"2016-10-31 21:28:40"},"createdBy":{"id":5446,"email":"liujuan@toast.com.cn","name":"\u5218\u5a1f","user_status":"1","pinyin_shortcut":"lj","sex":"F","birth_date":"1987-10-04","entry_date":"2025-03-03","department_id":8,"department_position_id":61,"mobile":"15699735973","telephone":"88864628","created_at":"2025-03-03 10:55:13","updated_at":"2025-03-03 10:55:13","id_number":"413026198710047225","native_place":"\u7518\u8083\u7701\u5609\u5cea\u5173\u5e02","graduate_school":"\u5317\u4eac\u4e1c\u65b9\u5927\u5b66","specialty":"\u5de5\u5546\u4f01\u4e1a\u7ba1\u7406","education":"\u672c\u79d1","telephone_area_code":"010","telephone_extension_number":"","leave_date":null,"pinyin1":"liu","pinyin2":"juan","pinyin3":null,"pinyin4":null,"namecut1":"\u5218","namecut2":"\u5a1f","namecut3":null,"namecut4":null,"budget_count":"0","profit_count":"0","bargain_count":"0","opportunity_budget_count":"0","opportunity_count":"0","work_log_score":"0","e_implement_count":"0","e_budget_count":"0","e_profit_count":"0","e_client_count":"0","e_project_count":"0","e_point_count":"0","visit_resource_sync":false,"client_lock":false,"view_public":false,"client_remind_alarm_before":null,"work_on_remind":true,"work_off_remind":true,"check_client_same":true,"calendar_view_type":7,"search_all_client":true},"keyRoles":[],"mobiles":[{"id":6906,"contact_id":6126,"mobile":"13333333333","mp_open_id":null}],"commentCount":null,"unreadComments":null,"can_update":false,"can_delete":false,"unread":0},{"id":6125,"name":"\u7b11\u563b\u563b","email":"","pinyin_shortcut":"xxx","sex":"F","birth_date":null,"department":"","job_position":"","mobile":"","telephone":"","client_id":null,"supplier_id":718,"created_by":5446,"created_at":"2025-08-29 10:13:58","updated_at":"2025-08-29 10:14:43","user_status":2,"description":"","contact_type":"2","contact_attitude":null,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"xiao","pinyin2":"xi","pinyin3":"xi","pinyin4":null,"namecut1":"\u7b11","namecut2":"\u563b","namecut3":"\u563b","namecut4":null,"is_mp_bind":false,"contactStatus":{"id":2,"status":"\u5728\u804c","description":"\u5728\u804c","created_by":1000,"created_at":"2016-10-31 21:28:36","updated_at":"2016-10-31 21:28:40"},"createdBy":{"id":5446,"email":"liujuan@toast.com.cn","name":"\u5218\u5a1f","user_status":"1","pinyin_shortcut":"lj","sex":"F","birth_date":"1987-10-04","entry_date":"2025-03-03","department_id":8,"department_position_id":61,"mobile":"15699735973","telephone":"88864628","created_at":"2025-03-03 10:55:13","updated_at":"2025-03-03 10:55:13","id_number":"413026198710047225","native_place":"\u7518\u8083\u7701\u5609\u5cea\u5173\u5e02","graduate_school":"\u5317\u4eac\u4e1c\u65b9\u5927\u5b66","specialty":"\u5de5\u5546\u4f01\u4e1a\u7ba1\u7406","education":"\u672c\u79d1","telephone_area_code":"010","telephone_extension_number":"","leave_date":null,"pinyin1":"liu","pinyin2":"juan","pinyin3":null,"pinyin4":null,"namecut1":"\u5218","namecut2":"\u5a1f","namecut3":null,"namecut4":null,"budget_count":"0","profit_count":"0","bargain_count":"0","opportunity_budget_count":"0","opportunity_count":"0","work_log_score":"0","e_implement_count":"0","e_budget_count":"0","e_profit_count":"0","e_client_count":"0","e_project_count":"0","e_point_count":"0","visit_resource_sync":false,"client_lock":false,"view_public":false,"client_remind_alarm_before":null,"work_on_remind":true,"work_off_remind":true,"check_client_same":true,"calendar_view_type":7,"search_all_client":true},"keyRoles":[],"mobiles":[{"id":6905,"contact_id":6125,"mobile":"13078965423","mp_open_id":null}],"commentCount":null,"unreadComments":null,"can_update":false,"can_delete":false,"unread":0},{"id":6121,"name":"\u6768\u7231\u82b3","email":"","pinyin_shortcut":"yaf","sex":"F","birth_date":null,"department":"\u9500\u552e\u90e8","job_position":"\u6e20\u9053\u9500\u552e","mobile":"","telephone":"","client_id":null,"supplier_id":718,"created_by":1011,"created_at":"2025-08-01 13:23:32","updated_at":"2025-08-01 13:23:32","user_status":2,"description":"","contact_type":"2","contact_attitude":null,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"yang","pinyin2":"ai","pinyin3":"fang","pinyin4":null,"namecut1":"\u6768","namecut2":"\u7231","namecut3":"\u82b3","namecut4":null,"is_mp_bind":false,"contactStatus":{"id":2,"status":"\u5728\u804c","description":"\u5728\u804c","created_by":1000,"created_at":"2016-10-31 21:28:36","updated_at":"2016-10-31 21:28:40"},"createdBy":{"id":1011,"email":"hanyafang@toast.com.cn","name":"\u97e9\u96c5\u82b3","user_status":"1","pinyin_shortcut":"hyf","sex":"F","birth_date":"1987-03-07","entry_date":"2011-08-08","department_id":3,"department_position_id":18,"mobile":"13126639155","telephone":"88864628","created_at":"2017-02-06 13:11:52","updated_at":"2024-11-01 17:28:04","id_number":"131128198703076043","native_place":"\u6cb3\u5317\u7701\u8861\u6c34\u5e02","graduate_school":"\u6cb3\u5317\u5eca\u574a\u5e08\u8303\u5b66\u9662","specialty":"\u751f\u7269\u6280\u672f\u5de5\u7a0b","education":"\u672c\u79d1","telephone_area_code":"010","telephone_extension_number":"831","leave_date":null,"pinyin1":"han","pinyin2":"ya","pinyin3":"fang","pinyin4":null,"namecut1":"\u97e9","namecut2":"\u96c5","namecut3":"\u82b3","namecut4":null,"budget_count":"0","profit_count":"0","bargain_count":"0","opportunity_budget_count":"0","opportunity_count":"0","work_log_score":"0","e_implement_count":"0","e_budget_count":"0","e_profit_count":"0","e_client_count":"0","e_project_count":"0","e_point_count":"0","visit_resource_sync":false,"client_lock":false,"view_public":true,"client_remind_alarm_before":null,"work_on_remind":true,"work_off_remind":true,"check_client_same":true,"calendar_view_type":7,"search_all_client":true},"keyRoles":[],"mobiles":[{"id":6902,"contact_id":6121,"mobile":"18310320904","mp_open_id":null}],"commentCount":null,"unreadComments":null,"can_update":false,"can_delete":false,"unread":0}],"pagenation":{"totalcount":4,"thispage":1,"pagesize":10}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-08-29 17:43:23') RETURNING "id" |
17:43:23.175 | 1.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5446 |
17:43:23.180 | 1.2 ms | yii\db\Command::query | SELECT c.* FROM "a57be577deb434"."tbl_contacts" "c" LEFT JOIN "a57be577deb434"."tbl_suppliers" "supplier" ON supplier.id = c.supplier_id WHERE "supplier"."id"='718' GROUP BY "c"."id" ORDER BY (case c.user_status when 3 then 1 when 1 then 0 else c.user_status end) DESC, c.updated_at DESC LIMIT 10 |
17:43:23.184 | 0.7 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contact_mobiles" WHERE "contact_id" IN (6127, 6126, 6125, 6121) |
17:43:23.178 | 0.6 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"='718' |
17:43:23.182 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contact_statuses" WHERE "id"=2 |
17:43:23.183 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id" IN (5446, 1011) |
17:43:23.183 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contact_key_roles" WHERE "contact_id" IN (6127, 6126, 6125, 6121) ORDER BY "key_role" |