Commit 8805e1b4 by s_guodong

update

parent f334f670
......@@ -123,7 +123,7 @@ public class ValidatorUtil {
}
}
}
if (f.isAnnotationPresent(ListValue.class) && o != null) {
if (f.isAnnotationPresent(ListValue.class) && o != null && StringUtils.isNotBlank(((String) o).trim())) {
ListValue annotation = f.getAnnotation(ListValue.class);
int index = -1;
if (type.isAssignableFrom(String.class)) {
......
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