This commit is contained in:
2026-09-04 12:31:52 +08:00
parent 1407f616a1
commit 209255f17e
@@ -1054,7 +1054,10 @@ public class LoadingPickService {
return repository.inboundOwners(taskId).stream().collect(Collectors.toMap(
LoadingPickItemMapper.InboundOwner::inboundId,
LoadingPickItemMapper.InboundOwner::tenantId,
(left, right) -> left));
(left, right) -> {
if (!Objects.equals(left, right)) throw conflict("PDA任务入库单客户归属冲突");
return left;
}));
}
private Map<Long, List<InventoryResource>> inventoryByInbound(long warehouseId,