| 14:50:48.814 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 14:50:48.814 | trace | yii\base\Module::getModule | Loading module: debug |
| 14:50:48.814 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 14:50:48.814 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 14:50:48.815 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 14:50:48.815 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 14:50:48.815 | info | time tracing start | 1780901448815459840 |
| 14:50:48.815 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 14:50:48.815 | trace | yii\web\Application::handleRequest | Route requested: 'vue/smart-board/product-brand-list' |
| 14:50:48.815 | trace | yii\base\Module::getModule | Loading module: vue |
| 14:50:49.330 | info | yii\web\Session::open | Session started |
| 14:50:49.330 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 14:50:49.330 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 14:50:49.337 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 14:50:49.337 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 14:50:49.338 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 14:50:49.339 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 14:50:49.339 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 14:50:49.339 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 14:50:49.340 | trace | yii\base\Controller::runAction | Route to run: vue/smart-board/product-brand-list |
| 14:50:49.340 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 14:50:49.342 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 14:50:49.342 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\SmartBoardController::actionProductBrandList() |
| 14:50:49.342 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 14:50:49.344 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 14:50:49.346 | info | yii\db\Command::query | SELECT gb.id AS dim_key, gb.name AS name, COALESCE(SUM(eipss.total_amount), 0) AS budget, COALESCE(SUM(eipss.total_amount - COALESCE(eipss.actual_total_amount, 0)), 0) AS profit FROM "a57be577deb434"."tbl_erp_inventory_product_spents" "eipss" INNER JOIN "a57be577deb434"."tbl_erp_sales_outbounds" "t" ON t.id = eipss.erp_sales_outbound_id INNER JOIN "a57be577deb434"."tbl_erp_sales_outbound_spent_products" "sp" ON sp.id = eipss.erp_sales_outbound_spent_product_id INNER JOIN "a57be577deb434"."tbl_products" "prod" ON prod.id = sp.product_id LEFT JOIN "a57be577deb434"."tbl_product_brands" "gb" ON gb.id = prod.product_brand WHERE ("t"."status"=2) AND ("eipss"."erp_sales_outbound_spent_product_id" IS NOT NULL) AND ("t"."created_at" >= '2022-06-02') AND ("t"."created_at" <= '2022-06-09 23:59:59') GROUP BY "gb"."id", "gb"."name" |
| 14:50:49.348 | info | yii\db\Command::query | SELECT gb.id AS dim_key, gb.name AS name, COALESCE(SUM(eipss.total_amount), 0) AS budget, COALESCE(SUM(eipss.total_amount - COALESCE(eipss.actual_total_amount, 0)), 0) AS profit FROM "a57be577deb434"."tbl_erp_inventory_product_spents" "eipss" INNER JOIN "a57be577deb434"."tbl_erp_sales_outbounds" "t" ON t.id = eipss.erp_sales_outbound_id INNER JOIN "a57be577deb434"."tbl_erp_sales_outbound_spent_products" "sp" ON sp.id = eipss.erp_sales_outbound_spent_product_id INNER JOIN "a57be577deb434"."tbl_products" "prod" ON prod.id = sp.product_id LEFT JOIN "a57be577deb434"."tbl_product_brands" "gb" ON gb.id = prod.product_brand WHERE ("t"."status"=2) AND ("eipss"."erp_sales_outbound_spent_product_id" IS NOT NULL) AND ("t"."created_at" >= '2022-05-25') AND ("t"."created_at" <= '2022-06-01 23:59:59') GROUP BY "gb"."id", "gb"."name" |
| 14:50:49.349 | info | yii\db\Command::query | SELECT gb.id AS dim_key, gb.name AS name, COALESCE(SUM(eipss.total_amount), 0) AS budget, COALESCE(SUM(eipss.total_amount - COALESCE(eipss.actual_total_amount, 0)), 0) AS profit FROM "a57be577deb434"."tbl_erp_inventory_product_spents" "eipss" INNER JOIN "a57be577deb434"."tbl_erp_sales_outbounds" "t" ON t.id = eipss.erp_sales_outbound_id INNER JOIN "a57be577deb434"."tbl_erp_sales_outbound_spent_products" "sp" ON sp.id = eipss.erp_sales_outbound_spent_product_id INNER JOIN "a57be577deb434"."tbl_products" "prod" ON prod.id = sp.product_id LEFT JOIN "a57be577deb434"."tbl_product_brands" "gb" ON gb.id = prod.product_brand WHERE ("t"."status"=2) AND ("eipss"."erp_sales_outbound_spent_product_id" IS NOT NULL) AND ("t"."created_at" >= '2021-06-02') AND ("t"."created_at" <= '2021-06-09 23:59:59') GROUP BY "gb"."id", "gb"."name" |
| 14:50:49.351 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 14:50:49.352 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 14:50:49.352 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/smart-board/product-brand-list', '{"from":"2022-06-02","to":"2022-06-09","page":"1","Filter":{"name":"budget","sort":"DESC"},"web_access_token":"l4p3M_87vSdo8QF-blMLH4iPaepKw7vp"}', '{"code":2000,"result":{"list":[],"pagenation":{"totalcount":0,"thispage":1,"pagesize":10}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"221.216.117.119","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:151.0) Gecko\/20100101 Firefox\/151.0"}', FALSE, '2026-06-08 14:50:49', 537065984) RETURNING "id" |
| 14:50:49.354 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 14:50:49.354 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |