| 18:40:47.066 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 18:40:47.066 | trace | yii\base\Module::getModule | Loading module: debug |
| 18:40:47.066 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 18:40:47.069 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 18:40:47.069 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 18:40:47.072 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:40:47.074 | info | time tracing start | 1780310447074711040 |
| 18:40:47.074 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 18:40:47.074 | trace | yii\web\Application::handleRequest | Route requested: 'v2/sales-contract/of-client' |
| 18:40:47.074 | trace | yii\base\Module::getModule | Loading module: v2 |
| 18:40:47.075 | info | yii\web\Session::open | Session started |
| 18:40:47.076 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 18:40:47.078 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='QKDY_CpNUpX4m5jisn-MMZOAmIh4LXYL' |
| 18:40:47.087 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:40:47.090 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 18:40:47.092 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:40:47.095 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 18:40:47.099 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5064 |
| 18:40:47.103 | trace | yii\base\Controller::runAction | Route to run: v2/sales-contract/of-client |
| 18:40:47.103 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:40:47.105 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 18:40:47.105 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\SalesContractController::actionOfClient() |
| 18:40:47.105 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE ("id"='3424') AND ("deleted"=FALSE) |
| 18:40:47.112 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:40:47.115 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 18:40:47.119 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:40:47.120 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 18:40:47.120 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:40:47.121 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:40:47.126 | 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"='3424' GROUP BY "c"."id" ORDER BY "c"."signed_at" DESC, "c"."created_at" DESC) "c" |
| 18:40:47.136 | 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"='3424' GROUP BY "c"."id" ORDER BY "c"."signed_at" DESC, "c"."created_at" DESC LIMIT 10 |
| 18:40:47.149 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:40:47.151 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 18:40:47.152 | 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', 5064, 2, 1155, 'v2/sales-contract/of-client', '{"access_token":"QKDY_CpNUpX4m5jisn-MMZOAmIh4LXYL","device_type":"2","id":"3424","page":"1","posttime":"1780310400","token":"269d181ed5c4ee11d7a007ebdcc78fdf","version_code":"1155"}', '{"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":"223.104.44.100","ua":"jinchangxiao\/2.3.153 (iPhone 12; iOS 18.6.2; Scale\/3.00)"}', FALSE, '2026-06-01 18:40:47', 77325824) RETURNING "id" |