|
@@ -171,14 +171,7 @@ public class StudentExamInfoController extends ControllerSupport {
|
|
}
|
|
}
|
|
|
|
|
|
if (CollectionUtils.isNotEmpty(failureRecordList)) {
|
|
if (CollectionUtils.isNotEmpty(failureRecordList)) {
|
|
- StringBuilder sb = new StringBuilder("\n");
|
|
|
|
- for (FailureRecordDomain curD : failureRecordList) {
|
|
|
|
- sb.append(curD.getName()).append("[学号:").append(curD.getStudentCode())
|
|
|
|
- .append(",课程代码:").append(curD.getCourseCode()).append("]; 错误描述:")
|
|
|
|
- .append(curD.getDesc()).append("\n");
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- return new ResponseEntity<Object>(sb.toString(), HttpStatus.INTERNAL_SERVER_ERROR);
|
|
|
|
|
|
+ return new ResponseEntity<Object>(failureRecordList, HttpStatus.INTERNAL_SERVER_ERROR);
|
|
} else {
|
|
} else {
|
|
return new ResponseEntity<Object>(examStudentIdList, HttpStatus.OK);
|
|
return new ResponseEntity<Object>(examStudentIdList, HttpStatus.OK);
|
|
}
|
|
}
|