| Time | Level | Category | Message |
|---|---|---|---|
| 18:17:40.959 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 18:17:40.959 | trace | yii\base\Module::getModule | Loading module: debug |
| 18:17:40.960 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 18:17:40.960 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 18:17:40.960 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 18:17:40.961 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:17:40.961 | info | time tracing start | 1784197060961636096 |
| 18:17:40.961 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 18:17:40.961 | trace | yii\web\Application::handleRequest | Route requested: 'ledger/settings/list-account-caption-auxiliary-opening' |
| 18:17:40.961 | trace | yii\base\Module::getModule | Loading module: ledger |
| 18:17:40.962 | info | yii\web\Session::open | Session started |
| 18:17:40.963 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1013 |
| 18:17:40.963 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 18:17:40.965 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:17:40.966 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 18:17:40.966 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "ledger_access_token"='fm5QrMzndTK8qE2wxJ4UQJeJaYto4p5c' |
| 18:17:40.968 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:17:40.968 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 18:17:40.969 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 18:17:40.969 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_ledgers" WHERE "id"='1' |
| 18:17:40.970 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:17:40.970 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 18:17:40.970 | trace | yii\base\Controller::runAction | Route to run: ledger/settings/list-account-caption-auxiliary-opening |
| 18:17:40.971 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\ledger\controllers\SettingsController::actionListAccountCaptionAuxiliaryOpening() |
| 18:17:40.971 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE ("id"='32') AND ("ledger_id"='1') |
| 18:17:40.972 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE "parent_id"=32 ORDER BY "serial_no", "id" |
| 18:17:40.972 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_ledger_cash_items" WHERE "id"=15 |
| 18:17:40.973 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_ledger_cash_items" WHERE "id"=19 |
| 18:17:40.973 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
| 18:17:40.974 | info | 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:17:40.974 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=10 |
| 18:17:40.975 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE ("ledger_id"='1') AND ("parent_id"='32')) |
| 18:17:40.975 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE ("ledger_id"=1) AND ("parent_id"=32)) |
| 18:17:40.976 | info | yii\db\Command::query | SELECT * 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:17:40.977 | info | yii\db\Command::query | SELECT * 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:17:40.978 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:17:40.978 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 18:17:40.979 | info | 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":"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:17:32","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":[],"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:17:40', 17363968) RETURNING "id" |
| 18:17:40.981 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:17:40.981 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |