Total processing time: 145 ms; Peak memory: 3.820 MB. Show Profiling Timeline
| Time | Duration | Category | Info |
|---|---|---|---|
| 17:56:15.507 | 4.6 ms | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 5252, 6, 'ledger/book/list-account-caption', '{"access_token":"O6Vr7bn3kQPZ5hlF6w1MM7SX_Njw-iTV","ledger_id":"1","page":"1","pageSize":"-1","parent_id":"","start_account_caption_id":"58","end_account_caption_id":"58","web_access_token":"O6Vr7bn3kQPZ5hlF6w1MM7SX_Njw-iTV"}', '{"code":2000,"result":{"list":[{"id":56,"ledger_id":1,"parent_id":"","ledger_cash_item_id":"","ledger_cash_in_item_id":3,"ledger_cash_out_item_id":8,"title":"\u5e94\u4ea4\u7a0e\u8d39","serial_no":"2221","amount":"0","balance_amount":"0","actual_amount":"0","description":"","type":2,"direction":2,"sort":6,"can_create_child":true,"can_change_amount":false,"is_system":true,"is_delete":false,"is_current":true,"is_auxiliary_customer":false,"is_auxiliary_supplier":false,"is_cash_equivalent":false,"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,"cashInItem":{"id":3,"ledger_id":1,"parent_id":1,"title":"\u6536\u5230\u7684\u7a0e\u8d39\u8fd4\u8fd8","serial_no":"200102","category":1,"type":1,"description":"","sort":3,"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":8,"ledger_id":1,"parent_id":1,"title":"\u652f\u4ed8\u7684\u5404\u9879\u7a0e\u8d39","serial_no":"200107","category":1,"type":2,"description":"","sort":8,"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":"\u8d37","year_begin_amount":0,"auxiliary_types":[],"auxiliary_type_displays":[],"auxiliary_type_display":"","cash_in_item_title":"\u6536\u5230\u7684\u7a0e\u8d39\u8fd4\u8fd8","cash_out_item_title":"\u652f\u4ed8\u7684\u5404\u9879\u7a0e\u8d39","index":1,"can_open_auxiliary_opening":false,"can_create_auxiliary_opening":false,"can_bind_cash_item":true,"can_update":true,"can_delete":false,"can_stop":false,"can_start":false,"child":[{"id":57,"ledger_id":1,"parent_id":56,"ledger_cash_item_id":"","ledger_cash_in_item_id":3,"ledger_cash_out_item_id":8,"title":"\u5e94\u4ea4\u589e\u503c\u7a0e","serial_no":"222101","amount":"0","balance_amount":"0","actual_amount":"18614.41","description":"","type":2,"direction":2,"sort":1,"can_create_child":true,"can_change_amount":false,"is_system":true,"is_delete":false,"is_current":true,"is_auxiliary_customer":false,"is_auxiliary_supplier":false,"is_cash_equivalent":false,"created_by":1000,"created_at":"2026-06-29 17:04:16","updated_at":"2026-06-29 17:49:20","year_debit_amount":0,"year_credit_amount":0,"cashInItem":{"id":3,"ledger_id":1,"parent_id":1,"title":"\u6536\u5230\u7684\u7a0e\u8d39\u8fd4\u8fd8","serial_no":"200102","category":1,"type":1,"description":"","sort":3,"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":8,"ledger_id":1,"parent_id":1,"title":"\u652f\u4ed8\u7684\u5404\u9879\u7a0e\u8d39","serial_no":"200107","category":1,"type":2,"description":"","sort":8,"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":"\u8d37","year_begin_amount":0,"auxiliary_types":[],"auxiliary_type_displays":[],"auxiliary_type_display":"","cash_in_item_title":"\u6536\u5230\u7684\u7a0e\u8d39\u8fd4\u8fd8","cash_out_item_title":"\u652f\u4ed8\u7684\u5404\u9879\u7a0e\u8d39","index":2,"can_open_auxiliary_opening":false,"can_create_auxiliary_opening":false,"can_bind_cash_item":true,"can_update":true,"can_delete":false,"can_stop":false,"can_start":false,"child":[{"id":58,"ledger_id":1,"parent_id":57,"ledger_cash_item_id":"","ledger_cash_in_item_id":3,"ledger_cash_out_item_id":8,"title":"\u8fdb\u9879\u7a0e\u989d","serial_no":"22210101","amount":"0","balance_amount":"0","actual_amount":"18492.41","description":"","type":2,"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":false,"created_by":1000,"created_at":"2026-06-29 17:04:16","updated_at":"2026-06-29 17:49:20","year_debit_amount":"0","year_credit_amount":"0","cashInItem":{"id":3,"ledger_id":1,"parent_id":1,"title":"\u6536\u5230\u7684\u7a0e\u8d39\u8fd4\u8fd8","serial_no":"200102","category":1,"type":1,"description":"","sort":3,"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":8,"ledger_id":1,"parent_id":1,"title":"\u652f\u4ed8\u7684\u5404\u9879\u7a0e\u8d39","serial_no":"200107","category":1,"type":2,"description":"","sort":8,"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":[],"auxiliary_type_displays":[],"auxiliary_type_display":"","cash_in_item_title":"\u6536\u5230\u7684\u7a0e\u8d39\u8fd4\u8fd8","cash_out_item_title":"\u652f\u4ed8\u7684\u5404\u9879\u7a0e\u8d39","index":3,"can_open_auxiliary_opening":false,"can_create_auxiliary_opening":false,"can_bind_cash_item":true,"can_update":true,"can_delete":false,"can_stop":false,"can_start":false,"child":[]}]}]}],"can_create":true,"pagenation":{"totalcount":1,"thispage":1,"pagesize":-1}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"221.216.117.25","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:152.0) Gecko\/20100101 Firefox\/152.0"}', FALSE, '2026-06-29 17:56:15', 129556992) RETURNING "id" |
| 17:56:15.494 | 2.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE "ledger_id"='1' ORDER BY "serial_no", "id" |
| 17:56:15.476 | 2.1 ms | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "ledger_access_token"='O6Vr7bn3kQPZ5hlF6w1MM7SX_Njw-iTV' |
| 17:56:15.471 | 1.8 ms | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 17:56:15.486 | 1.6 ms | yii\db\Command::query | SELECT "id", "parent_id", "direction", "amount", "year_debit_amount", "year_credit_amount" FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE "ledger_id"='1' ORDER BY "id" |
| 17:56:15.484 | 1.5 ms | yii\db\Command::query | SELECT "i"."ledger_account_caption_id", COALESCE(sum(i.debit_amount), 0) AS "debit_amount", COALESCE(sum(i.credit_amount), 0) AS "credit_amount" FROM "a57be577deb434"."tbl_ledger_ticket_items" "i" LEFT JOIN "a57be577deb434"."tbl_ledger_tickets" "t" ON i.ledger_ticket_id = t.id WHERE ("t"."ledger_id"='1') AND ("t"."status"=1) GROUP BY "i"."ledger_account_caption_id" |
| 17:56:15.472 | 1.2 ms | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 17:56:15.498 | 1.0 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_ledger_cash_items" WHERE "id" IN (20, 2, 6, 14, 8, 9, 4, 19, 22, 30, 7, 31, 32, 15, 35) |
| 17:56:15.480 | 1.0 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5252 |
| 17:56:15.497 | 0.7 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_ledger_cash_items" WHERE "id" IN (13, 2, 6, 14, 3, 4, 15, 27, 7, 28, 26, 31, 9, 35, 8) |
| 17:56:15.481 | 0.6 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_ledgers" WHERE "id"='1' |
| 17:56:15.500 | 0.6 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (1000, 5064, 1001) |
| 17:56:15.501 | 0.5 ms | yii\db\Command::query | SELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id" IN (1000, 1001, 5064)) |
| 17:56:15.502 | 0.4 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id" IN (10, 4) |