| 20:26:43.127 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 20:26:43.127 | trace | yii\base\Module::getModule | Loading module: debug |
| 20:26:43.128 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 20:26:43.129 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 20:26:43.129 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 20:26:43.129 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 20:26:43.130 | info | time tracing start | 1784118403130414080 |
| 20:26:43.131 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 20:26:43.131 | trace | yii\web\Application::handleRequest | Route requested: 'v2/sales-contract/of-client' |
| 20:26:43.131 | trace | yii\base\Module::getModule | Loading module: v2 |
| 20:26:43.408 | info | yii\web\Session::open | Session started |
| 20:26:43.410 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 20:26:43.415 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='wXfR6UQn7fW_MTEa9o-7H8Ixg0fJU0Zm' |
| 20:26:43.418 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 20:26:43.418 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 20:26:43.419 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 20:26:43.420 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 20:26:43.420 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
| 20:26:43.422 | trace | yii\base\Controller::runAction | Route to run: v2/sales-contract/of-client |
| 20:26:43.423 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 20:26:43.425 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 20:26:43.425 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\SalesContractController::actionOfClient() |
| 20:26:43.425 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE ("id"='3354') AND ("deleted"=FALSE) |
| 20:26:43.426 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 20:26:43.426 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 20:26:43.427 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 20:26:43.427 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 20:26:43.428 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 20:26:43.429 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 20:26:43.431 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT c.*, abs(c.expire_date - current_date) AS b_date, CASE WHEN c.expire_date IS NULL THEN 1 ELSE 2 END AS passed FROM "a57be577deb434"."tbl_sales_contracts" "c" LEFT JOIN "a57be577deb434"."tbl_clients" "client" ON client.id = c.client_id LEFT JOIN "a57be577deb434"."tbl_projects" "p" ON p.id = c.from_project LEFT JOIN "a57be577deb434"."tbl_sales_group_relationships" "sgr" ON sgr.sales_id = client.sales_rep LEFT JOIN "a57be577deb434"."tbl_attachement_relationships" "cs" ON cs.object_id = c.id AND cs.object_type = 105 LEFT JOIN "a57be577deb434"."tbl_attachement_relationships" "rs" ON rs.object_id = c.id AND rs.object_type = 106 LEFT JOIN "a57be577deb434"."tbl_attachement_relationships" "vs" ON vs.object_id = c.id AND vs.object_type = 107 WHERE "client"."id"='3354' GROUP BY "c"."id" ORDER BY "c"."signed_at" DESC, "c"."created_at" DESC) "c" |
| 20:26:43.435 | info | yii\db\Command::query | SELECT c.*, abs(c.expire_date - current_date) AS b_date, CASE WHEN c.expire_date IS NULL THEN 1 ELSE 2 END AS passed FROM "a57be577deb434"."tbl_sales_contracts" "c" LEFT JOIN "a57be577deb434"."tbl_clients" "client" ON client.id = c.client_id LEFT JOIN "a57be577deb434"."tbl_projects" "p" ON p.id = c.from_project LEFT JOIN "a57be577deb434"."tbl_sales_group_relationships" "sgr" ON sgr.sales_id = client.sales_rep LEFT JOIN "a57be577deb434"."tbl_attachement_relationships" "cs" ON cs.object_id = c.id AND cs.object_type = 105 LEFT JOIN "a57be577deb434"."tbl_attachement_relationships" "rs" ON rs.object_id = c.id AND rs.object_type = 106 LEFT JOIN "a57be577deb434"."tbl_attachement_relationships" "vs" ON vs.object_id = c.id AND vs.object_type = 107 WHERE "client"."id"='3354' GROUP BY "c"."id" ORDER BY "c"."signed_at" DESC, "c"."created_at" DESC LIMIT 10 |
| 20:26:43.439 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 20:26:43.439 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 20:26:43.439 | 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", "duration") VALUES (200, 'a57be577deb434', 1000, 2, 1161, 'v2/sales-contract/of-client', '{"access_token":"wXfR6UQn7fW_MTEa9o-7H8Ixg0fJU0Zm","device_type":"2","id":"3354","page":"1","posttime":"1784118400","token":"7f027a4318839f4122cd75dac4e58a9e","version_code":"1161"}', '{"code":200,"data":{"list":[],"pagenation":{"totalcount":0,"thispage":1,"pagesize":10}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"ip":"111.9.5.127","ua":"jinchangxiao\/2.3.158 (iPhone 12 mini; iOS 26.2; Scale\/3.00)"}', FALSE, '2026-07-15 20:26:43', 309138944) RETURNING "id" |