Commit 9b9da445 zshaohui

1.工单出库功能还原

1 个父辈 97b34ee2
...@@ -1046,27 +1046,27 @@ public class LiteOrderCache { ...@@ -1046,27 +1046,27 @@ public class LiteOrderCache {
if (posBarcode == null){ if (posBarcode == null){
continue; continue;
} }
StoragePos newPos = storagePosManager.getByBarcode(posBarcode.getBarcode()); /*StoragePos newPos = storagePosManager.getByBarcode(posBarcode.getBarcode());
if (newPos == null){ if (newPos == null){
continue; continue;
} }*/
Storage storage = dataCache.getStorageById(newPos.getStorageId()); Storage storage = dataCache.getStorageById(storagePos.getStorageId());
if (storage == null){ if (storage == null){
continue; continue;
} }
if (newPos.getStorageId().equals(storageId)) { if (storagePos.getStorageId().equals(storageId)) {
Barcode barcode = newPos.getBarcode(); Barcode barcode = storagePos.getBarcode();
if (barcode == null){ if (barcode == null){
continue; continue;
} }
if (!newPos.isEnabled()){ if (!storagePos.isEnabled()){
continue; continue;
} }
Collection<String> excludeOutPosIds = excludeOutPosIds(); Collection<String> excludeOutPosIds = excludeOutPosIds();
if (excludeOutPosIds.contains(newPos.getId())){ if (excludeOutPosIds.contains(storagePos.getId())){
continue; continue;
} }
boolean hasTask = false; boolean hasTask = false;
...@@ -1086,7 +1086,7 @@ public class LiteOrderCache { ...@@ -1086,7 +1086,7 @@ public class LiteOrderCache {
if (hasTask){ if (hasTask){
continue; continue;
} }
pos = newPos; pos = storagePos;
} }
} }
if (pos != null) { if (pos != null) {
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!