From 8d8b9e4254231ff4dc8fc32c29608aeec47232d5 Mon Sep 17 00:00:00 2001
From: fwq <582742538@qq.com>
Date: 星期一, 26 十二月 2022 17:38:39 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/main/java/com/hx/util/StringUtils.java |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/hx/util/StringUtils.java b/src/main/java/com/hx/util/StringUtils.java
index 0a43d73..78d4e36 100644
--- a/src/main/java/com/hx/util/StringUtils.java
+++ b/src/main/java/com/hx/util/StringUtils.java
@@ -228,6 +228,16 @@
         return null == str || str.trim().length() == 0 || "undefined".equals(str);
     }
 
+    /**鍒ゆ柇绌�*/
+    public static boolean isNull(String str) {
+        return null == str || str.trim().length() == 0 || "undefined".equals(str);
+    }
+
+    /**鍒ゆ柇闈炵┖*/
+    public static boolean noNull(String str) {
+        return null != str && str.trim().length() != 0 && !"undefined".equals(str);
+    }
+
     /**
      * 鍒ゆ柇瀛楃鍐呭涓槸鍚﹀瓨鍦ㄤ竴涓负绌虹殑瀛楃锟�?
      * <p>

--
Gitblit v1.8.0