Log Messages

总计37条数据
TimeLevelCategoryMessage
 
17:57:45.902traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
17:57:45.903traceyii\base\Module::getModuleLoading module: debug
17:57:45.903traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
17:57:45.905traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
17:57:45.905traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
17:57:45.906traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:57:45.906infotime tracing start1780048665906592000
17:57:45.906traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
17:57:45.906traceyii\web\Application::handleRequestRoute requested: 'vue/smart-board/product-brand-list'
17:57:45.906traceyii\base\Module::getModuleLoading module: vue
17:57:46.077infoyii\web\Session::openSession started
17:57:46.078infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
17:57:46.078infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
17:57:46.080traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:57:46.080traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:57:46.081traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:57:46.081traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:57:46.081infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
17:57:46.082traceyii\base\Controller::runActionRoute to run: vue/smart-board/product-brand-list
17:57:46.082traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:57:46.084traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
17:57:46.084traceyii\base\InlineAction::runWithParamsRunning action: app\modules\vue\controllers\SmartBoardController::actionProductBrandList()
17:57:46.084traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:57:46.086traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:57:46.091infoyii\db\Command::querySELECT 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"
17:57:46.097traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:57:46.100infoyii\db\Command::querySELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'tbl_erp_inventory_product_spents' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
17:57:46.106infoyii\db\Command::queryselect ct.conname as constraint_name, a.attname as column_name, fc.relname as foreign_table_name, fns.nspname as foreign_table_schema, fa.attname as foreign_column_name from (SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s FROM pg_constraint ct ) AS ct inner join pg_class c on c.oid=ct.conrelid inner join pg_namespace ns on c.relnamespace=ns.oid inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s] left join pg_class fc on fc.oid=ct.confrelid left join pg_namespace fns on fc.relnamespace=fns.oid left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s] where ct.contype='f' and c.relname='tbl_erp_inventory_product_spents' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
17:57:46.146traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:57:46.147traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
17:57:46.147infoyii\db\Command::querySELECT 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-05') AND ("t"."created_at" <= '2025-12-31 23:59:59') GROUP BY "gb"."id", "gb"."name"
17:57:46.150infoyii\db\Command::querySELECT 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-05-29 23:59:59') GROUP BY "gb"."id", "gb"."name"
17:57:46.153traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:57:46.153traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:57:46.154infoyii\db\Command::queryINSERT 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":"YNQKwEYJYN8muCSh8ExnNlBf2oepDAlv"}', '{"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-05-29 17:57:46', 248005888) RETURNING "id"
17:57:46.156traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:57:46.156traceyii\redis\Connection::executeCommandExecuting Redis Command: SET