Browse Source

rev 变量名

master
张江玮 1 year ago
parent
commit
8de6cd3ead
  1. 4
      lms/nladmin-system/src/main/java/org/nl/wms/sch/task/util/TaskUtils.java

4
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 数组中的索引位置。

Loading…
Cancel
Save