|
@@ -26,6 +26,7 @@ import com.keao.edu.user.dao.ExaminationBasicDao;
|
|
|
import com.keao.edu.user.dao.StudentExamResultDao;
|
|
|
import com.keao.edu.user.dto.ExaminationBasicDto;
|
|
|
import com.keao.edu.user.dto.RecordNotify;
|
|
|
+import com.keao.edu.user.dto.StudentExamResultDto;
|
|
|
import com.keao.edu.user.dto.StudentExamResultStatisticsDto;
|
|
|
import com.keao.edu.user.entity.*;
|
|
|
import com.keao.edu.user.enums.ExamStatusEnum;
|
|
@@ -80,15 +81,15 @@ public class StudentExamResultServiceImpl extends BaseServiceImpl<Long, StudentE
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public PageInfo<StudentExamResult> queryStudentExamResult(StudentExamResultQueryInfo queryInfo) {
|
|
|
- PageInfo<StudentExamResult> pageInfo = new PageInfo<>(queryInfo.getPage(), queryInfo.getRows());
|
|
|
+ public PageInfo<StudentExamResultDto> queryStudentExamResult(StudentExamResultQueryInfo queryInfo) {
|
|
|
+ PageInfo<StudentExamResultDto> pageInfo = new PageInfo<>(queryInfo.getPage(), queryInfo.getRows());
|
|
|
Map<String, Object> params = new HashMap<String, Object>();
|
|
|
MapUtil.populateMap(params, queryInfo);
|
|
|
|
|
|
List<Integer> childOrganIds = organizationService.getChildOrganIds(queryInfo.getOrganId(), true);
|
|
|
params.put("organIds", childOrganIds);
|
|
|
|
|
|
- List<StudentExamResult> dataList = new ArrayList<>();
|
|
|
+ List<StudentExamResultDto> dataList = new ArrayList<>();
|
|
|
int count = studentExamResultDao.countStudentExamResult(params);
|
|
|
if (count > 0) {
|
|
|
pageInfo.setTotal(count);
|