| 00:20:50.277 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 00:20:50.277 | trace | yii\base\Module::getModule | Loading module: debug |
| 00:20:50.278 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 00:20:50.278 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 00:20:50.278 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 00:20:50.281 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 00:20:50.282 | info | time tracing start | 1783182050282814976 |
| 00:20:50.283 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 00:20:50.283 | trace | yii\web\Application::handleRequest | Route requested: 'vue/erp-sales-outbound/get-form-inventory' |
| 00:20:50.283 | trace | yii\base\Module::getModule | Loading module: vue |
| 00:20:50.284 | info | yii\web\Session::open | Session started |
| 00:20:50.285 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 00:20:50.285 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 00:20:50.287 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 00:20:50.288 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 00:20:50.288 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 00:20:50.289 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 00:20:50.289 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 00:20:50.290 | trace | yii\base\Controller::runAction | Route to run: vue/erp-sales-outbound/get-form-inventory |
| 00:20:50.290 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ErpSalesOutboundController::actionGetFormInventory() |
| 00:20:50.290 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_erp_stores" WHERE ("id"='1') AND ("is_delete"=FALSE)) |
| 00:20:50.291 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 00:20:50.292 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 00:20:50.293 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 00:20:50.295 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 00:20:50.296 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT eip.* FROM "a57be577deb434"."tbl_erp_inventory_products" "eip" LEFT JOIN "a57be577deb434"."tbl_products" "p" ON eip.product_id = p.id LEFT JOIN "a57be577deb434"."tbl_product_brands" "pb" ON p.product_brand = pb.id LEFT JOIN "a57be577deb434"."tbl_product_types" "pt" ON p.product_type = pt.id LEFT JOIN "a57be577deb434"."tbl_product_series" "ps" ON p.product_serie = ps.id LEFT JOIN "a57be577deb434"."tbl_product_components" "pc" ON p.product_component = pc.id LEFT JOIN "a57be577deb434"."tbl_erp_purchase_inbounds" "epis" ON epis.id = eip.erp_purchase_inbound_id LEFT JOIN "a57be577deb434"."tbl_erp_purchase_inbound_projects" "epips" ON epis.id = epips.erp_purchase_inbound_id LEFT JOIN "a57be577deb434"."tbl_erp_inventory_starts" "eiss" ON eiss.id = eip.erp_inventory_start_id LEFT JOIN "a57be577deb434"."tbl_erp_inventory_builds" "eibs" ON eibs.id = eip.erp_inventory_build_id LEFT JOIN "a57be577deb434"."tbl_erp_inventory_disassembles" "eids" ON eids.id = eip.erp_inventory_disassemble_id LEFT JOIN "a57be577deb434"."tbl_erp_purchase_gifts" "epgs" ON epgs.id = eip.erp_purchase_gift_id LEFT JOIN "a57be577deb434"."tbl_erp_inventory_overflows" "eios" ON eios.id = eip.erp_inventory_overflow_id LEFT JOIN "a57be577deb434"."tbl_erp_inventory_overflow_projects" "eiops" ON eiops.erp_inventory_overflow_id = eios.id LEFT JOIN "a57be577deb434"."tbl_erp_stores" "salestore" ON salestore.id = eip.erp_store_id WHERE ("eip"."product_id"='2261') AND (eip.inventory > 0) AND ("salestore"."is_delete"=FALSE) AND ("eip"."erp_store_id"='1') GROUP BY "eip"."id" ORDER BY eip.wrote_date ASC, eip.created_at ASC) "c" |
| 00:20:50.300 | info | yii\db\Command::query | SELECT eip.* FROM "a57be577deb434"."tbl_erp_inventory_products" "eip" LEFT JOIN "a57be577deb434"."tbl_products" "p" ON eip.product_id = p.id LEFT JOIN "a57be577deb434"."tbl_product_brands" "pb" ON p.product_brand = pb.id LEFT JOIN "a57be577deb434"."tbl_product_types" "pt" ON p.product_type = pt.id LEFT JOIN "a57be577deb434"."tbl_product_series" "ps" ON p.product_serie = ps.id LEFT JOIN "a57be577deb434"."tbl_product_components" "pc" ON p.product_component = pc.id LEFT JOIN "a57be577deb434"."tbl_erp_purchase_inbounds" "epis" ON epis.id = eip.erp_purchase_inbound_id LEFT JOIN "a57be577deb434"."tbl_erp_purchase_inbound_projects" "epips" ON epis.id = epips.erp_purchase_inbound_id LEFT JOIN "a57be577deb434"."tbl_erp_inventory_starts" "eiss" ON eiss.id = eip.erp_inventory_start_id LEFT JOIN "a57be577deb434"."tbl_erp_inventory_builds" "eibs" ON eibs.id = eip.erp_inventory_build_id LEFT JOIN "a57be577deb434"."tbl_erp_inventory_disassembles" "eids" ON eids.id = eip.erp_inventory_disassemble_id LEFT JOIN "a57be577deb434"."tbl_erp_purchase_gifts" "epgs" ON epgs.id = eip.erp_purchase_gift_id LEFT JOIN "a57be577deb434"."tbl_erp_inventory_overflows" "eios" ON eios.id = eip.erp_inventory_overflow_id LEFT JOIN "a57be577deb434"."tbl_erp_inventory_overflow_projects" "eiops" ON eiops.erp_inventory_overflow_id = eios.id LEFT JOIN "a57be577deb434"."tbl_erp_stores" "salestore" ON salestore.id = eip.erp_store_id WHERE ("eip"."product_id"='2261') AND (eip.inventory > 0) AND ("salestore"."is_delete"=FALSE) AND ("eip"."erp_store_id"='1') GROUP BY "eip"."id" ORDER BY eip.wrote_date ASC, eip.created_at ASC LIMIT 20 |
| 00:20:50.303 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "serial_no", "serial_no" AS "name", "supplier_id", "purchase_contract_id", "handler" FROM "a57be577deb434"."tbl_erp_purchase_inbounds" WHERE "id"=212 |
| 00:20:50.304 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_suppliers" WHERE "id"=438 |
| 00:20:50.305 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "serial_no" AS "name" FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"=4461 |
| 00:20:50.306 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 00:20:50.307 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbound_projects" WHERE "erp_purchase_inbound_id"=212 |
| 00:20:50.307 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "serial_no", "serial_no" AS "name", "supplier_id", "handler" FROM "a57be577deb434"."tbl_erp_inventory_starts" WHERE "id"=32 |
| 00:20:50.308 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_suppliers" WHERE "id"=431 |
| 00:20:50.308 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 00:20:50.309 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "serial_no", "serial_no" AS "name", "handler", "need_handler" FROM "a57be577deb434"."tbl_erp_inventory_overflows" WHERE "id" IN (6, 9) |
| 00:20:50.309 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=5250 |
| 00:20:50.310 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_overflow_projects" WHERE "erp_inventory_overflow_id" IN (6, 9) |
| 00:20:50.310 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_products" WHERE "id"=2261 |
| 00:20:50.311 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_types" WHERE "id"=4 |
| 00:20:50.311 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_components" WHERE "id"=52 |
| 00:20:50.312 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_brands" WHERE "id"=4 |
| 00:20:50.312 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_series" WHERE "id"=1769 |
| 00:20:50.313 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_units" WHERE "id"=3 |
| 00:20:50.314 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 00:20:50.314 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 00:20:50.315 | 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, 'a57be577deb434', 1001, 5, 'vue/erp-sales-outbound/get-form-inventory', '{"product_id":"2261","erp_store_id":"1"}', '{"code":2000,"result":{"list":[{"id":470,"erp_inventory_product_id":470,"serial_no":"QCKC-20260408-00001","source_supplier_name":"\u5317\u4eac\u60e0\u8054\u8baf\u901a\u4fe1\u606f\u6280\u672f\u670d\u52a1\u6709\u9650\u516c\u53f8","source_purchase_contract_name":"--","source_project_display":"--","source_handler_name":"\u5218\u4eba\u8bda"},{"id":494,"erp_inventory_product_id":494,"serial_no":"CGRKD-20260430-00003","source_supplier_name":"\u9752\u5c9b\u946b\u96f7\u97f3\u7535\u5b50\u6709\u9650\u516c\u53f8","source_purchase_contract_name":"--","source_project_display":"--","source_handler_name":"\u5218\u4eba\u8bda"},{"id":509,"erp_inventory_product_id":509,"serial_no":"BYD-20260520-00006","source_supplier_name":"--","source_purchase_contract_name":"--","source_project_display":"--","source_handler_name":"\u8463\u8363"},{"id":510,"erp_inventory_product_id":510,"serial_no":"BYD-20260521-00002","source_supplier_name":"--","source_purchase_contract_name":"--","source_project_display":"--","source_handler_name":"\u516c\u53f8\u6536\u5165"}],"pagenation":{"totalcount":4,"thispage":1,"pagesize":20}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"111.194.208.14","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/149.0.0.0 Safari\/537.36"}', FALSE, '2026-07-05 00:20:50', 32257024) RETURNING "id" |
| 00:20:50.320 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 00:20:50.321 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |