From 70710fc4405ad6501f9d3d3c7b14510a2ca3cd7b Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期三, 14 六月 2023 13:49:53 +0800 Subject: [PATCH] 找库位返回dto --- src/main/java/com/zy/asrs/utils/Utils.java | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/asrs/utils/Utils.java b/src/main/java/com/zy/asrs/utils/Utils.java index 5a0214c..250745d 100644 --- a/src/main/java/com/zy/asrs/utils/Utils.java +++ b/src/main/java/com/zy/asrs/utils/Utils.java @@ -185,7 +185,9 @@ } - + public static String getLocNo(Number row, Number bay, Number lev) { + return zerofill(String.valueOf(row), 2) + zerofill(String.valueOf(bay), 3) + zerofill(String.valueOf(lev), 2); + } public static List<String> getGroupLoc(String locNo){ int row = getRow(locNo); -- Gitblit v1.9.1