| Time | Level | Category | Message |
|---|---|---|---|
| 13:58:37.834 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 13:58:37.834 | trace | yii\base\Module::getModule | Loading module: debug |
| 13:58:37.835 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 13:58:37.836 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 13:58:37.836 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 13:58:37.836 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:58:37.837 | info | time tracing start | 1782194317837093120 |
| 13:58:37.837 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 13:58:37.837 | trace | yii\web\Application::handleRequest | Route requested: 'vue/smart-board/product-type-list' |
| 13:58:37.837 | trace | yii\base\Module::getModule | Loading module: vue |
| 13:58:37.838 | info | yii\web\Session::open | Session started |
| 13:58:37.840 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 13:58:37.840 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 13:58:37.841 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:58:37.842 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:58:37.843 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 13:58:37.844 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:58:37.844 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:58:37.844 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 13:58:37.845 | trace | yii\base\Controller::runAction | Route to run: vue/smart-board/product-type-list |
| 13:58:37.846 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:58:37.848 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 13:58:37.848 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\SmartBoardController::actionProductTypeList() |
| 13:58:37.848 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:58:37.849 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:58:37.851 | info | yii\db\Command::query | SELECT gt.id AS dim_key, gt.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_types" "gt" ON gt.id = prod.product_type 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 "gt"."id", "gt"."name" |
| 13:58:37.853 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:58:37.853 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:58:37.854 | info | yii\db\Command::query | SELECT gt.id AS dim_key, gt.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_types" "gt" ON gt.id = prod.product_type WHERE ("t"."status"=2) AND ("eipss"."erp_sales_outbound_spent_product_id" IS NOT NULL) AND ("t"."created_at" >= '2025-07-11') AND ("t"."created_at" <= '2025-12-31 23:59:59') GROUP BY "gt"."id", "gt"."name" |
| 13:58:37.857 | info | yii\db\Command::query | SELECT gt.id AS dim_key, gt.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_types" "gt" ON gt.id = prod.product_type 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-23 23:59:59') GROUP BY "gt"."id", "gt"."name" |
| 13:58:37.859 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:58:37.859 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:58:37.859 | 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-type-list', '{"period":"currentfascalyear","page":"1","Filter":{"name":"profit","sort":"DESC"},"web_access_token":"s1xKbg9e3rlah-dvFsDEWCxiJPk9VpSm"}', '{"code":2000,"result":{"list":[{"key":4,"name":"\u7f51\u7edc\u8bbe\u5907 ","budget":"13100302","profit":"12742347.795","prev_budget":"1410534","prev_profit":"324338.19","prev_budget_growth":8.2874,"prev_profit_growth":38.2872,"last_budget":"0","last_profit":"0","budget_growth":"1","profit_growth":"1"},{"key":5,"name":"\u5b89\u5168\u8bbe\u5907","budget":"1835092","profit":"598530.8","prev_budget":"2055612.37","prev_profit":"696087.97","prev_budget_growth":-0.1072,"prev_profit_growth":-0.1401,"last_budget":"0","last_profit":"0","budget_growth":"1","profit_growth":"1"},{"key":7,"name":"\u8f6f\u4ef6","budget":"948085.2","profit":"486295.03","prev_budget":"7118651.00","prev_profit":"1370285.010000001","prev_budget_growth":-0.8668,"prev_profit_growth":-0.6451,"last_budget":"0","last_profit":"0","budget_growth":"1","profit_growth":"1"},{"key":19,"name":"\u6280\u672f\u670d\u52a1","budget":"2710226","profit":"165808","prev_budget":"1665729","prev_profit":"1065151","prev_budget_growth":0.627,"prev_profit_growth":-0.8443,"last_budget":"0","last_profit":"0","budget_growth":"1","profit_growth":"1"},{"key":16,"name":"\u8fd0\u7ef4\u670d\u52a1","budget":"117000","profit":"40080","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":2,"name":"\u670d\u52a1\u5668","budget":"1283747","profit":"39147","prev_budget":"2035796.5","prev_profit":"295076.5","prev_budget_growth":-0.3694,"prev_profit_growth":-0.8673,"last_budget":"0","last_profit":"0","budget_growth":"1","profit_growth":"1"},{"key":22,"name":"\u670d\u52a1","budget":"168040","profit":"20059.26","prev_budget":"653178.6","prev_profit":"170645.00","prev_budget_growth":-0.7427,"prev_profit_growth":-0.8824,"last_budget":"0","last_profit":"0","budget_growth":"1","profit_growth":"1"},{"key":18,"name":"\u673a\u623f\u8bbe\u5907","budget":"36300","profit":"17023","prev_budget":"6000","prev_profit":"800","prev_budget_growth":5.05,"prev_profit_growth":20.2787,"last_budget":"0","last_profit":"0","budget_growth":"1","profit_growth":"1"},{"key":3,"name":"\u5b58\u50a8\u8bbe\u5907","budget":"61820","profit":"12400","prev_budget":"2236271","prev_profit":"1344728","prev_budget_growth":-0.9723,"prev_profit_growth":-0.9907,"last_budget":"0","last_profit":"0","budget_growth":"1","profit_growth":"1"},{"key":106,"name":"\u516c\u6709\u4e91","budget":"2400","profit":"738.08","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":10,"thispage":1,"pagesize":10}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"221.216.117.25","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:152.0) Gecko\/20100101 Firefox\/152.0"}', FALSE, '2026-06-23 13:58:37', 22358784) RETURNING "id" |
| 13:58:37.863 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:58:37.863 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |