09:55:54.550 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
09:55:54.550 | trace | yii\base\Module::getModule | Loading module: debug |
09:55:54.550 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
09:55:54.551 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
09:55:54.551 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
09:55:54.551 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
09:55:54.552 | trace | yii\base\Module::getModule | Loading module: gii |
09:55:54.552 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
09:55:54.552 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
09:55:54.552 | trace | yii\web\Application::handleRequest | Route requested: 'v2/pre-sales/list' |
09:55:54.552 | trace | yii\base\Module::getModule | Loading module: v2 |
09:55:54.677 | info | yii\web\Session::open | Session started |
09:55:54.678 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
09:55:54.680 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH' |
09:55:54.685 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
09:55:54.685 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
09:55:54.685 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
09:55:54.686 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
09:55:54.686 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
09:55:54.688 | trace | yii\base\Controller::runAction | Route to run: v2/pre-sales/list |
09:55:54.688 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
09:55:54.689 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
09:55:54.689 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\PreSalesController::actionList() |
09:55:54.689 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"='8279' |
09:55:54.690 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
09:55:54.690 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
09:55:54.691 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
09:55:54.691 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
09:55:54.692 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT
p.*,
p.end_at - p.start_at AS hours_spent
FROM "a57be577deb434"."tbl_pre_sales" "p" LEFT JOIN "a57be577deb434"."tbl_cases" "c" ON c.id = p.case_id WHERE "case_id"=8279 GROUP BY "p"."id" ORDER BY "is_draft" DESC, "p"."has_following_work" DESC, "p"."end_at" DESC) "c" |
09:55:54.694 | info | yii\db\Command::query | SELECT
p.*,
p.end_at - p.start_at AS hours_spent
FROM "a57be577deb434"."tbl_pre_sales" "p" LEFT JOIN "a57be577deb434"."tbl_cases" "c" ON c.id = p.case_id WHERE "case_id"=8279 GROUP BY "p"."id" ORDER BY "is_draft" DESC, "p"."has_following_work" DESC, "p"."end_at" DESC LIMIT 10 |
09:55:54.695 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
09:55:54.696 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
09:55:54.698 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
09:55:54.698 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
09:55:54.698 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1000, 2, 1141, 'v2/pre-sales/list', '{"access_token":"oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH","device_type":"2","id":"8279","posttime":"1752198912","token":"b3c12c50b1a654dca61b108fd5518506","version_code":"1141"}', '{"code":200,"data":{"list":[],"pagenation":{"totalcount":0,"thispage":1,"pagesize":10},"can_create":false},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-07-11 09:55:54') RETURNING "id" |