fix 标协会员导入bug

This commit is contained in:
lijiarao
2024-03-28 15:23:52 +08:00
parent 8e1130b2f6
commit 9961405648
2 changed files with 24 additions and 10 deletions
@@ -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;
}
}