Log Messages

总计58条数据
TimeLevelCategoryMessage
 
11:32:29.379traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
11:32:29.379traceyii\base\Module::getModuleLoading module: debug
11:32:29.379traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
11:32:29.380traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
11:32:29.380traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
11:32:29.381traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:32:29.383infotime tracing start1782876749383742208
11:32:29.384traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
11:32:29.384traceyii\web\Application::handleRequestRoute requested: 'vue/erp-sales-outbound/save-new'
11:32:29.384traceyii\base\Module::getModuleLoading module: vue
11:32:29.385infoyii\web\Session::openSession started
11:32:29.387infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
11:32:29.387infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
11:32:29.396traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:32:29.396traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:32:29.397infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
11:32:29.398traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:32:29.398traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:32:29.398infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
11:32:29.401traceyii\base\Controller::runActionRoute to run: vue/erp-sales-outbound/save-new
11:32:29.401traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:32:29.403traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
11:32:29.403traceyii\base\InlineAction::runWithParamsRunning action: app\modules\vue\controllers\ErpSalesOutboundController::actionSaveNew()
11:32:29.405traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'id' in 'app\models\ErpSalesOutbounds'.
11:32:29.405traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:32:29.405infoyii\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_sales_outbounds' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
11:32:29.413infoyii\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_sales_outbounds' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
11:32:29.424traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:32:29.424traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
11:32:29.425traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'client_name' in 'app\models\ErpSalesOutbounds'.
11:32:29.425traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'erpSalesOutboundVerifyRels' in 'app\models\ErpSalesOutbounds'.
11:32:29.425traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'erp_store_name' in 'app\models\ErpSalesOutbounds'.
11:32:29.425traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'erpSalesOutboundProducts' in 'app\models\ErpSalesOutbounds'.
11:32:29.425traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'files' in 'app\models\ErpSalesOutbounds'.
11:32:29.425traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:32:29.426traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:32:29.427infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_outbounds" WHERE ("created_at" >= '2026-07-01 00:00:00') AND ("created_at" <= '2026-07-01 23:59:59') AND ("serial_no" ILIKE '%XSCKD-20260701-%') AND (LENGTH(serial_no) = 20) ORDER BY "serial_no" DESC
11:32:29.429infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_erp_sales_outbounds" WHERE "serial_no"='XSCKD-20260701-00001')
11:32:29.430infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1001')
11:32:29.431infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='982')
11:32:29.431infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='4161')
11:32:29.432infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_erp_stores" WHERE "id"='2')
11:32:29.438infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
11:32:29.439infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE "id"='1699')
11:32:29.440infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_order_products" WHERE "id"=2230
11:32:29.441infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_products" WHERE "id"=2261
11:32:29.441infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_products" WHERE "erp_sales_order_product_id"=2230
11:32:29.442infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_outbounds" WHERE "id"=151
11:32:29.443infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_spent_products" WHERE "erp_sales_outbound_product_id"=446
11:32:29.445infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_return_products" WHERE "erp_sales_outbound_spent_product_id"=533
11:32:29.445infoyii\db\Command::querySELECT sum(inventory) as inventory FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE ("product_id"='2261') AND ("erp_store_id"='2')
11:32:29.446infoyii\db\Command::querySELECT "name" FROM "a57be577deb434"."tbl_products" WHERE "id"='2261'
11:32:29.447infoyii\db\Command::querySELECT "title" FROM "a57be577deb434"."tbl_erp_stores" WHERE "id"='2'
11:32:29.447traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:32:29.448traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:32:29.448infoyii\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/erp-sales-outbound/save-new', '{"ErpSalesOutbounds":{"id":"","client_id":"982","client_name":"\u4e2d\u56fd\u4fe1\u606f\u5b89\u5168\u7814\u7a76\u6240","erp_send_type_id":"","handler":"1001","project_id":"4161","wrote_date":"2026-07-01","serial_no":"XSCKD-20260701-00001","erpSalesOutboundVerifyRels":"","abstract":"","description":"","erp_store_id":"2","erp_store_name":"\u96f6\u914d\u4ef6","erp_sales_order_id":"1699","erpSalesOutboundProducts":{"new":[{"product_id":"2261","number":"3","amount":"100","total_amount":"300.00","description":"","hardware_from":"","software_from":"","maintenance_from":"","hardware_to":"","software_to":"","maintenance_to":"","erp_sales_order_product_id":"2230","erp_store_id":"2","is_check":"0","erpSalesOutboundSpentProducts":""}]},"files":""},"web_access_token":"9OODFZFZk-X86cfjXzRsEqn62HNQjGnS"}', '{"code":500,"result":{},"status":0,"msg":[{"name":"error","success":"","error":"MK-MC300\u5728\u4ed3\u5e93\u3010\u96f6\u914d\u4ef6\u3011\u5e93\u5b58\u4e0d\u8db3"}],"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-07-01 11:32:29', 64533760) RETURNING "id"
11:32:29.453traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:32:29.453traceyii\redis\Connection::executeCommandExecuting Redis Command: SET