Performance Profiling

Total processing time: 42 ms; Peak memory: 3.704 MB. Show Profiling Timeline

总计42条数据
TimeDurationCategoryInfo
  
10:28:29.7772.7 msyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='LaARkbjpq8ODkVzzYWTT4va5Qt3CsuSp'
10:28:29.7751.8 msyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
10:28:29.7971.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=4) AND ("object_id"=1837)
10:28:29.7861.2 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Location', 19232, 'a:0:{}', '', 1017, '223.104.40.121')
10:28:29.8001.2 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_contacts" WHERE "id"=5245
10:28:29.7981.1 msyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=4) AND ("object_id"=1837)
10:28:29.7801.1 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1017
10:28:29.8131.1 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', 1017, 2, 1141, 'v2/pre-sales/save-edit', '{"PreSales":{"attendedContacts":"","case_id":"8279","client_concerns":"","client_id":"2815","description":"","end_at":"2025-07-11 10:25","has_following_work":"0","id":"1837","is_draft":"1","location_in_address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u84dd\u975b\u5382\u4e1c\u8def\u9760\u8fd1\u91d1\u6e90\u65f6\u4ee3\u5546\u52a1\u4e2d\u5fc3","location_in_distance":"975.76563863347","location_in_id":"19232","location_in_lat":"39.9606486002604","location_in_lng":"116.289408365885","location_in_updated_at":"2025-07-11 10:23:00","location_out_address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u84dd\u975b\u5382\u4e1c\u8def\u9760\u8fd1\u5317\u4eac\u4e16\u7eaa\u661f\u8c6a\u9152\u5e97","location_out_distance":"943.13490148381","location_out_id":"19233","location_out_lat":"39.9607340494792","location_out_lng":"116.288998209635","location_out_updated_at":"2025-07-11 10:25:00","pre_sales_assessment":"","service_id":"273","start_at":"2025-07-11 10:23"},"access_token":"LaARkbjpq8ODkVzzYWTT4va5Qt3CsuSp","device_type":"2","posttime":"1752200960","token":"bc62ba401ec4c5abefe8f55a5b73767f","version_code":"1141"}', '{"code":200,"data":"","status":1,"msg":[{"name":"success","success":"\u552e\u524d\u5de5\u5355\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}]}', FALSE, '2025-07-11 10:28:29') RETURNING "id"
10:28:29.7931.0 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (2, 'is_draft', 1837, 4, 1017, 'now()', '["\u662f"]', '["\u5426"]', '{"d1":"\u8f66\u660e\u98de","d2":"\u66f4\u65b0\u4e86","d3":"\u662f\u5426\u4e3a\u8349\u7a3f","d4":["\u5426 <b>\u53d8\u4e3a<\/b> \u662f"]}')
10:28:29.8101.0 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "users", "description") VALUES (2, 'update', 8279, 18, 1837, 4, 1017, '1837', '1837', array[1004,1017], '{"d1":"\u8f66\u660e\u98de","d2":"\u66f4\u65b0\u4e86","d3":"\u552e\u524d\u5de5\u5355","d4":["\u5de5\u5355\u7f16\u53f7:PS250711001001"]}') RETURNING "id"
10:28:29.8110.8 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\UserActionLogs', 137127, 'a:15:{s:2:"id";i:137127;s:9:"object_id";s:4:"8279";s:11:"object_type";i:18;s:9:"target_id";i:1837;s:18:"target_object_type";i:4;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:4:"1837";s:9:"new_value";s:4:"1837";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:16:"array[1004,1017]";s:6:"params";a:0:{}}s:11:"description";s:134:"{"d1":"\u8f66\u660e\u98de","d2":"\u66f4\u65b0\u4e86","d3":"\u552e\u524d\u5de5\u5355","d4":["\u5de5\u5355\u7f16\u53f7:PS250711001001"]}";s:10:"created_by";i:1017;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1017, '223.104.40.121')
10:28:29.7940.8 msyii\db\Command::executeUPDATE "a57be577deb434"."tbl_pre_sales" SET "client_id"=2815, "start_at"='2025-07-11 10:23:00', "updated_at"='now()', "end_at"='2025-07-11 10:25:00', "has_following_work"=FALSE, "is_draft"=TRUE, "case_id"=8279, "service_id"=273, "location_in_id"=19232, "location_out_id"=19233, "indistance"=975.76563863347, "outdistance"=943.13490148381 WHERE "id"=1837
10:28:29.8070.8 msyii\db\Command::executeUPDATE "a57be577deb434"."tbl_cases" SET "updated_at"='now()' WHERE "id"=8279
10:28:29.7880.8 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Location', 19233, 'a:0:{}', '', 1017, '223.104.40.121')
10:28:29.8050.8 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (2, 'update', 8279, 18, 1837, 4, 1017, '[1837]', '[1837]', '{"d1":"\u8f66\u660e\u98de","d2":"\u66f4\u65b0\u4e86","d3":"\u552e\u524d\u5de5\u5355","d4":["\u5de5\u5355\u7f16\u53f7:PS250711001001"]}') RETURNING "id"
10:28:29.8060.8 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 510517, 'a:13:{s:2:"id";i:510517;s:9:"object_id";s:4:"8279";s:11:"object_type";i:18;s:9:"target_id";i:1837;s:18:"target_object_type";i:4;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[1837]";s:9:"new_value";s:6:"[1837]";s:11:"description";s:134:"{"d1":"\u8f66\u660e\u98de","d2":"\u66f4\u65b0\u4e86","d3":"\u552e\u524d\u5de5\u5355","d4":["\u5de5\u5355\u7f16\u53f7:PS250711001001"]}";s:10:"created_by";i:1017;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1017, '223.104.40.121')
10:28:29.7950.8 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\PreSales', 1837, 'a:4:{s:8:"start_at";s:19:"2025-07-11 10:23:00";s:6:"end_at";s:19:"2025-07-11 10:25:00";s:18:"has_following_work";s:1:"0";s:8:"is_draft";s:1:"1";}', '', 1017, '223.104.40.121')
10:28:29.8020.7 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (2, 'attendedContacts', 1837, 4, 1017, 'now()', '[[]]', '[["\u674e\u4fca"]]', '{"d1":"\u8f66\u660e\u98de","d2":"\u66f4\u65b0\u4e86","d3":"\u53c2\u52a0\u4eba\u5458","d4":["\u674e\u4fca; <b>\u53d8\u4e3a<\/b> (\u672a\u8bbe\u7f6e)"]}')
10:28:29.8080.7 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Cases', 8279, 'a:1:{s:8:"start_at";s:19:"2025-07-11 08:00:00";}', '', 1017, '223.104.40.121')
10:28:29.8030.6 msyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_contact_attend_pre_sales" WHERE "pre_sales_id"=1837
10:28:29.7960.6 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815'
10:28:29.7830.6 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_pre_sales" WHERE "id"='1837'
10:28:29.7840.5 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8279
10:28:29.7890.5 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815')
10:28:29.8040.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_pre_sales_product_types" WHERE "pre_sales_id"=1837
10:28:29.7850.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_location" WHERE "id"='19232'
10:28:29.8020.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1017
10:28:29.8040.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1017
10:28:29.8090.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815
10:28:29.7910.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1017
10:28:29.8000.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_contact_attend_pre_sales" WHERE "pre_sales_id"=1837
10:28:29.8090.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1017
10:28:29.7920.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1017
10:28:29.7900.2 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1017)
10:28:29.8070.2 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"='8279'
10:28:29.7920.2 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"='8279'
10:28:29.7900.2 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"='8279')
10:28:29.7900.2 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1017)
10:28:29.7870.2 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_location" WHERE "id"='19233'
10:28:29.7910.2 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_location" WHERE "id"='19232')
10:28:29.8040.2 msyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_pre_sales_product_types" WHERE "pre_sales_id"=1837
10:28:29.7910.2 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_location" WHERE "id"='19233')