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-06-06 05:15:46 +08:00
2026-08-30 07:28:05 +08:00
2026-08-31 17:17:48 +08:00
2026-07-01 14:00:59 +08:00
2026-09-10 20:59:39 +08:00
2026-09-13 15:31:02 +08:00
2026-09-13 15:31:05 +08:00
2026-04-09 01:36:49 +08:00
2026-09-15 15:32:51 +08:00
2026-08-01 15:31:00 +08:00
2026-08-08 00:17:38 +08:00
2026-08-01 03:44:02 +08:00
2026-08-08 20:28:18 +08:00
2026-06-23 18:48:33 +08:00
2026-09-13 15:30:54 +08:00
2026-08-31 17:17:48 +08:00
2026-08-30 07:28:01 +08:00
2026-09-10 23:54:04 +08:00
2026-08-26 17:24:03 +08:00
2026-09-13 15:30:55 +08:00
2026-03-16 14:01:22 +08:00
2026-04-09 01:36:49 +08:00
2026-09-13 02:24:37 +08:00
2026-09-10 20:59:39 +08:00
2026-04-11 17:09:06 +08:00
2026-07-10 18:10:11 +08:00
2026-07-27 03:49:27 +08:00
2026-07-27 03:49:27 +08:00
2026-08-26 15:35:35 +08:00
2026-09-15 15:40:39 +08:00
2026-08-01 03:45:06 +08:00
2026-09-07 16:43:35 +08:00
2026-09-05 22:43:38 +08:00
2026-09-10 03:46:41 +08:00
2026-04-17 19:21:57 +08:00
2026-09-13 15:31:02 +08:00
2026-04-27 16:09:26 +08:00
2026-09-03 17:00:57 +08:00
2026-08-17 21:58:43 +08:00
2026-09-05 22:42:39 +08:00
2026-09-03 17:03:13 +08:00
2026-08-04 18:08:46 +08:00
2026-09-08 16:36:57 +08:00
2026-08-12 20:47:19 +08:00
2026-06-17 01:18:55 +08:00
2026-05-06 01:32:55 +08:00
2026-07-29 13:57:04 +08:00
2026-04-30 19:20:31 +08:00
2026-09-13 02:24:37 +08:00
2026-09-10 20:59:39 +08:00
2026-09-03 17:03:48 +08:00
2026-09-10 20:59:39 +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-04-09 01:36:49 +08:00
2026-08-21 02:20:43 +08:00
2026-09-03 17:00:37 +08:00
2026-09-05 22:43:38 +08:00
2026-09-05 22:43:38 +08:00
2026-09-13 02:24:18 +08:00
2026-08-08 20:28:18 +08:00
2026-09-07 17:49:43 +08:00
2026-09-07 17:49:43 +08:00
2026-09-08 17:00:05 +08:00
2026-08-27 23:42:22 +08:00
2026-09-11 02:49:27 +08:00
2026-09-15 15:31:43 +08:00
2026-08-21 02:20:17 +08:00
2026-09-10 03:46:41 +08:00
2026-09-10 03:46:41 +08:00