diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/sch/task/util/TaskUtils.java b/lms/nladmin-system/src/main/java/org/nl/wms/sch/task/util/TaskUtils.java index dbdcf8c..a914a72 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/sch/task/util/TaskUtils.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/sch/task/util/TaskUtils.java @@ -255,8 +255,8 @@ public class TaskUtils { int slashIndex = brickType.lastIndexOf("/"); int brickTypeRight = Integer.parseInt(brickType.substring(slashIndex + 1)); if (brickTypeRight >= 100) { - int brickTypeFront = Integer.parseInt(brickType.substring(0, slashIndex)); - brickType = brickTypeFront + "/" + "1H"; + int brickTypeLeft = Integer.parseInt(brickType.substring(0, slashIndex)); + brickType = brickTypeLeft + "/" + "1H"; } // 压机号1位,A代表1号压机,以此类推。从压机设备编码截取数字,例如"YJ07"截取"07",转换成数字后减去1即是压机对应字母在 alphabet 数组中的索引位置。