fix 标协会员导入bug
This commit is contained in:
@@ -139,4 +139,18 @@ public class ValidUtil {
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
/**
|
||||
* 检查错误信息中是否有指定错误信息
|
||||
*/
|
||||
public static boolean checkErrorList(List<String> errorList, String key){
|
||||
boolean result = true;
|
||||
for (String error : errorList) {
|
||||
if (error.contains(key)){
|
||||
result = false;
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user