| Time | Level | Category | Message |
|---|---|---|---|
| 18:10:14.083 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 18:10:14.083 | trace | yii\base\Module::getModule | Loading module: debug |
| 18:10:14.083 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 18:10:14.084 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 18:10:14.084 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 18:10:14.084 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:10:14.084 | info | time tracing start | 1780913414084656128 |
| 18:10:14.084 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 18:10:14.084 | trace | yii\web\Application::handleRequest | Route requested: 'vue/erp-sales-outbound/get-sn' |
| 18:10:14.084 | trace | yii\base\Module::getModule | Loading module: vue |
| 18:10:14.085 | info | yii\web\Session::open | Session started |
| 18:10:14.086 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 18:10:14.086 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 18:10:14.087 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:10:14.087 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 18:10:14.088 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 18:10:14.089 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:10:14.089 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 18:10:14.089 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 18:10:14.090 | trace | yii\base\Controller::runAction | Route to run: vue/erp-sales-outbound/get-sn |
| 18:10:14.090 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ErpSalesOutboundController::actionGetSn() |
| 18:10:14.090 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_outbounds" WHERE "id"='157' |
| 18:10:14.091 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:10:14.091 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 18:10:14.091 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_erp_sales_outbound_products" WHERE "erp_sales_outbound_id"=157 |
| 18:10:14.092 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_products" WHERE "erp_sales_outbound_id"=157 LIMIT 20 |
| 18:10:14.093 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "title" AS "name" FROM "a57be577deb434"."tbl_erp_stores" WHERE "id"=1 |
| 18:10:14.093 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_products" WHERE "id"=1558 |
| 18:10:14.094 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_types" WHERE "id"=5 |
| 18:10:14.094 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_components" WHERE "id"=26 |
| 18:10:14.094 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_brands" WHERE "id"=8 |
| 18:10:14.095 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_series" WHERE "id"=1344 |
| 18:10:14.095 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_units" WHERE "id"=1 |
| 18:10:14.095 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1013 |
| 18:10:14.096 | info | yii\db\Command::query | SELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1013) |
| 18:10:14.096 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=7 |
| 18:10:14.097 | info | yii\db\Command::query | SELECT "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"=1558 GROUP BY "eip"."product_id" |
| 18:10:14.097 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_spent_products" WHERE "erp_sales_outbound_product_id"=453 |
| 18:10:14.098 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_products" WHERE "id"=1558 |
| 18:10:14.098 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_types" WHERE "id"=5 |
| 18:10:14.099 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_components" WHERE "id"=26 |
| 18:10:14.099 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_brands" WHERE "id"=8 |
| 18:10:14.099 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_series" WHERE "id"=1344 |
| 18:10:14.100 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_units" WHERE "id"=1 |
| 18:10:14.100 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"=492 |
| 18:10:14.101 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbounds" WHERE "id"=211 |
| 18:10:14.103 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_suppliers" WHERE "id"=46 |
| 18:10:14.105 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 18:10:14.106 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "serial_no" AS "name" FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"=4447 |
| 18:10:14.106 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbound_projects" WHERE "erp_purchase_inbound_id"=211 |
| 18:10:14.106 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_clients" WHERE "id"=3286 |
| 18:10:14.107 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "project_title" AS "name", "project_status", "created_by", "budget", "collected" FROM "a57be577deb434"."tbl_projects" WHERE "id"=4142 |
| 18:10:14.108 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "project_status" AS "name", "color" FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"=3 |
| 18:10:14.109 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 18:10:14.109 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_spent_product_sns" WHERE "erp_sales_outbound_spent_product_id"=541 |
| 18:10:14.110 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:10:14.111 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:10:14.116 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:10:14.116 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 18:10:14.116 | 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-sn', '{"id":"157","web_access_token":"l4p3M_87vSdo8QF-blMLH4iPaepKw7vp"}', '{"code":2000,"result":{"list":[{"id":453,"erp_sales_outbound_id":157,"erp_sales_order_id":1692,"erp_sales_order_product_id":2210,"erp_store_id":1,"product_id":1558,"description":"","outbound":"0","number":"2","amount":"88221","total_amount":"176442.00","hardware_from":"","software_from":"","maintenance_from":"","hardware_to":"","software_to":"","maintenance_to":"","erpStore":{"id":1,"key":1,"name":"\u62d3\u5b9e\u4ed3\u5e93"},"product":{"id":1558,"name":"PAN-PA-1420","product_type":5,"product_component":26,"product_brand":8,"product_serie":1344,"product_misc":"","product_qa":"","pn":"","description":"Palo Alto Networks PA-1420","created_by":1013,"created_at":"2024-04-15 15:38:17","updated_at":"2026-05-26 16:12:02","pinyin_shortcut":"PANPA1420","product_unit":1,"is_renew":false,"in_out_at":"2026-05-26 16:12:02.180855+08","productType":{"id":5,"key":5,"name":"\u5b89\u5168\u8bbe\u5907"},"productComponent":{"id":26,"key":26,"name":"\u9632\u706b\u5899\u4e3b\u673a"},"productBrand":{"id":8,"key":8,"name":"PaloAlto"},"productSerie":{"id":1344,"key":1344,"name":"PA-1420\u9632\u706b\u5899\u4e3b\u673a"},"productMisc":"","productUnit":{"id":1,"key":1,"name":"\u53f0"},"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":1558,"outbound":"2","number":"2","inventory":"0","avg_amount":"79399.100000000000","avg_total_amount":"0.00000000000000000000","amount":"0.0"}},"erpSalesOutboundSpentProducts":[{"id":541,"erp_sales_outbound_id":157,"erp_sales_outbound_product_id":453,"erp_inventory_product_id":492,"product_id":1558,"description":"","number":"2","amount":"88221","total_amount":"176442","cancel_number":"","cancel_amount":"","cancel_total_amount":"","product":{"id":1558,"name":"PAN-PA-1420","product_type":5,"product_component":26,"product_brand":8,"product_serie":1344,"product_misc":"","product_qa":"","pn":"","description":"Palo Alto Networks PA-1420","created_by":1013,"created_at":"2024-04-15 15:38:17","updated_at":"2026-05-26 16:12:02","pinyin_shortcut":"PANPA1420","product_unit":1,"is_renew":false,"in_out_at":"2026-05-26 16:12:02.180855+08","productType":{"id":5,"key":5,"name":"\u5b89\u5168\u8bbe\u5907"},"productComponent":{"id":26,"key":26,"name":"\u9632\u706b\u5899\u4e3b\u673a"},"productBrand":{"id":8,"key":8,"name":"PaloAlto"},"productSerie":{"id":1344,"key":1344,"name":"PA-1420\u9632\u706b\u5899\u4e3b\u673a"},"productUnit":{"id":1,"key":1,"name":"\u53f0"}},"erpInventoryProduct":{"id":492,"product_id":1558,"erp_purchase_inbound_id":211,"erp_purchase_order_id":2204,"erp_purchase_inbound_product_id":429,"erp_purchase_order_product_id":"","erp_store_id":1,"wrote_date":"2026-04-30","number":"2","outbound":"2","inventory":"0","amount":"79399.1","total_amount":"158798.20","actual_amount":"79399.1","actual_total_amount":"0","is_build":false,"created_at":"2026-04-30 14:34:15","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":"2","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":211,"serial_no":"CGRKD-20260430-00001","from_date":"","wrote_date":"2026-04-30","handler":1001,"erp_purchase_order_id":2204,"supplier_id":46,"purchase_contract_id":4447,"erp_store_id":1,"status":2,"abstract":"","description":"","verify_type":2,"next_verify_user":"","next_stop_verify_user":"","verify_at":"2026-04-30 14:34:15","stop_at":"","cancel_at":"","refuse_description":"","is_resubmitted":false,"number":"8","amount":"240324.92","cancel_number":"","cancel_amount":"","created_by":1001,"stop_description":"","is_used":true,"is_settle":false,"created_at":"2026-04-30 14:33:38","updated_at":"2026-04-30 14:34:15","print_times":"","supplier":{"id":46,"key":46,"name":"\u795e\u5dde\u6570\u7801(\u4e2d\u56fd)\u6709\u9650\u516c\u53f8"},"handlerPerson":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4},"purchaseContract":{"id":4447,"key":4447,"name":"DZ202603233147774"},"erpPurchaseInboundProjects":[{"id":205,"erp_purchase_inbound_id":211,"client_id":3286,"project_id":4142,"client":{"id":3286,"key":3286,"name":"\u826f\u56fe\u79d1\u6280(\u4e0a\u6d77)\u6709\u9650\u516c\u53f8"},"project":{"id":4142,"key":4142,"name":"PA1420 \u4e24\u53f0\u65b0\u8d2d\u9879\u76ee","project_status":3,"created_by":1001,"budget":"309425.78","collected":"0","projectStatus":{"id":3,"key":3,"name":"\u5546\u673a\u6210\u4ea4","color":"#53cd02"},"createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4}}}]},"erpPurchaseGift":{},"erpInventoryStart":{},"erpInventoryBuild":{},"erpInventoryDisassemble":{}},"erpSalesOutboundSpentProductSns":[]}],"erpSalesOutboundProductSns":[],"need_sn":2}],"pagenation":{"totalcount":1,"thispage":1,"pagesize":20},"can_create_sn":true},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"221.216.117.119","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:151.0) Gecko\/20100101 Firefox\/151.0"}', FALSE, '2026-06-08 18:10:14', 31685888) RETURNING "id" |
| 18:10:14.118 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:10:14.118 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |