修改成绩为空时的解析处理

old-package
lensfrex 2 years ago
parent bb4667fc31
commit bbb3f98010
Signed by: lensfrex
GPG Key ID: 0F69A0A2FBEE98A0
  1. 3
      mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/ExamInfoParser.java

@ -28,6 +28,9 @@ public class ExamInfoParser implements Parser<List<ExamInfo>> {
try { try {
for (Element row : rows) { for (Element row : rows) {
Elements columns = row.getElementsByTag("td"); Elements columns = row.getElementsByTag("td");
if (columns.size() < 14) {
continue;
}
ExamInfo examInfo = new ExamInfo(); ExamInfo examInfo = new ExamInfo();

Loading…
Cancel
Save