|
|
|
@ -66,8 +66,6 @@ public class TeaGradeManageController {
|
|
|
|
|
@Autowired
|
|
|
|
|
private StuTheoryExamMapper stuTheoryExamMapper;
|
|
|
|
|
@Autowired
|
|
|
|
|
private SysCaseQuestionMapper sysCaseQuestionMapper;
|
|
|
|
|
@Autowired
|
|
|
|
|
private SysCaseQuestionStepMapper sysCaseQuestionStepMapper;
|
|
|
|
|
@Autowired
|
|
|
|
|
private SysObjectiveQuestionMapper sysObjectiveQuestionMapper;
|
|
|
|
@ -81,6 +79,9 @@ public class TeaGradeManageController {
|
|
|
|
|
@ApiParam("ManyAnswer为考试时间,JudgeAnswer为发布人") @RequestParam String schoolId) {
|
|
|
|
|
|
|
|
|
|
List<TeaExamManage> teaExamManages = teaExamManageMapper.selectBySchoolId(schoolId);
|
|
|
|
|
if (teaExamManages.isEmpty()) {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
List<TeaExamManageCountDto> teaExamManageCountDtos = new ArrayList<>();
|
|
|
|
|
Map<String, StuUser> userMap = new HashMap<>();
|
|
|
|
|
|
|
|
|
@ -261,8 +262,8 @@ public class TeaGradeManageController {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
List<SysObjectiveQuestion> resultList = sysObjectiveQuestionMapper.getGradeReportObjective(list);
|
|
|
|
|
if (!resultList.isEmpty()){
|
|
|
|
|
int i =0;
|
|
|
|
|
if (!resultList.isEmpty()) {
|
|
|
|
|
int i = 0;
|
|
|
|
|
for (SysObjectiveQuestion sysObjectiveQuestion : resultList) {
|
|
|
|
|
i++;
|
|
|
|
|
sysObjectiveQuestion.setObjectiveId(Integer.toString(i));
|
|
|
|
|