All Latest
6a490e2e033e2: POST https://beta.jinchangxiao.com/vue/erp-sales-outbound/check-scan-sn at 2026-07-04 09:44:14 pm by 115.171.251.90

Log Messages

总计52条数据
TimeLevelCategoryMessage
 
21:44:14.005traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
21:44:14.005traceyii\base\Module::getModuleLoading module: debug
21:44:14.006traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
21:44:14.013traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
21:44:14.014traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
21:44:14.014traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:44:14.021infotime tracing start1783172654021667840
21:44:14.021traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
21:44:14.021traceyii\web\Application::handleRequestRoute requested: 'vue/erp-sales-outbound/check-scan-sn'
21:44:14.022traceyii\base\Module::getModuleLoading module: vue
21:44:14.023infoyii\web\Session::openSession started
21:44:14.025infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
21:44:14.025infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
21:44:14.027traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:44:14.027traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:44:14.027traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:44:14.028traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:44:14.028infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
21:44:14.029traceyii\base\Controller::runActionRoute to run: vue/erp-sales-outbound/check-scan-sn
21:44:14.029traceyii\base\InlineAction::runWithParamsRunning action: app\modules\vue\controllers\ErpSalesOutboundController::actionCheckScanSn()
21:44:14.030infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_product_sns" WHERE "sn"='222'
21:44:14.031traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:44:14.031traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:44:14.032infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id" IN (470, 517)
21:44:14.032traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:44:14.033traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:44:14.033infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_products" WHERE "id" IN (2261, 870)
21:44:14.033traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:44:14.034traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:44:14.034infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_erp_stores" WHERE ("id"=1) AND ("is_delete"=FALSE))
21:44:14.035infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_product_sns" WHERE "id"=83
21:44:14.035infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_product_sns" WHERE "id"=83
21:44:14.036infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"=470
21:44:14.036infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_products" WHERE "id"=2261
21:44:14.037infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_product_brands" WHERE "id"=4
21:44:14.037traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:44:14.038infoyii\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_product_brands' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
21:44:14.041infoyii\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_product_brands' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
21:44:14.050traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:44:14.050traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
21:44:14.050infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_product_types" WHERE "id"=4
21:44:14.051traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:44:14.051infoyii\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_product_types' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
21:44:14.054infoyii\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_product_types' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
21:44:14.063traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:44:14.063traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
21:44:14.064infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_product_sns" WHERE "id"=83
21:44:14.065traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:44:14.065traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:44:14.066infoyii\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/check-scan-sn', '{"ErpSalesOutbounds":{"erpSalesOutboundProducts":{"450":{"product_id":"2261","number":"1","amount":"400","total_amount":"400.00","description":"","hardware_from":"","software_from":"","maintenance_from":"","hardware_to":"","software_to":"","erp_sales_order_product_id":"2233","erp_store_id":"1","maintenance_to":"","is_check":"0","erpSalesOutboundSpentProducts":[{"erp_inventory_product_id":"485","number":"1"}],"sns":""}}},"erp_sales_outbound_id":"154","scan_sn":"222"}', '{"code":2000,"result":{"scan_result":{"scan_sn":"222","status":1,"msg":"\u626b\u7801\u6210\u529f"},"scan_list":{"sns":[{"erp_inventory_product_sn_id":83,"erp_inventory_product_id":470,"sn":"222"}],"groups":[{"product_id":2261,"product_name":"MK-MC300","product_model":"","brand_name":"\u8054\u60f3","category_name":"\u7f51\u7edc\u8bbe\u5907 ","erp_store_id":1,"erp_inventory_product_id":470,"number":1,"error_number":0,"sns":[{"erp_inventory_product_sn_id":83,"erp_inventory_product_id":470,"sn":"222","is_error":false,"error_display":""}]}]}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"115.171.251.90","ua":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/149.0.0.0 Safari\/537.36"}', FALSE, '2026-07-04 21:44:14', 44250112) RETURNING "id"
21:44:14.068traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:44:14.068traceyii\redis\Connection::executeCommandExecuting Redis Command: SET