Commit b120b1b7 by zhiwj

去掉判断

parent 2f79bd6d
package com.gic.store.utils.field;
import org.apache.commons.collections.CollectionUtils;
import java.util.List;
/**
......@@ -58,7 +60,7 @@ public class FieldBase {
if (msg != null) {
return msg;
}
if (value != null && !"".equals(value.trim())) {
if (value != null && !"".equals(value.trim()) && CollectionUtils.isNotEmpty(nameList)) {
String[] values = value.split(",");
for (String val : values) {
boolean exist = false;
......
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