Commit 157f0c2e authored by yanzg's avatar yanzg

身份证识别

parent 00f7aa00
......@@ -82,7 +82,7 @@ public class ArrayHelper {
* @return
*/
public static boolean isArrayOrCollection(Object val) {
return val != null && (val instanceof List || val.getClass().isArray());
return val != null && (val instanceof Collection || val.getClass().isArray());
}
......
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