Log Messages

总计52条数据
TimeLevelCategoryMessage
 
11:32:44.908traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
11:32:44.908traceyii\base\Module::getModuleLoading module: debug
11:32:44.909traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
11:32:44.909traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
11:32:44.910traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
11:32:44.910traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:32:44.910infotime tracing start1782876764910980864
11:32:44.911traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
11:32:44.911traceyii\web\Application::handleRequestRoute requested: 'vue/erp-sales-outbound/search-product-list'
11:32:44.911traceyii\base\Module::getModuleLoading module: vue
11:32:44.912infoyii\web\Session::openSession started
11:32:44.914infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
11:32:44.914infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
11:32:44.917traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:32:44.917traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:32:44.918infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
11:32:44.919traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:32:44.920traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:32:44.920infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
11:32:44.921traceyii\base\Controller::runActionRoute to run: vue/erp-sales-outbound/search-product-list
11:32:44.921traceyii\base\InlineAction::runWithParamsRunning action: app\modules\vue\controllers\ErpSalesOutboundController::actionSearchProductList()
11:32:44.921infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE "id"='1699'
11:32:44.922traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:32:44.922traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:32:44.923infoyii\db\Command::querySELECT COUNT(*) FROM (SELECT esops.* FROM "a57be577deb434"."tbl_erp_sales_order_products" "esops" LEFT JOIN "a57be577deb434"."tbl_products" "p" ON p.id = esops.product_id LEFT JOIN "a57be577deb434"."tbl_erp_inventory_products" "eips" ON eips.product_id = esops.product_id WHERE ("erp_sales_order_id"=1699) AND (eips.inventory > 0) AND ((esops.number - esops.outbound > 0) OR (0=1)) GROUP BY "esops"."id") "c"
11:32:44.925infoyii\db\Command::querySELECT esops.* FROM "a57be577deb434"."tbl_erp_sales_order_products" "esops" LEFT JOIN "a57be577deb434"."tbl_products" "p" ON p.id = esops.product_id LEFT JOIN "a57be577deb434"."tbl_erp_inventory_products" "eips" ON eips.product_id = esops.product_id WHERE ("erp_sales_order_id"=1699) AND (eips.inventory > 0) AND ((esops.number - esops.outbound > 0) OR (0=1)) GROUP BY "esops"."id" LIMIT 40
11:32:44.926traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:32:44.927infoyii\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_order_products' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
11:32:44.932infoyii\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_order_products' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
11:32:44.942traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:32:44.943traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
11:32:44.983infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE "id"=1699
11:32:44.984infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_products" WHERE "erp_sales_order_product_id"=2230
11:32:44.985infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_outbounds" WHERE "id"=151
11:32:44.986infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_products" WHERE "id"=2261
11:32:44.990infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_types" WHERE "id"=4
11:32:44.990infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_components" WHERE "id"=52
11:32:44.990infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_brands" WHERE "id"=4
11:32:44.991infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_series" WHERE "id"=1769
11:32:44.991infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_units" WHERE "id"=3
11:32:44.992infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1013
11:32:44.992infoyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1013)
11:32:44.993infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=7
11:32:44.994infoyii\db\Command::querySELECT "eip"."product_id", sum(outbound) as outbound, sum(number) as number, sum(inventory) as inventory, avg(actual_amount) as avg_amount, avg(actual_amount * inventory) as avg_total_amount, sum(actual_amount * inventory) as amount FROM "a57be577deb434"."tbl_erp_inventory_products" "eip" WHERE "product_id"=2261 GROUP BY "eip"."product_id"
11:32:44.995infoyii\db\Command::querySELECT "id", "id" AS "key", "title" AS "name" FROM "a57be577deb434"."tbl_erp_stores" WHERE "is_delete"=FALSE ORDER BY "sort", "id"
11:32:44.995traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:32:44.997traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:32:44.999traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:32:44.999traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:32:44.999infoyii\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/search-product-list', '{"page":"1","pageSize":"40","id":"","erp_sales_order_id":"1699","web_access_token":"9OODFZFZk-X86cfjXzRsEqn62HNQjGnS"}', '{"code":2000,"result":{"stores":[{"id":1,"key":1,"name":"\u62d3\u5b9e\u4ed3\u5e93"},{"id":2,"key":2,"name":"\u96f6\u914d\u4ef6"}],"list":[{"id":2230,"erp_sales_order_id":1699,"erp_store_id":"","product_id":2261,"description":"","number":"5","outbound":"1","amount":"100","total_amount":"500","last_number":"5","last_amount":"100","last_total_amount":"500","cost":"","total_cost":"","supplier_id":"","hardware_from":"","software_from":"","maintenance_from":"","hardware_to":"","software_to":"","maintenance_to":"","erpSalesOrder":{"id":1699,"serial_no":"XSDD-20260423-00001","from_date":"","wrote_date":"2026-04-01","handler":1001,"client_id":982,"purchase_contract_id":"","project_id":4161,"sales_contract_id":4462,"erp_store_id":"","status":2,"erp_send_type_id":"","abstract":"","description":"","verify_type":2,"next_verify_user":"","next_stop_verify_user":"","next_cancel_verify_user":"","verify_at":"2026-04-23 16:50:05","stop_at":"2026-05-21 16:09:36.384209+08","cancel_at":"","refuse_description":"","is_resubmitted":false,"is_done":false,"number":"9","amount":"12703473","created_by":1001,"stop_description":"","extra":"{\"payment_collection_remind_ahead\":\"1 day\",\"salesContractPaymentCollectionRemindReceivers\":[\"1001\"],\"salesContractPaymentCollectionRemindDates\":null}","outbound_status":false,"is_used":true,"is_cancel":false,"is_settle":false,"is_old":false,"created_at":"2026-04-23 16:49:39","updated_at":"2026-05-21 16:09:36","print_times":""},"erpSalesOutboundProducts":[{"id":446,"erp_sales_outbound_id":151,"erp_sales_order_id":1699,"erp_sales_order_product_id":2230,"erp_store_id":1,"product_id":2261,"description":"","outbound":"0","number":"1","amount":"100","total_amount":"100.00","hardware_from":"","software_from":"","maintenance_from":"","hardware_to":"","software_to":"","maintenance_to":"","erpSalesOutbound":{"id":151,"serial_no":"XSCKD-20260515-00001","from_date":"","wrote_date":"2026-05-15","handler":1001,"erp_sales_order_id":1699,"client_id":982,"project_id":4161,"erp_store_id":1,"status":2,"erp_send_type_id":"","abstract":"","description":"","verify_type":2,"next_verify_user":"","next_stop_verify_user":"","verify_at":"2026-05-15 15:44:05","stop_at":"","refuse_description":"","is_resubmitted":false,"number":"3","amount":"8468748","created_by":1001,"stop_description":"","outbound_status":false,"is_settle":false,"is_used":false,"created_at":"2026-05-15 15:30:46","updated_at":"2026-05-15 15:44:05","print_times":"","is_sales_order_ready":false}}],"erpStore":{},"product":{"id":2261,"name":"MK-MC300","product_type":4,"product_component":52,"product_brand":4,"product_serie":1769,"product_misc":"","product_qa":"","pn":"","description":"MK-MC300\u62fe\u97f3\u9ea6\u514b\u98ce\uff0c\u542b5\u7c73\u7ebf","created_by":1013,"created_at":"2026-03-16 10:07:43","updated_at":"2026-05-21 18:10:51","pinyin_shortcut":"MKMC300","product_unit":3,"is_renew":false,"in_out_at":"2026-05-21 18:10:51.145864+08","productType":{"id":4,"key":4,"name":"\u7f51\u7edc\u8bbe\u5907 "},"productComponent":{"id":52,"key":52,"name":"\u534f\u4f5c"},"productBrand":{"id":4,"key":4,"name":"\u8054\u60f3"},"productSerie":{"id":1769,"key":1769,"name":"\u5168\u5411\u9ea6\u514b\u98ce"},"productMisc":"","productUnit":{"id":3,"key":3,"name":"\u4e2a"},"productQa":"","createdBy":{"id":1013,"key":1013,"name":"\u7fc1\u5bb6\u6210","sex":"M","department_id":7,"avatar":{"id":34,"user_id":1013,"name":"\/files\/cdn\/a57be577deb434\/avatar\/25ef1fe7-8dda-3daa-b8ea-9fabd0a47439.png"},"department":{"id":7,"key":7,"name":"\u5e93\u623f\u90e8"}},"erpInventoryCount":{"product_id":2261,"outbound":"12","number":"67","inventory":"55","avg_amount":"7157.2205000000000000","avg_total_amount":"315.2000000000000000","amount":"3152.000"}},"un_outbound":4,"un_outbound_amount":400}],"pagenation":{"totalcount":1,"thispage":1,"pagesize":40},"can_create_inventory_lost":true,"can_create_inventory_overflow":true,"can_create_inventory_build":true,"can_create_inventory_disassemble":true},"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-07-01 11:32:44', 88690176) RETURNING "id"
11:32:45.003traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:32:45.003traceyii\redis\Connection::executeCommandExecuting Redis Command: SET