|
@@ -240,7 +240,6 @@ public class ScoreController extends BaseParameterController {
|
|
|
query.setIds(ids);
|
|
|
}
|
|
|
query = studentService.findByQuery(query);
|
|
|
- addStudentPropertype(query.getResult());
|
|
|
String fileName = "成绩单_" + DateUtils.getDate("yyyyMMdd") + ".xlsx";
|
|
|
try {
|
|
|
if(subjectCode!=null){
|
|
@@ -358,7 +357,6 @@ public class ScoreController extends BaseParameterController {
|
|
|
query.setPageNumber(1);
|
|
|
query.setPageSize(Integer.MAX_VALUE);
|
|
|
query = studentService.findByQuery(query);
|
|
|
- addStudentPropertype(query.getResult());
|
|
|
String fileName = "成绩单_" + DateUtils.getDate("yyyyMMdd") + ".xls";
|
|
|
String subTitle = "负责教师签字:_______________ 交回日期:_______________";
|
|
|
try {
|
|
@@ -405,13 +403,4 @@ public class ScoreController extends BaseParameterController {
|
|
|
}
|
|
|
return ids;
|
|
|
}
|
|
|
- public void addStudentPropertype(List<ExamStudent> students){
|
|
|
- for (ExamStudent student : students) {
|
|
|
- Marker marker = markerService.findByStudentId(student.getId());
|
|
|
- if(marker != null){
|
|
|
- student.setMarkLogin(marker.getLoginName());
|
|
|
- student.setMarkName(marker.getName());
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
}
|