Commit 5c5e1a12 zshaohui

空隔口 盘点不显示 修改

1 个父辈 9749c28b
...@@ -310,6 +310,7 @@ public class InventoryController { ...@@ -310,6 +310,7 @@ public class InventoryController {
} }
} }
} }
pos.setBarcode(barcode);
} }
resultList.add(pos); resultList.add(pos);
} }
......
...@@ -120,7 +120,10 @@ public class BoxUtil { ...@@ -120,7 +120,10 @@ public class BoxUtil {
public static List<PartitionInfo> getPartitionInfo(String boxSideStr, Barcode barcode) { public static List<PartitionInfo> getPartitionInfo(String boxSideStr, Barcode barcode) {
List<PartitionInfo> infoList = new ArrayList<>(); List<PartitionInfo> infoList = new ArrayList<>();
List<Barcode> subCodeList = barcode.getSubCodeList(); List<Barcode> subCodeList = barcode.getSubCodeList();
if (subCodeList != null && !subCodeList.isEmpty()) { if (subCodeList == null){
subCodeList = new ArrayList<>();
}
if (subCodeList != null /*&& !subCodeList.isEmpty()*/) {
Map<String, PartitionInfo> infoMap = new HashMap<>(); Map<String, PartitionInfo> infoMap = new HashMap<>();
String boxStr = getBoxStr(boxSideStr); String boxStr = getBoxStr(boxSideStr);
for (int i = 1; i < 9; i++) { for (int i = 1; i < 9; i++) {
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!