| 21:42:47.250 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 21:42:47.250 | trace | yii\base\Module::getModule | Loading module: debug |
| 21:42:47.251 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 21:42:47.251 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 21:42:47.252 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 21:42:47.252 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 21:42:47.253 | info | time tracing start | 1783172567253686016 |
| 21:42:47.253 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 21:42:47.253 | trace | yii\web\Application::handleRequest | Route requested: 'vue/erp-sales-outbound/check-scan-sn' |
| 21:42:47.253 | trace | yii\base\Module::getModule | Loading module: vue |
| 21:42:47.255 | info | yii\web\Session::open | Session started |
| 21:42:47.257 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 21:42:47.257 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 21:42:47.258 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 21:42:47.259 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 21:42:47.259 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 21:42:47.260 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 21:42:47.260 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 21:42:47.261 | trace | yii\base\Controller::runAction | Route to run: vue/erp-sales-outbound/check-scan-sn |
| 21:42:47.261 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ErpSalesOutboundController::actionCheckScanSn() |
| 21:42:47.261 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_product_sns" WHERE "sn"='222' |
| 21:42:47.262 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 21:42:47.263 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 21:42:47.263 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id" IN (470, 517) |
| 21:42:47.264 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 21:42:47.264 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 21:42:47.264 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_products" WHERE "id" IN (2261, 870) |
| 21:42:47.265 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 21:42:47.265 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 21:42:47.265 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_erp_stores" WHERE ("id"=1) AND ("is_delete"=FALSE)) |
| 21:42:47.266 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_product_sns" WHERE "id"=83 |
| 21:42:47.267 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_product_sns" WHERE "id"=83 |
| 21:42:47.268 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"=470 |
| 21:42:47.268 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_products" WHERE "id"=2261 |
| 21:42:47.269 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_product_brands" WHERE "id"=4 |
| 21:42:47.269 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 21:42:47.269 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 21:42:47.270 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_product_types" WHERE "id"=4 |
| 21:42:47.270 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 21:42:47.270 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 21:42:47.270 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_product_sns" WHERE "id"=83 |
| 21:42:47.271 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 21:42:47.271 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 21:42:47.272 | 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/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:42:47', 18449920) RETURNING "id" |
| 21:42:47.274 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 21:42:47.274 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |