14:19:13.054 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
14:19:13.054 | trace | yii\base\Module::getModule | Loading module: debug |
14:19:13.054 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
14:19:13.055 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
14:19:13.055 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
14:19:13.055 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:19:13.055 | trace | yii\base\Module::getModule | Loading module: gii |
14:19:13.055 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
14:19:13.056 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
14:19:13.056 | trace | yii\web\Application::handleRequest | Route requested: 'v2/pre-sales/list' |
14:19:13.056 | trace | yii\base\Module::getModule | Loading module: v2 |
14:19:13.056 | info | yii\web\Session::open | Session started |
14:19:13.057 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
14:19:13.059 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd' |
14:19:13.063 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:19:13.064 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:19:13.064 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:19:13.064 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:19:13.064 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
14:19:13.066 | trace | yii\base\Controller::runAction | Route to run: v2/pre-sales/list |
14:19:13.066 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:19:13.067 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
14:19:13.068 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\PreSalesController::actionList() |
14:19:13.068 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"='8267' |
14:19:13.068 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:19:13.069 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:19:13.069 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:19:13.069 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:19:13.069 | 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"=8267 GROUP BY "p"."id" ORDER BY "is_draft" DESC, "p"."has_following_work" DESC, "p"."end_at" DESC) "c" |
14:19:13.072 | 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"=8267 GROUP BY "p"."id" ORDER BY "is_draft" DESC, "p"."has_following_work" DESC, "p"."end_at" DESC LIMIT 10 |
14:19:13.073 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:19:13.074 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:19:13.075 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:19:13.075 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:19:13.076 | 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, 0, 261, 'v2/pre-sales/list', '{"access_token":"Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd","device_type":"0","version_code":"261","id":"8267","page":"1","token":"e127ec44b462cf57211a8c69b2a19dc2","posttime":"1751609954"}', '{"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-04 14:19:13') RETURNING "id" |