20:30:55.033 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
20:30:55.033 | trace | yii\base\Module::getModule | Loading module: debug |
20:30:55.033 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
20:30:55.033 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
20:30:55.033 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
20:30:55.034 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:30:55.034 | trace | yii\base\Module::getModule | Loading module: gii |
20:30:55.034 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
20:30:55.034 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
20:30:55.034 | trace | yii\web\Application::handleRequest | Route requested: 'v2/pre-sales/list' |
20:30:55.034 | trace | yii\base\Module::getModule | Loading module: v2 |
20:30:55.035 | info | yii\web\Session::open | Session started |
20:30:55.035 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
20:30:55.038 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd' |
20:30:55.042 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:30:55.044 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:30:55.045 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:30:55.045 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:30:55.045 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
20:30:55.047 | trace | yii\base\Controller::runAction | Route to run: v2/pre-sales/list |
20:30:55.048 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:30:55.049 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
20:30:55.049 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\PreSalesController::actionList() |
20:30:55.049 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"='8270' |
20:30:55.050 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:30:55.050 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:30:55.050 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:30:55.050 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:30:55.051 | 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"=8270 GROUP BY "p"."id" ORDER BY "is_draft" DESC, "p"."has_following_work" DESC, "p"."end_at" DESC) "c" |
20:30:55.053 | 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"=8270 GROUP BY "p"."id" ORDER BY "is_draft" DESC, "p"."has_following_work" DESC, "p"."end_at" DESC LIMIT 10 |
20:30:55.055 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:30:55.056 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:30:55.057 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:30:55.057 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:30:55.057 | 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":"Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd","device_type":"2","id":"8270","posttime":"1751891456","token":"ce5b8d120de0efc341c84a05c8f7c948","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-07 20:30:55') RETURNING "id" |