| 14:46:01.791 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 14:46:01.791 | trace | yii\base\Module::getModule | Loading module: debug |
| 14:46:01.792 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 14:46:01.792 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 14:46:01.792 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 14:46:01.792 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 14:46:01.793 | info | time tracing start | 1780901161793189120 |
| 14:46:01.793 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 14:46:01.793 | trace | yii\web\Application::handleRequest | Route requested: 'vue/smart-board/product-brand-list' |
| 14:46:01.793 | trace | yii\base\Module::getModule | Loading module: vue |
| 14:46:02.299 | info | yii\web\Session::open | Session started |
| 14:46:02.300 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 14:46:02.300 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 14:46:02.306 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 14:46:02.306 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 14:46:02.307 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 14:46:02.308 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 14:46:02.308 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 14:46:02.308 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 14:46:02.309 | trace | yii\base\Controller::runAction | Route to run: vue/smart-board/product-brand-list |
| 14:46:02.309 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 14:46:02.311 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 14:46:02.311 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\SmartBoardController::actionProductBrandList() |
| 14:46:02.311 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 14:46:02.313 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 14:46:02.314 | 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" >= '2026-05-01') AND ("t"."created_at" <= '2026-05-31 23:59:59') GROUP BY "gb"."id", "gb"."name" |
| 14:46:02.316 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 14:46:02.316 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 14:46:02.317 | 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" >= '2026-03-31') AND ("t"."created_at" <= '2026-04-30 23:59:59') GROUP BY "gb"."id", "gb"."name" |
| 14:46:02.318 | 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" >= '2025-05-01') AND ("t"."created_at" <= '2025-05-31 23:59:59') GROUP BY "gb"."id", "gb"."name" |
| 14:46:02.320 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 14:46:02.320 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 14:46:02.321 | 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', '{"period":"lastmonth","page":"1","Filter":{"name":"budget","sort":"DESC"},"web_access_token":"l4p3M_87vSdo8QF-blMLH4iPaepKw7vp"}', '{"code":2000,"result":{"list":[{"key":4,"name":"\u8054\u60f3","budget":"8468748","profit":"8468613","prev_budget":"4234324","prev_profit":"4233676.795","prev_budget_growth":1,"prev_profit_growth":1.0002,"last_budget":"0","last_profit":"0","budget_growth":"1","profit_growth":"1"},{"key":8,"name":"PaloAlto","budget":"176442","profit":"17643.8","prev_budget":"0","prev_profit":"0","prev_budget_growth":"1","prev_profit_growth":"1","last_budget":"0","last_profit":"0","budget_growth":"1","profit_growth":"1"},{"key":12,"name":"\u6df1\u4fe1\u670d","budget":"33333","profit":"33332","prev_budget":"0","prev_profit":"0","prev_budget_growth":"1","prev_profit_growth":"1","last_budget":"0","last_profit":"0","budget_growth":"1","profit_growth":"1"},{"key":270,"name":"\u91d1\u7545\u900d","budget":"18000","profit":"17999","prev_budget":"0","prev_profit":"0","prev_budget_growth":"1","prev_profit_growth":"1","last_budget":"0","last_profit":"0","budget_growth":"1","profit_growth":"1"}],"pagenation":{"totalcount":4,"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:46:02', 527745024) RETURNING "id" |
| 14:46:02.322 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 14:46:02.322 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |