| Time | Level | Category | Message |
|---|---|---|---|
| 13:05:41.775 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 13:05:41.775 | trace | yii\base\Module::getModule | Loading module: debug |
| 13:05:41.776 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 13:05:41.776 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 13:05:41.776 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 13:05:41.776 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:05:41.776 | info | time tracing start | 1780376741776727040 |
| 13:05:41.776 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 13:05:41.776 | trace | yii\web\Application::handleRequest | Route requested: 'vue/smart-board/product-brand-list' |
| 13:05:41.776 | trace | yii\base\Module::getModule | Loading module: vue |
| 13:05:41.777 | info | yii\web\Session::open | Session started |
| 13:05:41.778 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 13:05:41.778 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 13:05:41.781 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:05:41.782 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:05:41.782 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:05:41.782 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:05:41.782 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 13:05:41.783 | trace | yii\base\Controller::runAction | Route to run: vue/smart-board/product-brand-list |
| 13:05:41.783 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:05:41.784 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 13:05:41.784 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\SmartBoardController::actionProductBrandList() |
| 13:05:41.784 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:05:41.785 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:05:41.786 | 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-01-01') AND ("t"."created_at" <= '2026-12-31 23:59:59') GROUP BY "gb"."id", "gb"."name" |
| 13:05:41.788 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:05:41.788 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:05:41.788 | 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-08-01') AND ("t"."created_at" <= '2025-12-31 23:59:59') GROUP BY "gb"."id", "gb"."name" |
| 13:05:41.790 | 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-01-01') AND ("t"."created_at" <= '2025-06-02 23:59:59') GROUP BY "gb"."id", "gb"."name" |
| 13:05:41.792 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:05:41.792 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:05:41.792 | 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":"currentfascalyear","page":"1","Filter":{"name":"budget","sort":"DESC"},"web_access_token":"eLSqRe8hqEgPBX_zWO9QINJWKjv2Vvg4"}', '{"code":2000,"result":{"list":[{"key":4,"name":"\u8054\u60f3","budget":"12755762","profit":"12699909.795","prev_budget":"457676.5","prev_profit":"94076.5","prev_budget_growth":26.8706,"prev_profit_growth":133.9955,"last_budget":"0","last_profit":"0","budget_growth":"1","profit_growth":"1"},{"key":276,"name":"\u4e2d\u535a\u6570\u667a","budget":"3837034","profit":"115112","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":8,"name":"PaloAlto","budget":"1807842","profit":"602148.8","prev_budget":"1715349.97","prev_profit":"666725.01","prev_budget_growth":0.0539,"prev_profit_growth":-0.0968,"last_budget":"0","last_profit":"0","budget_growth":"1","profit_growth":"1"},{"key":227,"name":"\u58f9\u8fdb\u5236","budget":"568521","profit":"318521","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":"404883","profit":"91485.78","prev_budget":"2382117.40","prev_profit":"699783.120000001","prev_budget_growth":-0.83,"prev_profit_growth":-0.8692,"last_budget":"0","last_profit":"0","budget_growth":"1","profit_growth":"1"},{"key":277,"name":"\u5c0f\u9c7c\u6613\u8fde","budget":"312000","profit":"47700","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":226,"name":"\u4eba\u5927\u91d1\u4ed3","budget":"137520","profit":"31520","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":16,"name":"Veeam","budget":"86100.2","profit":"37308.2","prev_budget":"136950","prev_profit":"85690","prev_budget_growth":-0.3713,"prev_profit_growth":-0.5646,"last_budget":"0","last_profit":"0","budget_growth":"1","profit_growth":"1"},{"key":133,"name":"\u62d3\u5b9e","budget":"83300","profit":"83300","prev_budget":"1267047","prev_profit":"1267047","prev_budget_growth":-0.9342,"prev_profit_growth":-0.9342,"last_budget":"0","last_profit":"0","budget_growth":"1","profit_growth":"1"},{"key":219,"name":"\u901f\u77f3","budget":"63840","profit":"12313.39","prev_budget":"308210.6","prev_profit":"66051.74","prev_budget_growth":-0.7928,"prev_profit_growth":-0.8135,"last_budget":"0","last_profit":"0","budget_growth":"1","profit_growth":"1"}],"pagenation":{"totalcount":23,"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-02 13:05:41', 15987200) RETURNING "id" |
| 13:05:41.793 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:05:41.794 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |