| 17:24:30.368 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 17:24:30.368 | trace | yii\base\Module::getModule | Loading module: debug |
| 17:24:30.369 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 17:24:30.369 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 17:24:30.370 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 17:24:30.370 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:24:30.370 | info | time tracing start | 1782811470370786816 |
| 17:24:30.371 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 17:24:30.371 | trace | yii\web\Application::handleRequest | Route requested: 'ledger/book/list-balance' |
| 17:24:30.371 | trace | yii\base\Module::getModule | Loading module: ledger |
| 17:24:30.372 | info | yii\web\Session::open | Session started |
| 17:24:30.373 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 17:24:30.374 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "ledger_access_token"='fm5QrMzndTK8qE2wxJ4UQJeJaYto4p5c' |
| 17:24:30.375 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:24:30.376 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:24:30.376 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:24:30.376 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:24:30.377 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 17:24:30.378 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_ledgers" WHERE "id"='1' |
| 17:24:30.378 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:24:30.378 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:24:30.379 | trace | yii\base\Controller::runAction | Route to run: ledger/book/list-balance |
| 17:24:30.379 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\ledger\controllers\BookController::actionListBalance() |
| 17:24:30.379 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE ("ledger_id"='1') AND ("is_delete"=FALSE) ORDER BY "serial_no", "id" |
| 17:24:30.382 | info | yii\db\Command::query | SELECT "i"."ledger_account_caption_id" AS "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" INNER JOIN "a57be577deb434"."tbl_ledger_tickets" "t" ON i.ledger_ticket_id = t.id WHERE (("t"."ledger_id"='1') AND ("t"."status"=1)) AND ("i"."ledger_account_caption_id" IN (1, 170, 171, 172, 173, 2, 3, 4, 169, 175, 176, 177, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168)) AND ("t"."ticket_date" <= '2026-05-31') GROUP BY "i"."ledger_account_caption_id" |
| 17:24:30.384 | info | yii\db\Command::query | SELECT "i"."ledger_account_caption_id" AS "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" INNER JOIN "a57be577deb434"."tbl_ledger_tickets" "t" ON i.ledger_ticket_id = t.id WHERE (("t"."ledger_id"='1') AND ("t"."status"=1)) AND ("i"."ledger_account_caption_id" IN (1, 170, 171, 172, 173, 2, 3, 4, 169, 175, 176, 177, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168)) AND ("t"."ticket_date" >= '2026-06-01') AND ("t"."ticket_date" <= '2026-06-30') GROUP BY "i"."ledger_account_caption_id" |
| 17:24:30.388 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:24:30.388 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:24:30.388 | 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/book/list-balance', '{"access_token":"fm5QrMzndTK8qE2wxJ4UQJeJaYto4p5c","ledger_id":"1","page":"1","pageSize":"200","LedgerBookSearch":{"period_start":"2026-06","period_end":"2026-06","view_type":"all","current_account_caption_id":"171","level_from":"1","level_to":"6","show_disabled":"0","hide_zero_balance":"0","hide_no_amount_zero":"0"},"web_access_token":"fm5QrMzndTK8qE2wxJ4UQJeJaYto4p5c"}', '{"code":2000,"result":{"summary":{"opening_debit_amount":790652.68,"opening_credit_amount":"0","period_debit_amount":0,"period_credit_amount":0,"ending_debit_amount":790652.68,"ending_credit_amount":"0","balance_check":{"opening_diff_amount":790652.68,"period_diff_amount":0,"ending_diff_amount":790652.68,"is_opening_balanced":false,"is_period_balanced":true,"is_ending_balanced":false},"monthly_connection_status":"","record_count":1},"list":[{"row_type":"account","account_caption_id":171,"account_caption_serial_no":"100102","account_caption_title":"\u62db\u5546\u94f6\u884c\u5317\u4eac\u4e16\u7eaa\u57ce\u652f\u884c \u7fc1\u5bb6\u6210 6225880174507062","account_caption_name":"100102 \u62db\u5546\u94f6\u884c\u5317\u4eac\u4e16\u7eaa\u57ce\u652f\u884c \u7fc1\u5bb6\u6210 6225880174507062","level":2,"opening_debit_amount":"790652.68","opening_credit_amount":"0","period_debit_amount":"0","period_credit_amount":"0","ending_debit_amount":790652.68,"ending_credit_amount":"0","target":{"action":"list-detail","params":{"ticket_word":"","ticket_serial_no_from":"","ticket_serial_no_to":"","show_disabled":0,"period_start":"2026-06","period_end":"2026-06","current_account_caption_id":171}}}],"pagenation":{"totalcount":1,"thispage":1,"pagesize":200}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"39.156.194.178","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:152.0) Gecko\/20100101 Firefox\/152.0"}', FALSE, '2026-06-30 17:24:30', 17813248) RETURNING "id" |
| 17:24:30.393 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:24:30.393 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |