数据导入1.2.2

This commit is contained in:
Cool 2024-03-26 19:51:21 +08:00
parent 1526d304bc
commit 700cdddf4a
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ public class DBFImporter {
//对学生信息进行检查 //对学生信息进行检查
int entry = Integer.parseInt(entryDate); int entry = Integer.parseInt(entryDate);
int year = DateUtils.getYear(); int year = DateUtils.getYear();
if (entry<2015||entry>year+1||Pattern.compile("[a-zA-Z]").matcher(entryDate).find()) continue; if (entry<2010||entry>year+1||Pattern.compile("[a-zA-Z]").matcher(entryDate).find()) continue;
cet.setEntrydate(entryDate.substring(0, 4)); cet.setEntrydate(entryDate.substring(0, 4));
} }