Commit 2205f05b zshaohui

入料机构获取料箱 修改

1 个父辈 ec6fe17e
......@@ -158,8 +158,14 @@ public class BinCacheUtil {
validBinList.add(binCode);
}
}
} else {
if (binCode.startsWith("C13") || binCode.startsWith("C15")) {
} else if ("13".equals(materialSize)) {
if (binCode.startsWith("C13")) {
if (binCode.endsWith("01")) {
validBinList.add(binCode);
}
}
} else if ("15".equals(materialSize)) {
if (binCode.startsWith("C15")) {
if (binCode.endsWith("01")) {
validBinList.add(binCode);
}
......@@ -221,8 +227,14 @@ public class BinCacheUtil {
validBinList.add(binCode);
}
}
} else {
if (binCode.startsWith("C13") || binCode.startsWith("C15")) {
} else if ("13".equals(materialSize)) {
if (binCode.startsWith("C13")) {
if (binCode.endsWith("01")) {
validBinList.add(binCode);
}
}
} else if ("15".equals(materialSize)) {
if (binCode.startsWith("C15")) {
if (binCode.endsWith("01")) {
validBinList.add(binCode);
}
......@@ -255,8 +267,8 @@ public class BinCacheUtil {
for (DataLog dataLog : allTasks) {
if (dataLog.isCheckOutTask() && !dataLog.isCancel() && !dataLog.isFinished()) {
if (dataLog.isCallEmptyBox()
&& !TaskCurrentLoc.In1_FeedingInlet.equals(dataLog.getCurrentLoc())
&& !TaskCurrentLoc.In2_FeedingInlet.equals(dataLog.getCurrentLoc())
/* && !TaskCurrentLoc.In1_FeedingInlet.equals(dataLog.getCurrentLoc())
&& !TaskCurrentLoc.In2_FeedingInlet.equals(dataLog.getCurrentLoc())*/
) {
if (TaskCurrentLoc.In_FeedingInlet.equals(dataLog.getLoc()) || source.equals(dataLog.getLoc()) ) {
callEmptyBoxList.add(dataLog.getBarcode());
......@@ -291,8 +303,14 @@ public class BinCacheUtil {
validBinList.add(binCode);
}
}
} else {
if (binCode.startsWith("C13") || binCode.startsWith("C15")) {
} else if ("13".equals(materialSize)) {
if (binCode.startsWith("C13")) {
if (binCode.endsWith("01")) {
validBinList.add(binCode);
}
}
} else if ("15".equals(materialSize)) {
if (binCode.startsWith("C15")) {
if (binCode.endsWith("01")) {
validBinList.add(binCode);
}
......@@ -377,8 +395,14 @@ public class BinCacheUtil {
validBinList.add(binCode);
}
}
} else {
if (binCode.startsWith("C13") || binCode.startsWith("C15")) {
} else if ("13".equals(materialSize)) {
if (binCode.startsWith("C13")) {
if (binCode.endsWith("01")) {
validBinList.add(binCode);
}
}
} else if ("15".equals(materialSize)) {
if (binCode.startsWith("C15")) {
if (binCode.endsWith("01")) {
validBinList.add(binCode);
}
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!