Commit f5849a03 LN

麦康尼库存更新bug修改

1 个父辈 c35ebdc2
...@@ -42,7 +42,7 @@ public class MInventory implements Serializable { ...@@ -42,7 +42,7 @@ public class MInventory implements Serializable {
public String getDepotCid(){ public String getDepotCid(){
// 缺少库存,自动增加库存 // 缺少库存,自动增加库存
String[] arrays = depot.split(","); String[] arrays = depot.split("\\.");
if (arrays.length < 2) { if (arrays.length < 2) {
return ""; return "";
} }
......
...@@ -258,6 +258,9 @@ public class MicronDeviceController { ...@@ -258,6 +258,9 @@ public class MicronDeviceController {
for (StoragePos pos : for (StoragePos pos :
allUsedStoragePosMap.values()) { allUsedStoragePosMap.values()) {
if(pos.getBarcode()==null){
continue;
}
String barcode = pos.getBarcode().getBarcode(); String barcode = pos.getBarcode().getBarcode();
//判断是否已在库位中 //判断是否已在库位中
if (barcodeInventory.containsKey(barcode)) { if (barcodeInventory.containsKey(barcode)) {
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!