Performance Profiling

Total processing time: 22 ms; Peak memory: 2.391 MB. Show Profiling Timeline

总计16条数据
TimeDurationCategoryInfo
  
17:00:41.3761.4 msyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 6, 'ledger/settings/list-account-caption-auxiliary-opening', '{"access_token":"fm5QrMzndTK8qE2wxJ4UQJeJaYto4p5c","ledger_id":"1","ledger_account_caption_id":"170","page":"1","pageSize":"20","web_access_token":"fm5QrMzndTK8qE2wxJ4UQJeJaYto4p5c"}', '{"code":2000,"result":{"account_caption":{"id":170,"ledger_id":1,"parent_id":1,"ledger_cash_item_id":"","ledger_cash_in_item_id":"","ledger_cash_out_item_id":"","title":"\u73b0\u91d1","serial_no":"100101","amount":"8408.13","balance_amount":"8408.13","actual_amount":"8408.13","description":"","type":1,"direction":1,"sort":5,"can_create_child":false,"can_change_amount":false,"is_system":true,"is_delete":false,"is_current":false,"is_auxiliary_customer":true,"is_auxiliary_supplier":false,"is_cash_equivalent":true,"created_by":1000,"created_at":"2026-06-29 17:04:19","updated_at":"2026-07-16 16:57:46","year_debit_amount":"0.00","year_credit_amount":"0.00","parent":{"id":1,"ledger_id":1,"parent_id":"","ledger_cash_item_id":"","ledger_cash_in_item_id":"","ledger_cash_out_item_id":"","title":"\u5e93\u5b58\u73b0\u91d1","serial_no":"1001","amount":"0","balance_amount":"0","actual_amount":"0","description":"","type":1,"direction":1,"sort":1,"can_create_child":true,"can_change_amount":true,"is_system":true,"is_delete":false,"is_current":true,"is_auxiliary_customer":false,"is_auxiliary_supplier":false,"is_cash_equivalent":true,"created_by":1000,"created_at":"2026-06-29 17:04:16","updated_at":"2026-06-29 17:04:16","year_debit_amount":"0","year_credit_amount":"0"},"child":[],"cashInItem":"","cashOutItem":"","createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"M","department_id":10,"avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/\/avatar\/618545c1-a2ce-3918-9d51-25924baf6d6f.jpg"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"direction_display":"\u501f","year_begin_amount":8408.13,"auxiliary_types":[1],"auxiliary_type_displays":["\u5ba2\u6237"],"auxiliary_type_display":"\u5ba2\u6237","cash_in_item_title":"\u73b0\u91d1\u53ca\u73b0\u91d1\u7b49\u4ef7\u7269","cash_out_item_title":"\u73b0\u91d1\u53ca\u73b0\u91d1\u7b49\u4ef7\u7269","index":2,"can_open_auxiliary_opening":true,"can_create_auxiliary_opening":true,"can_bind_cash_item":false,"can_update":true,"can_delete":false,"can_stop":false,"can_start":false},"auxiliary_types":[1],"auxiliary_type_displays":["\u5ba2\u6237"],"list":[],"summary":{"subtotal_amount":"0","total_amount":"0","subtotal_opening_debit_amount":"0","total_opening_debit_amount":"0","subtotal_opening_credit_amount":"0","total_opening_credit_amount":"0"},"can_create":true,"pagenation":{"totalcount":0,"thispage":1,"pagesize":20}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"114.244.130.25","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:152.0) Gecko\/20100101 Firefox\/152.0"}', FALSE, '2026-07-16 17:00:41', 15902976) RETURNING "id"
17:00:41.3631.0 msyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1013
17:00:41.3651.0 msyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "ledger_access_token"='fm5QrMzndTK8qE2wxJ4UQJeJaYto4p5c'
17:00:41.3740.6 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_ledger_auxiliary_opening_balances" WHERE (("ledger_id"='1') AND ("ledger_account_caption_id"='170')) AND ("auxiliary_item_id" IN (SELECT "id" FROM "a57be577deb434"."tbl_ledger_auxiliary_items" WHERE ("ledger_id"='1') AND ("type"=1))) ORDER BY "sort", "id"
17:00:41.3670.6 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
17:00:41.3750.5 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_ledger_auxiliary_opening_balances" WHERE (("ledger_id"='1') AND ("ledger_account_caption_id"='170')) AND ("auxiliary_item_id" IN (SELECT "id" FROM "a57be577deb434"."tbl_ledger_auxiliary_items" WHERE ("ledger_id"='1') AND ("type"=1))) ORDER BY "sort", "id" LIMIT 20
17:00:41.3690.5 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE ("id"='170') AND ("ledger_id"='1')
17:00:41.3620.4 msyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
17:00:41.3700.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE "id"=1
17:00:41.3680.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_ledgers" WHERE "id"='1'
17:00:41.3700.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE "parent_id"=170 ORDER BY "serial_no", "id"
17:00:41.3710.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
17:00:41.3720.3 msyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1000)
17:00:41.3730.3 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE ("ledger_id"='1') AND ("parent_id"='170'))
17:00:41.3730.3 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE ("ledger_id"=1) AND ("parent_id"=170))
17:00:41.3720.2 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=10