From 63a52ec239c245954def02450f91925b4003f924 Mon Sep 17 00:00:00 2001
From: DELL <56479841@qq.com>
Date: 星期二, 25 六月 2024 16:25:25 +0800
Subject: [PATCH] 只能有一个在设备上走的工作档
---
src/main/java/com/zy/asrs/utils/Utils.java | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/zy/asrs/utils/Utils.java b/src/main/java/com/zy/asrs/utils/Utils.java
index e80f7e5..5c5b739 100644
--- a/src/main/java/com/zy/asrs/utils/Utils.java
+++ b/src/main/java/com/zy/asrs/utils/Utils.java
@@ -112,7 +112,8 @@
} else if (remainder == 3) {
targetRow = row + 1;
} else {
- throw new RuntimeException(shallowLoc + "涓嶆槸娴呭簱浣嶏紝绯荤粺绻佸繖");
+ return shallowLoc;
+// throw new RuntimeException(shallowLoc + "涓嶆槸娴呭簱浣嶏紝绯荤粺绻佸繖");
}
return zerofill(String.valueOf(targetRow), 2) + shallowLoc.substring(2);
}
@@ -128,7 +129,8 @@
} else if (remainder == 3) {
targetRow = shallowRow + 1;
} else {
- throw new RuntimeException(shallowRow + "涓嶆槸娴呭簱浣嶆帓锛岀郴缁熺箒蹇�");
+ return shallowRow;
+// throw new RuntimeException(shallowRow + "涓嶆槸娴呭簱浣嶆帓锛岀郴缁熺箒蹇�");
}
return targetRow;
}
--
Gitblit v1.9.1