| Time | Level | Category | Message |
|---|---|---|---|
| 17:50:30.964 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 17:50:30.964 | trace | yii\base\Module::getModule | Loading module: debug |
| 17:50:30.964 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 17:50:30.965 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 17:50:30.965 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 17:50:30.965 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:50:30.966 | info | time tracing start | 1781257830966129152 |
| 17:50:30.966 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 17:50:30.966 | trace | yii\web\Application::handleRequest | Route requested: 'vue/erp-inventory-build/search-product-list' |
| 17:50:30.966 | trace | yii\base\Module::getModule | Loading module: vue |
| 17:50:30.981 | info | yii\web\Session::open | Session started |
| 17:50:30.982 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=5493 |
| 17:50:30.982 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 17:50:30.985 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:50:30.985 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:50:30.986 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:50:30.986 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:50:30.986 | info | yii\db\Command::query | SELECT * FROM "o6a13e2c574d5a"."tbl_users" WHERE "id"=5493 |
| 17:50:30.988 | trace | yii\base\Controller::runAction | Route to run: vue/erp-inventory-build/search-product-list |
| 17:50:30.989 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:50:30.991 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 17:50:30.991 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ErpInventoryBuildController::actionSearchProductList() |
| 17:50:30.994 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:50:30.994 | info | yii\db\Command::query | SELECT 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_products' and d.nspname = 'o6a13e2c574d5a' ORDER BY a.attnum; |
| 17:50:31.001 | info | yii\db\Command::query | select 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_products' and ns.nspname='o6a13e2c574d5a' order by fns.nspname, fc.relname, a.attnum |
| 17:50:31.057 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:50:31.057 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 17:50:31.064 | info | yii\db\Command::query | SELECT eip.* FROM "o6a13e2c574d5a"."tbl_erp_inventory_products" "eip" LEFT JOIN "o6a13e2c574d5a"."tbl_products" "p" ON eip.product_id = p.id LEFT JOIN "o6a13e2c574d5a"."tbl_product_brands" "pb" ON p.product_brand = pb.id LEFT JOIN "o6a13e2c574d5a"."tbl_product_types" "pt" ON p.product_type = pt.id LEFT JOIN "o6a13e2c574d5a"."tbl_product_series" "ps" ON p.product_serie = ps.id LEFT JOIN "o6a13e2c574d5a"."tbl_product_components" "pc" ON p.product_component = pc.id LEFT JOIN "o6a13e2c574d5a"."tbl_erp_purchase_inbounds" "epis" ON epis.id = eip.erp_purchase_inbound_id LEFT JOIN "o6a13e2c574d5a"."tbl_erp_purchase_inbound_projects" "epips" ON epis.id = epips.erp_purchase_inbound_id LEFT JOIN "o6a13e2c574d5a"."tbl_erp_inventory_starts" "eiss" ON eiss.id = eip.erp_inventory_start_id LEFT JOIN "o6a13e2c574d5a"."tbl_erp_inventory_builds" "eibs" ON eibs.id = eip.erp_inventory_build_id LEFT JOIN "o6a13e2c574d5a"."tbl_erp_inventory_disassembles" "eids" ON eids.id = eip.erp_inventory_disassemble_id LEFT JOIN "o6a13e2c574d5a"."tbl_erp_purchase_gifts" "epgs" ON epgs.id = eip.erp_purchase_gift_id LEFT JOIN "o6a13e2c574d5a"."tbl_erp_inventory_overflows" "eios" ON eios.id = eip.erp_inventory_overflow_id LEFT JOIN "o6a13e2c574d5a"."tbl_erp_inventory_overflow_projects" "eiops" ON eiops.erp_inventory_overflow_id = eios.id WHERE ("eip"."is_build"=FALSE) AND ((eip.inventory > 0) OR (0=1)) GROUP BY "eip"."id" ORDER BY eip.created_at DESC |
| 17:50:31.072 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "serial_no" AS "name", "supplier_id", "purchase_contract_id" FROM "o6a13e2c574d5a"."tbl_erp_purchase_inbounds" WHERE "id" IN (5, 4) |
| 17:50:31.073 | info | yii\db\Command::query | SELECT * FROM "o6a13e2c574d5a"."tbl_products" WHERE "id"=1 |
| 17:50:31.074 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "o6a13e2c574d5a"."tbl_product_types" WHERE "id"=1 |
| 17:50:31.074 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "o6a13e2c574d5a"."tbl_product_components" WHERE "id"=1 |
| 17:50:31.074 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "o6a13e2c574d5a"."tbl_product_brands" WHERE "id"=1 |
| 17:50:31.075 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "o6a13e2c574d5a"."tbl_product_series" WHERE "id"=1 |
| 17:50:31.076 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:50:31.076 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:50:31.076 | 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, 'o6a13e2c574d5a', 5493, 5, 'vue/erp-inventory-build/search-product-list', '{"page":"-1","ErpInventoryBuilds":{"erpInventoryBuildSpentProducts":""},"web_access_token":"KJ3qRUjTV-VFiU1eML0s6lPHlLH-H1W3"}', '{"code":2000,"result":{"list":[{"id":5,"product_id":1,"erp_purchase_inbound_id":5,"erp_purchase_order_id":1,"erp_purchase_inbound_product_id":5,"erp_purchase_order_product_id":"","erp_store_id":1,"wrote_date":"2026-05-27","number":"1","outbound":"0","inventory":"1","amount":"200","total_amount":"200.00","actual_amount":"200","actual_total_amount":"200","is_build":false,"created_at":"2026-05-27 16:44:31","lost_outbound":"","erp_inventory_start_id":"","erp_inventory_start_product_id":"","erp_inventory_build_id":"","erp_inventory_build_product_id":"","build_spent_outbound":"","sales_outbound":"","erp_purchase_gift_id":"","erp_purchase_gift_product_id":"","sales_gift_outbound":"","erp_inventory_disassemble_id":"","erp_inventory_disassemble_product_id":"","disassemble_spent_outbound":"","erp_inventory_overflow_id":"","erp_inventory_overflow_product_id":"","erpPurchaseInbound":{"id":5,"key":5,"name":"CGRKD-20260527-00005","supplier_id":1,"purchase_contract_id":1},"erpInventoryBuild":"","erpInventoryDisassemble":"","erpInventoryStart":"","erpPurchaseGift":"","erpInventoryOverflow":"","product":{"id":1,"name":"\u6df1\u4fe1\u670d AF-1210-A","product_type":1,"product_component":1,"product_brand":1,"product_serie":1,"product_misc":"","product_qa":"","pn":"","description":"","created_by":5493,"created_at":"2026-05-25 13:48:53","updated_at":"2026-06-01 15:21:10","pinyin_shortcut":"","product_unit":"","is_renew":false,"in_out_at":"2026-06-01 15:21:10.749785+08","productType":{"id":1,"key":1,"name":"\u9632\u706b\u5899"},"productComponent":{"id":1,"key":1,"name":"\u786c\u4ef6\u4e3b\u673a"},"productBrand":{"id":1,"key":1,"name":"\u6df1\u4fe1\u670d"},"productSerie":{"id":1,"key":1,"name":"\u6df1\u4fe1\u670dAF-1210"},"productUnit":{}},"serial_no":"CGRKD-20260527-00005"},{"id":4,"product_id":1,"erp_purchase_inbound_id":4,"erp_purchase_order_id":1,"erp_purchase_inbound_product_id":4,"erp_purchase_order_product_id":"","erp_store_id":1,"wrote_date":"2026-05-27","number":"1","outbound":"0","inventory":"1","amount":"200","total_amount":"200","actual_amount":"200","actual_total_amount":"200","is_build":false,"created_at":"2026-05-27 16:19:18","lost_outbound":"0","erp_inventory_start_id":"","erp_inventory_start_product_id":"","erp_inventory_build_id":"","erp_inventory_build_product_id":"","build_spent_outbound":"0","sales_outbound":"0","erp_purchase_gift_id":"","erp_purchase_gift_product_id":"","sales_gift_outbound":"0","erp_inventory_disassemble_id":"","erp_inventory_disassemble_product_id":"","disassemble_spent_outbound":"0","erp_inventory_overflow_id":"","erp_inventory_overflow_product_id":"","erpPurchaseInbound":{"id":4,"key":4,"name":"CGRKD-20260527-00004","supplier_id":1,"purchase_contract_id":1},"erpInventoryBuild":"","erpInventoryDisassemble":"","erpInventoryStart":"","erpPurchaseGift":"","erpInventoryOverflow":"","product":{"id":1,"name":"\u6df1\u4fe1\u670d AF-1210-A","product_type":1,"product_component":1,"product_brand":1,"product_serie":1,"product_misc":"","product_qa":"","pn":"","description":"","created_by":5493,"created_at":"2026-05-25 13:48:53","updated_at":"2026-06-01 15:21:10","pinyin_shortcut":"","product_unit":"","is_renew":false,"in_out_at":"2026-06-01 15:21:10.749785+08","productType":{"id":1,"key":1,"name":"\u9632\u706b\u5899"},"productComponent":{"id":1,"key":1,"name":"\u786c\u4ef6\u4e3b\u673a"},"productBrand":{"id":1,"key":1,"name":"\u6df1\u4fe1\u670d"},"productSerie":{"id":1,"key":1,"name":"\u6df1\u4fe1\u670dAF-1210"},"productUnit":{}},"serial_no":"CGRKD-20260527-00004"}]},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"39.156.194.178","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:151.0) Gecko\/20100101 Firefox\/151.0"}', FALSE, '2026-06-12 17:50:31', 110617856) RETURNING "id" |
| 17:50:31.079 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:50:31.079 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |