数据导入1.2.2
This commit is contained in:
parent
1526d304bc
commit
700cdddf4a
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue