Commit 643f239b hc

fix:备品仓比较subCodeList方法去0

1 个父辈 e9f952c3
......@@ -191,7 +191,8 @@ public class SpBoxUtil {
public static String getPartNumber(List<Barcode> subCodeList,String reelId){
if (subCodeList != null && !subCodeList.isEmpty()){
for (Barcode barcode : subCodeList) {
if (reelId.equals(barcode.getBarcode())){
if (reelId.replace("0", "")
.equals(barcode.getBarcode().replace("0", ""))){
return barcode.getPartNumber();
}
}
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!