[16591]补充工作站出库类型传参约定
This commit is contained in:
@@ -151,7 +151,7 @@ assignCellNumbers(...)
|
||||
├─ for each cell
|
||||
│ ├─ 读取 cell.shopeeWaveCode
|
||||
│ ├─ 如果 cell 没有 shopeeWaveCode
|
||||
│ │ ├─ findAvailableShipments(session, warehouseCode, shipmentType, rule)
|
||||
│ │ ├─ findAvailableShipments(session, warehouseCode, rule, ..., workstation)
|
||||
│ │ ├─ acquireUnusedShopeeWave
|
||||
│ │ └─ 得到新 shopeeWaveCode
|
||||
│ ├─ 如果 cell 已有 shopeeWaveCode
|
||||
@@ -170,7 +170,7 @@ assignCellNumbers(...)
|
||||
### 4.1 assignToCell
|
||||
|
||||
```text
|
||||
assignToCell(warehouseCode, rule, cell, shipmentIds, shopeeWaveCode)
|
||||
assignToCell(warehouseCode, rule, cell, shipmentIds, shopeeWaveCode, ticketType, workstation)
|
||||
├─ pickCellShipmentIds
|
||||
├─ ensureCellReadyForWave
|
||||
│ ├─ 已有同 wave 同 rule 的 USED 格口 → 直接复用
|
||||
|
||||
@@ -161,7 +161,7 @@ hasDifferentActiveShipmentType(warehouseCode, workstationId, shipmentType)
|
||||
- 指定工作站编码时,只处理该工作站;未指定时处理仓库内全部候选工作站。
|
||||
- 多个候选工作站按可用空格口数量降序处理;数量相同时按工作站 ID 升序处理。
|
||||
- 可用空格口统计口径:工作站绑定的分播墙为启用状态、格口为启用状态,且格口 `shopeeWaveCode` 为空。
|
||||
- 工作站没有启用分播墙时跳过;`shipmentType` 不作为调度过滤条件,匹配时直接读取 `wcs_work_station.shipmentType`。单个工作站匹配失败不阻断后续工作站。
|
||||
- 工作站没有启用分播墙时跳过;`shipmentType` 不作为调度过滤条件。只要方法已接收 `WcsWorkStation`,就不再单独传递 `shipmentType`,方法内直接读取 `wcs_work_station.shipmentType`。单个工作站匹配失败不阻断后续工作站。
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user