From abe957080b5b2f960f414c8ae10a67be0d418ce7 Mon Sep 17 00:00:00 2001 From: zyx <zyx123456> Date: 星期六, 08 六月 2024 10:32:34 +0800 Subject: [PATCH] 增加并板出库功能(PDA端) --- src/main/java/com/zy/common/web/BaseController.java | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/common/web/BaseController.java b/src/main/java/com/zy/common/web/BaseController.java index 995c3d9..6d9033f 100644 --- a/src/main/java/com/zy/common/web/BaseController.java +++ b/src/main/java/com/zy/common/web/BaseController.java @@ -184,4 +184,13 @@ wrapper.like(columns.get(i), condition); } } + + public static boolean isNumber(String str){ + for (int i = str.length();--i>=0;){ + if (!Character.isDigit(str.charAt(i))){ + return false; + } + } + return true; + } } -- Gitblit v1.9.1