Performance Profiling

Total processing time: 106 ms; Peak memory: 3.744 MB. Show Profiling Timeline

总计36条数据
TimeDurationCategoryInfo
  
08:17:01.64921.9 msyii\db\Command::querySELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=20) AND ("object_id"=8303) GROUP BY "object_id"
08:17:01.67117.2 msyii\db\Command::querySELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=20) AND (remind_user_id = 1000 AND is_read = false) AND ("object_id"=8303) GROUP BY "object_id"
08:17:01.6262.6 msyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='cb0fvGQIlTiMX2Nd2_76kPS4VKidx1ZG'
08:17:01.6432.1 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=19) AND ("object_id"=8303)
08:17:01.6241.8 msyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
08:17:01.6461.8 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=22) AND ("object_id"=8303)
08:17:01.6321.5 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "created_by"=1000 ORDER BY "created_at" DESC
08:17:01.6931.4 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_reimbursements" ("status", "amount", "occurrence_at", "created_by") VALUES (0, '378.31', '2025-09-07 00:00:00', 1000) RETURNING "id"
08:17:01.6391.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE "reimbursement_id"=8303 ORDER BY "id"
08:17:01.6291.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
08:17:01.6481.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_tickets" WHERE "reimbursement_id"=8303
08:17:01.6421.2 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status" != 0) AND ("reimbursement_id"=8303) ORDER BY "id"
08:17:01.6911.2 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "name"='saler_name_0'
08:17:01.7181.2 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_attachments" ("name", "path", "orig_name", "extension", "file_type", "file_size", "ip_address", "created_by") VALUES ('615b3740-eae1-3288-a548-a07619555189', '/var/www/beta/web/files/protected/a57be577deb434/2025/09/', 'Screenshot_20250907_113449_com.jinchangxiao.bms.jpg', 'jpg', 'application/octet-stream', 8952, '114.246.239.150', 1000) RETURNING "id"
08:17:01.6401.2 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status"=0) AND ("reimbursement_id"=8303) ORDER BY "id"
08:17:01.6951.0 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\Reimbursements', 8304, 'a:18:{s:2:"id";i:8304;s:6:"status";i:0;s:6:"amount";s:6:"378.31";s:13:"occurrence_at";s:19:"2025-09-07 00:00:00";s:18:"settle_accounts_at";N;s:18:"settle_accounts_by";N;s:11:"description";N;s:10:"created_by";i:1000;s:10:"created_at";N;s:10:"updated_at";N;s:18:"refuse_description";N;s:9:"client_id";N;s:10:"project_id";N;s:16:"next_verify_user";N;s:13:"is_resubmited";N;s:11:"work_log_id";N;s:12:"pre_sales_id";N;s:19:"implement_record_id";N;}', '', 1000, '39.107.117.60')
08:17:01.7231.0 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_reimbursement_invoice_numbers" ("op", "attachment_id", "reimbursement_id", "number") VALUES (NULL, 28417, 8304, '84365954825680828744') RETURNING "id"
08:17:01.7251.0 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', 1000, 0, 266, 'v2/reimbursement/save-recognize', '{"access_token":"cb0fvGQIlTiMX2Nd2_76kPS4VKidx1ZG","InvoiceRecognize":[{"saler_name":"saler_name_0","invoice_duplicated":"0","occurrence_at":"2025-09-07 00:00:00","x0":"28","x1":"424","x2":"424","x3":"28","y0":"30","y1":"30","y2":"423","y3":"423","amount":"378.31","purchaser_name":"purchaser_name_0","serial_no":"84365954825680828744","attachment_id":"28072"}],"device_type":"0","version_code":"266","posttime":"1758586621","token":"04b687608c6c6f5ab51b2e19a51e69d2"}', '{"code":200,"data":{"success":1},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-09-23 08:17:01') RETURNING "id"
08:17:01.7210.9 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_attachement_relationships" ("object_type", "object_id", "attachment_id") VALUES (19, 8304, 28417) RETURNING "id"
08:17:01.7240.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\ReimbursementInvoiceNumbers', 129, 'a:5:{s:2:"id";i:129;s:16:"reimbursement_id";i:8304;s:13:"attachment_id";i:28417;s:2:"op";N;s:6:"number";s:20:"84365954825680828744";}', '', 1000, '39.107.117.60')
08:17:01.7190.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\Attachments', 28417, 'a:10:{s:2:"id";i:28417;s:9:"orig_name";s:51:"Screenshot_20250907_113449_com.jinchangxiao.bms.jpg";s:4:"path";s:57:"/var/www/beta/web/files/protected/a57be577deb434/2025/09/";s:4:"name";s:36:"615b3740-eae1-3288-a548-a07619555189";s:9:"extension";s:3:"jpg";s:9:"file_size";i:8952;s:10:"ip_address";s:15:"114.246.239.150";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"file_type";s:24:"application/octet-stream";}', '', 1000, '39.107.117.60')
08:17:01.7220.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\AttachmentRelationships', 49757, 'a:4:{s:2:"id";i:49757;s:11:"object_type";i:19;s:9:"object_id";i:8304;s:13:"attachment_id";i:28417;}', '', 1000, '39.107.117.60')
08:17:01.6370.7 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_reimbursement_settle_rels" WHERE ("user_id"=1000) AND ("reimbursement_id"=8303)
08:17:01.6380.6 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_reimbursement_settle_rels" WHERE "reimbursement_id"=8303
08:17:01.6890.5 msyii\db\Command::querySELECT count(distinct reimbursement_id) as count, number FROM "a57be577deb434"."tbl_reimbursement_invoice_numbers" WHERE (number is not null) AND ("number"='84365954825680828744') GROUP BY "number"
08:17:01.6360.5 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=8303
08:17:01.6890.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_reimbursement_invoice_numbers" WHERE "reimbursement_id"=8303
08:17:01.6450.4 msyii\db\Command::querySELECT "id", "id" AS "key", "name", "extension", "path", "orig_name" FROM "a57be577deb434"."tbl_attachments" WHERE "id"=28416
08:17:01.6350.4 msyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1000)
08:17:01.6900.4 msyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=15) AND ("is_delete"=FALSE)
08:17:01.6350.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=10
08:17:01.6370.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_reimbursement_carbon_copy_rels" WHERE "reimbursement_id"=8303
08:17:01.6340.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
08:17:01.6360.2 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("term_id"=18) AND ("object_type"=7) AND ("object_id"=8303)
08:17:01.6960.2 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachments" WHERE "id"='28072'
08:17:01.6900.2 msyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=18) AND ("is_delete"=FALSE)