Total processing time: 23 ms; Peak memory: 2.396 MB. Show Profiling Timeline
| Time | Duration | Category | Info |
|---|---|---|---|
| 18:02:52.222 | 1.9 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', 1001, 6, 'ledger/settings/list-account-caption-auxiliary-opening', '{"access_token":"fm5QrMzndTK8qE2wxJ4UQJeJaYto4p5c","ledger_id":"1","ledger_account_caption_id":"11","page":"1","pageSize":"20","web_access_token":"fm5QrMzndTK8qE2wxJ4UQJeJaYto4p5c"}', '{"code":2000,"result":{"account_caption":{"id":11,"ledger_id":1,"parent_id":"","ledger_cash_item_id":"","ledger_cash_in_item_id":2,"ledger_cash_out_item_id":2,"title":"\u5e94\u6536\u8d26\u6b3e","serial_no":"1122","amount":"5781545.71","balance_amount":"5781545.71","actual_amount":"5781545.71","description":"","type":1,"direction":1,"sort":6,"can_create_child":true,"can_change_amount":true,"is_system":true,"is_delete":false,"is_current":true,"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 15:37:41","year_debit_amount":"0.00","year_credit_amount":"0.00","parent":{},"child":[],"cashInItem":{"id":2,"ledger_id":1,"parent_id":1,"title":"\u9500\u552e\u5546\u54c1\u3001\u63d0\u4f9b\u52b3\u52a1\u6536\u5230\u7684\u73b0\u91d1","serial_no":"200101","category":1,"type":1,"description":"","sort":2,"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":2,"ledger_id":1,"parent_id":1,"title":"\u9500\u552e\u5546\u54c1\u3001\u63d0\u4f9b\u52b3\u52a1\u6536\u5230\u7684\u73b0\u91d1","serial_no":"200101","category":1,"type":1,"description":"","sort":2,"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":5781545.71,"auxiliary_types":[1],"auxiliary_type_displays":["\u5ba2\u6237"],"auxiliary_type_display":"\u5ba2\u6237","cash_in_item_title":"\u9500\u552e\u5546\u54c1\u3001\u63d0\u4f9b\u52b3\u52a1\u6536\u5230\u7684\u73b0\u91d1","cash_out_item_title":"\u9500\u552e\u5546\u54c1\u3001\u63d0\u4f9b\u52b3\u52a1\u6536\u5230\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":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 18:02:52', 16026112) RETURNING "id" |
| 18:02:52.218 | 0.9 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_ledger_auxiliary_opening_balances" WHERE (("ledger_id"='1') AND ("ledger_account_caption_id"='11')) 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:02:52.208 | 0.7 ms | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1013 |
| 18:02:52.220 | 0.7 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_ledger_auxiliary_opening_balances" WHERE (("ledger_id"='1') AND ("ledger_account_caption_id"='11')) 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:02:52.210 | 0.6 ms | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "ledger_access_token"='fm5QrMzndTK8qE2wxJ4UQJeJaYto4p5c' |
| 18:02:52.216 | 0.6 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=10 |
| 18:02:52.211 | 0.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 18:02:52.214 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE "parent_id"=11 ORDER BY "serial_no", "id" |
| 18:02:52.213 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE ("id"='11') AND ("ledger_id"='1') |
| 18:02:52.214 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_ledger_cash_items" WHERE "id"=2 |
| 18:02:52.217 | 0.3 ms | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE ("ledger_id"='1') AND ("parent_id"='11')) |
| 18:02:52.216 | 0.3 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"=1000) |
| 18:02:52.208 | 0.3 ms | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 18:02:52.218 | 0.3 ms | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE ("ledger_id"=1) AND ("parent_id"=11)) |
| 18:02:52.212 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_ledgers" WHERE "id"='1' |
| 18:02:52.215 | 0.3 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
| 18:02:52.215 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_ledger_cash_items" WHERE "id"=2 |