Commit 8fac544b zshaohui

1.工单出库bug处理

1 个父辈 87b62c8d
......@@ -977,8 +977,8 @@ public class LiteOrderCache {
//查询
List<StoragePos> allPosList = storagePosManager.findAllPartNumberInStorages(availableStorageIds, orderItem.getPn(), excludePosIds, checkoutType);
if (allPosList == null || allPosList.isEmpty()){
continue;
if (allPosList == null){
allPosList = new ArrayList<>();
}
//已经分配的数量和料盘
......@@ -1031,6 +1031,14 @@ public class LiteOrderCache {
if (pos != null) {
break;
}
Storage storage = dataCache.getStorageById(storagePos.getStorageId());
if (storage == null){
continue;
}
Barcode posBarcode = storagePos.getBarcode();
if (posBarcode == null){
continue;
}
if (storagePos.getStorageId().equals(storageId)) {
Barcode barcode = storagePos.getBarcode();
if (barcode == null){
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!