82 lines
2.7 KiB
Markdown
82 lines
2.7 KiB
Markdown
# 测试结果
|
|
|
|
- 时间: 20260410-164555
|
|
- 范围: main
|
|
- 文件: test/app/controller/system.storage.transaction.test.js
|
|
- 状态: pass
|
|
- 退出码: 0
|
|
|
|
## 标准输出
|
|
|
|
```text
|
|
[egg-ts-helper] create typings\app\extend\application.d.ts (3ms)
|
|
[egg-ts-helper] create typings\app\controller\index.d.ts (2ms)
|
|
[egg-ts-helper] create typings\app\model\index.d.ts (3ms)
|
|
[egg-ts-helper] create typings\config\index.d.ts (13ms)
|
|
[egg-ts-helper] create typings\config\plugin.d.ts (1ms)
|
|
[egg-ts-helper] create typings\app\service\index.d.ts (4ms)
|
|
[egg-ts-helper] create typings\app\index.d.ts (1ms)
|
|
|
|
|
|
test/app/controller/system.storage.transaction.test.js
|
|
[SETUP] 娴嬭瘯鍟嗗搧: 娴嬭瘯鍔犺揣涓诲晢鍝?(157008), 鏂板晢鍝?156968)
|
|
[TX] 鏀惰揣鍗?ID: 524
|
|
[TX] 鏄庣粏 1: detailId=732, product=娴嬭瘯鍔犺揣涓诲晢鍝?(157008), qty=7
|
|
[TX] 鏄庣粏 2: detailId=733, product=鏂板晢鍝?156968), qty=3
|
|
[TX] 鍏ュ簱鍓?wms_stock_transaction max_id: 34
|
|
[TX] quickPutaway 鍝嶅簲: {
|
|
"flag": "success",
|
|
"code": 200,
|
|
"message": "蹇嵎鍏ュ簱瀹屾垚",
|
|
"data": {
|
|
"receiving_id": 524,
|
|
"receiving_number": "R20553045",
|
|
"receiving_storage_status": "all",
|
|
"entry_order": {
|
|
"id": 162,
|
|
"entry_order_code": "SCRK17758109440121590",
|
|
"order_status": "COMPLETED"
|
|
},
|
|
"items": [
|
|
{
|
|
"detail_id": 732,
|
|
"product_name": "娴嬭瘯鍔犺揣涓诲晢鍝?",
|
|
"stock_warehouse_id": 157008,
|
|
"inbound_quantity": 7,
|
|
"space_id": 1,
|
|
"storage_status": "all"
|
|
},
|
|
{
|
|
"detail_id": 733,
|
|
"product_name": "鏂板晢鍝?,
|
|
"stock_warehouse_id": 156968,
|
|
"inbound_quantity": 3,
|
|
"space_id": 1,
|
|
"storage_status": "all"
|
|
}
|
|
]
|
|
},
|
|
"timestamp": 1775810944
|
|
}
|
|
[TX] 鍏ュ簱鍗? id=162, code=SCRK17758109440121590
|
|
[TX] 鏂板 transaction 璁板綍鏁? 2
|
|
[TX] record id=35: type=INBOUND, order_type=SCRK, stock_id=157008, qty=7, entry_order_id=162, warehouse_id=100000, store_id=1000000
|
|
[TX] record id=36: type=INBOUND, order_type=SCRK, stock_id=156968, qty=3, entry_order_id=162, warehouse_id=100000, store_id=1000000
|
|
[TX] 鉁?stock_id=157008 鏁伴噺鍖归厤: 7 === 7
|
|
[TX] 鉁?stock_id=156968 鏁伴噺鍖归厤: 3 === 3
|
|
[TX] 鉁?鍏ㄩ儴鏂█閫氳繃锛屽叡 2 鏉?INBOUND/SCRK 璁板綍
|
|
鉁?should write INBOUND/SCRK records to wms_stock_transaction after quickPutaway (4302ms)
|
|
[TEARDOWN] 鏁版嵁搴撹繛鎺ュ凡鍏抽棴
|
|
|
|
|
|
1 passing (5s)
|
|
|
|
[mochawesome] Report JSON saved to D:\wms\node_modules\.mochawesome-reports\mochawesome.json
|
|
|
|
[mochawesome] Report HTML saved to D:\wms\node_modules\.mochawesome-reports\mochawesome.html
|
|
```
|
|
|
|
## 标准错误
|
|
|
|
(empty)
|