优化
This commit is contained in:
@@ -1054,7 +1054,10 @@ public class LoadingPickService {
|
|||||||
return repository.inboundOwners(taskId).stream().collect(Collectors.toMap(
|
return repository.inboundOwners(taskId).stream().collect(Collectors.toMap(
|
||||||
LoadingPickItemMapper.InboundOwner::inboundId,
|
LoadingPickItemMapper.InboundOwner::inboundId,
|
||||||
LoadingPickItemMapper.InboundOwner::tenantId,
|
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,
|
private Map<Long, List<InventoryResource>> inventoryByInbound(long warehouseId,
|
||||||
|
|||||||
Reference in New Issue
Block a user