Commit 82244f9b authored by fangxinjiang's avatar fangxinjiang

全局异常处理

parent e654bb35
...@@ -30,4 +30,8 @@ public class Common { ...@@ -30,4 +30,8 @@ public class Common {
public static boolean isEmpty(Object obj) { public static boolean isEmpty(Object obj) {
return null == obj; return null == obj;
} }
public static boolean isNotNull(Object obj) {
return null != obj;
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment