14:05:33.269 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
14:05:33.269 | trace | yii\base\Module::getModule | Loading module: debug |
14:05:33.270 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
14:05:33.270 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
14:05:33.270 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
14:05:33.270 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:33.271 | trace | yii\base\Module::getModule | Loading module: gii |
14:05:33.271 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
14:05:33.271 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
14:05:33.271 | trace | yii\web\Application::handleRequest | Route requested: 'vue/erp-cash-cost-ticket/search-sales-contract' |
14:05:33.271 | trace | yii\base\Module::getModule | Loading module: vue |
14:05:33.272 | info | yii\web\Session::open | Session started |
14:05:33.273 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=5250 |
14:05:33.273 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
14:05:33.279 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:33.279 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:05:33.280 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:33.280 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:05:33.280 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5250 |
14:05:33.283 | trace | yii\base\Controller::runAction | Route to run: vue/erp-cash-cost-ticket/search-sales-contract |
14:05:33.283 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ErpCashCostTicketController::actionSearchSalesContract() |
14:05:33.283 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:33.283 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:05:33.284 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:33.285 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:33.286 | 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"='3351') AND (erp_un_settle_amount > 0) GROUP BY "c"."id" ORDER BY "c"."signed_at" DESC, "c"."created_at" DESC) "c" |
14:05:33.292 | 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"='3351') AND (erp_un_settle_amount > 0) GROUP BY "c"."id" ORDER BY "c"."signed_at" DESC, "c"."created_at" DESC |
14:05:33.295 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:33.295 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:05:33.295 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 5250, 5, 'vue/erp-cash-cost-ticket/search-sales-contract', '{"id":"3351","web_access_token":"HRJtynI-E0wmAZJhW07mofn0AVjTn_iH"}', '{"code":2000,"result":{"list":[],"can_create":true,"pagenation":{"totalcount":0,"thispage":1,"pagesize":-1}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0}', FALSE, '2025-08-29 14:05:33') RETURNING "id" |
14:05:33.297 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:33.297 | trace | yii\db\Transaction::begin | Begin transaction |
14:05:33.297 | info | yii\db\Command::query | SELECT * FROM "global"."tbl_browser_ua_statistics" "b" WHERE "user_agent"='Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36' |
14:05:33.297 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:33.297 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:05:33.297 | info | yii\db\Command::execute | UPDATE "global"."tbl_browser_ua_statistics" SET "counter"=3400 WHERE "id"=156 |
14:05:33.298 | trace | yii\db\Transaction::commit | Commit transaction |
14:05:33.298 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |