|
@@ -305,6 +305,9 @@ public class SubjectServiceImpl extends MppServiceImpl<SubjectDao, SubjectEntity
|
|
|
if (studentService.existUncheck(examId, subjectCode)) {
|
|
|
throw new ParameterException("有缺考待确认考生");
|
|
|
}
|
|
|
+ if (studentService.existImageCheckUnFinish(examId, subjectCode)) {
|
|
|
+ throw new ParameterException("有未完成的图片检查");
|
|
|
+ }
|
|
|
if (StringUtils.isBlank(examService.getById(examId).getScanSite())) {
|
|
|
throw new ParameterException("扫描点代码未设置");
|
|
|
}
|
|
@@ -334,6 +337,9 @@ public class SubjectServiceImpl extends MppServiceImpl<SubjectDao, SubjectEntity
|
|
|
if (studentService.existUncheck(examId, subjectCode)) {
|
|
|
throw new ParameterException("有缺考待确认考生");
|
|
|
}
|
|
|
+ if (studentService.existImageCheckUnFinish(examId, subjectCode)) {
|
|
|
+ throw new ParameterException("有未完成的图片检查");
|
|
|
+ }
|
|
|
if (StringUtils.isBlank(examService.getById(examId).getScanSite())) {
|
|
|
throw new ParameterException("扫描点代码未设置");
|
|
|
}
|
|
@@ -537,7 +543,7 @@ public class SubjectServiceImpl extends MppServiceImpl<SubjectDao, SubjectEntity
|
|
|
if (CollectionUtils.isNotEmpty(list)) {
|
|
|
for (int i = 1; i < list.size(); i++) {
|
|
|
String[] ss = list.get(i).split(",");
|
|
|
- ret.put(ss[1].trim(), ss[3].trim());
|
|
|
+ ret.put(ss[0].trim(), ss[2].trim());
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -552,7 +558,7 @@ public class SubjectServiceImpl extends MppServiceImpl<SubjectDao, SubjectEntity
|
|
|
if (CollectionUtils.isNotEmpty(list)) {
|
|
|
for (int i = 1; i < list.size(); i++) {
|
|
|
String[] ss = list.get(i).split(",");
|
|
|
- ret.put(ss[1].trim(), ss[3].trim());
|
|
|
+ ret.put(ss[0].trim(), ss[2].trim());
|
|
|
}
|
|
|
}
|
|
|
}
|