liufumingren
4f4128f337
fix(returnUnpack): 批量转入退件登记入参改为运单表主键 ids
- 入参由 waybill_codes(运单号)改为 ids(wms_order_express.id,单个数值或数组):Number 归一化 + 过滤非正整数 + 去重,上限 200
- 反查改为一次批量查询 id IN (ids) + warehouse_id,未命中(不存在或非本仓库)计入 failed;单条失败不阻断主流程
- _transferOneWaybill 改为接收批量反查后的运单行;运单号为空时报「运单号为空,无法转入退件登记」(拆包单 waybill_code 必填)
- 出参:success 项新增 waybill_id;failed 项为 waybill_id / waybill_code(运单命中时,否则 null)/ reason
- 回归:test/return_unpack_transfer_regression.test.js 76/76 通过(含 ids 边界、他仓隔离、运单号为空等新口径)
2026-09-15 16:14:46 +08:00
..
2026-09-13 15:31:02 +08:00
2026-03-16 14:01:22 +08:00
2026-09-10 20:59:39 +08:00
2026-09-13 15:31:02 +08:00
2026-09-05 22:43:38 +08:00
2026-09-15 15:40:39 +08:00
2026-08-31 17:17:48 +08:00
2026-08-01 03:43:47 +08:00
2026-08-17 22:01:18 +08:00
2026-08-01 03:39:41 +08:00
2026-08-01 03:44:02 +08:00
2026-07-27 03:46:51 +08:00
2026-06-23 18:48:33 +08:00
2026-04-09 01:36:49 +08:00
2026-08-08 20:28:18 +08:00
2026-09-13 15:31:02 +08:00
2026-08-30 07:28:05 +08:00
2026-09-07 03:48:43 +08:00
2026-06-14 19:03:58 +08:00
2026-09-04 21:43:05 +08:00
2026-08-12 20:47:19 +08:00
2026-09-07 03:48:43 +08:00
2026-07-29 13:57:04 +08:00
2026-08-31 17:17:48 +08:00
2026-09-03 17:03:40 +08:00
2026-09-15 16:14:46 +08:00
2026-08-13 21:40:57 +08:00
2026-08-15 20:12:26 +08:00
2026-08-04 08:18:43 +08:00
2026-04-09 01:36:49 +08:00
2026-07-06 22:07:10 +08:00
2026-04-09 01:36:49 +08:00
2026-07-10 18:10:11 +08:00
2026-09-07 03:48:43 +08:00