Performance Profiling

Total processing time: 32 ms; Peak memory: 2.476 MB. Show Profiling Timeline

总计27条数据
TimeDurationCategoryInfo
  
18:15:13.1392.5 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":"32","page":"1","pageSize":"20","web_access_token":"fm5QrMzndTK8qE2wxJ4UQJeJaYto4p5c"}', '{"code":2000,"result":{"account_caption":{"id":32,"ledger_id":1,"parent_id":"","ledger_cash_item_id":"","ledger_cash_in_item_id":15,"ledger_cash_out_item_id":19,"title":"\u5728\u5efa\u5de5\u7a0b","serial_no":"1604","amount":"0","balance_amount":"0","actual_amount":"0","description":"","type":1,"direction":1,"sort":25,"can_create_child":true,"can_change_amount":true,"is_system":true,"is_delete":false,"is_current":false,"is_auxiliary_customer":true,"is_auxiliary_supplier":false,"is_cash_equivalent":false,"created_by":1000,"created_at":"2026-06-29 17:04:16","updated_at":"2026-07-16 18:15:12","year_debit_amount":"0","year_credit_amount":"0","parent":{},"child":[],"cashInItem":{"id":15,"ledger_id":1,"parent_id":12,"title":"\u5904\u7f6e\u56fa\u5b9a\u8d44\u4ea7\u3001\u65e0\u5f62\u8d44\u4ea7\u548c\u5176\u4ed6\u957f\u671f\u8d44\u4ea7\u6536\u56de\u7684\u73b0\u91d1\u51c0\u989d","serial_no":"200203","category":2,"type":1,"description":"","sort":15,"is_system":true,"is_delete":false,"created_by":1000,"created_at":"2026-06-29 17:04:16","updated_at":"2026-06-29 17:04:16"},"cashOutItem":{"id":19,"ledger_id":1,"parent_id":12,"title":"\u8d2d\u5efa\u56fa\u5b9a\u8d44\u4ea7\u3001\u65e0\u5f62\u8d44\u4ea7\u548c\u5176\u4ed6\u957f\u671f\u8d44\u4ea7\u6240\u652f\u4ed8\u7684\u73b0\u91d1","serial_no":"200207","category":2,"type":2,"description":"","sort":19,"is_system":true,"is_delete":false,"created_by":1000,"created_at":"2026-06-29 17:04:16","updated_at":"2026-06-29 17:04:16"},"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":0,"auxiliary_types":[1],"auxiliary_type_displays":["\u5ba2\u6237"],"auxiliary_type_display":"\u5ba2\u6237","cash_in_item_title":"\u5904\u7f6e\u56fa\u5b9a\u8d44\u4ea7\u3001\u65e0\u5f62\u8d44\u4ea7\u548c\u5176\u4ed6\u957f\u671f\u8d44\u4ea7\u6536\u56de\u7684\u73b0\u91d1\u51c0\u989d","cash_out_item_title":"\u8d2d\u5efa\u56fa\u5b9a\u8d44\u4ea7\u3001\u65e0\u5f62\u8d44\u4ea7\u548c\u5176\u4ed6\u957f\u671f\u8d44\u4ea7\u6240\u652f\u4ed8\u7684\u73b0\u91d1","index":1,"can_open_auxiliary_opening":true,"can_create_auxiliary_opening":true,"can_bind_cash_item":true,"can_update":true,"can_delete":false,"can_stop":true,"can_start":false},"auxiliary_types":[1],"auxiliary_type_displays":["\u5ba2\u6237"],"list":[{"id":2,"ledger_id":1,"ledger_account_caption_id":32,"auxiliary_item_id":2,"amount":"0","opening_debit_amount":"0","opening_credit_amount":"0","description":"","sort":2,"created_by":1000,"created_at":"2026-07-16 17:43:55","updated_at":"2026-07-16 17:43:55","accountCaption":{"id":32,"ledger_id":1,"parent_id":"","ledger_cash_item_id":"","ledger_cash_in_item_id":15,"ledger_cash_out_item_id":19,"title":"\u5728\u5efa\u5de5\u7a0b","serial_no":"1604","amount":"0","balance_amount":"0","actual_amount":"0","description":"","type":1,"direction":1,"sort":25,"can_create_child":true,"can_change_amount":true,"is_system":true,"is_delete":false,"is_current":false,"is_auxiliary_customer":true,"is_auxiliary_supplier":false,"is_cash_equivalent":false,"created_by":1000,"created_at":"2026-06-29 17:04:16","updated_at":"2026-07-16 18:15:12","year_debit_amount":"0","year_credit_amount":"0"},"auxiliaryItem":{"id":2,"ledger_id":1,"serial_no":"100002","title":"\u4e2d\u56fd\u4fe1\u606f\u5b89\u5168\u7814\u7a76\u6240","type":1,"description":"","sort":2,"is_system":true,"is_delete":false,"created_by":1001,"created_at":"2026-07-16 17:38:49","updated_at":"2026-07-16 17:38:49"},"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"}},"year_debit_amount":"0","year_credit_amount":"0","year_begin_amount":"0","auxiliary_item_title":"\u4e2d\u56fd\u4fe1\u606f\u5b89\u5168\u7814\u7a76\u6240","auxiliary_item_serial_no":"100002","auxiliary_item_type":1,"auxiliary_item_type_display":"\u5ba2\u6237","account_caption_serial_no":"1604","account_caption_title":"\u5728\u5efa\u5de5\u7a0b","can_update":true,"can_delete":true}],"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":1,"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 18:15:13', 23627008) RETURNING "id"
18:15:13.1180.9 msyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1013
18:15:13.1200.8 msyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "ledger_access_token"='fm5QrMzndTK8qE2wxJ4UQJeJaYto4p5c'
18:15:13.1300.7 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_ledger_auxiliary_opening_balances" WHERE (("ledger_id"='1') AND ("ledger_account_caption_id"='32')) AND ("auxiliary_item_id" IN (SELECT "id" FROM "a57be577deb434"."tbl_ledger_auxiliary_items" WHERE ("ledger_id"='1') AND ("type"=1))) ORDER BY "sort", "id"
18:15:13.1340.6 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_ledger_auxiliary_opening_balances" WHERE (("ledger_id"='1') AND ("ledger_account_caption_id"='32')) 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
18:15:13.1220.5 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
18:15:13.1240.5 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE ("id"='32') AND ("ledger_id"='1')
18:15:13.1250.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE "parent_id"=32 ORDER BY "serial_no", "id"
18:15:13.1230.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_ledgers" WHERE "id"='1'
18:15:13.1290.4 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE ("ledger_id"='1') AND ("parent_id"='32'))
18:15:13.1290.4 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE ("ledger_id"=1) AND ("parent_id"=32))
18:15:13.1350.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE "id"=32
18:15:13.1310.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE "id"=32
18:15:13.1270.4 msyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
18:15:13.1320.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_ledger_auxiliary_items" WHERE "id"=2
18:15:13.1280.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)
18:15:13.1360.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
18:15:13.1170.3 msyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
18:15:13.1320.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
18:15:13.1360.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)
18:15:13.1350.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_ledger_auxiliary_items" WHERE "id"=2
18:15:13.1260.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_ledger_cash_items" WHERE "id"=15
18:15:13.1330.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)
18:15:13.1260.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_ledger_cash_items" WHERE "id"=19
18:15:13.1370.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=10
18:15:13.1280.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=10
18:15:13.1330.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=10