|
|
@ -81,8 +81,8 @@ public class TeaGradeManageController {
|
|
|
|
@ApiParam("系统名称") @RequestParam String systemOwner) {
|
|
|
|
@ApiParam("系统名称") @RequestParam String systemOwner) {
|
|
|
|
|
|
|
|
|
|
|
|
List<TeaExamManage> teaExamManages = teaExamManageMapper.selectBySchoolIdAndSystemOwner(schoolId, systemOwner);
|
|
|
|
List<TeaExamManage> teaExamManages = teaExamManageMapper.selectBySchoolIdAndSystemOwner(schoolId, systemOwner);
|
|
|
|
if (teaExamManages.isEmpty()) {
|
|
|
|
if (teaExamManages == null || teaExamManages.isEmpty()) {
|
|
|
|
return null;
|
|
|
|
return new ResultEntity<>(new PageInfo<>());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
List<TeaExamManageCountDto> teaExamManageCountDtos = new ArrayList<>();
|
|
|
|
List<TeaExamManageCountDto> teaExamManageCountDtos = new ArrayList<>();
|
|
|
|
Map<String, StuUser> userMap = new HashMap<>();
|
|
|
|
Map<String, StuUser> userMap = new HashMap<>();
|
|
|
@ -244,7 +244,7 @@ public class TeaGradeManageController {
|
|
|
|
List<String> list = Arrays.asList(caseIdList.split(","));
|
|
|
|
List<String> list = Arrays.asList(caseIdList.split(","));
|
|
|
|
List<TestTestSysCaseQuestionStepWithBLOBs> resultList = null;
|
|
|
|
List<TestTestSysCaseQuestionStepWithBLOBs> resultList = null;
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
resultList = CaseApi.getGradeReportCase(list, schoolId,systemOwner);
|
|
|
|
resultList = CaseApi.getGradeReportCase(list, schoolId, systemOwner);
|
|
|
|
} catch (IOException e) {
|
|
|
|
} catch (IOException e) {
|
|
|
|
return new ResultEntity<>(HttpStatus.BAD_REQUEST, "资源中心接口异常");
|
|
|
|
return new ResultEntity<>(HttpStatus.BAD_REQUEST, "资源中心接口异常");
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -574,8 +574,8 @@ public class TeaGradeManageController {
|
|
|
|
for (int i = 0; i < twoCatalogs.size(); i++) {
|
|
|
|
for (int i = 0; i < twoCatalogs.size(); i++) {
|
|
|
|
HashMap<String, String> hashMap = new HashMap<>();
|
|
|
|
HashMap<String, String> hashMap = new HashMap<>();
|
|
|
|
SysTwoCatalog sysTwoCatalog = twoCatalogs.get(i);
|
|
|
|
SysTwoCatalog sysTwoCatalog = twoCatalogs.get(i);
|
|
|
|
hashMap.put("course_id",sysTwoCatalog.getTwoId());
|
|
|
|
hashMap.put("course_id", sysTwoCatalog.getTwoId());
|
|
|
|
hashMap.put("course_name",sysTwoCatalog.getTwoName());
|
|
|
|
hashMap.put("course_name", sysTwoCatalog.getTwoName());
|
|
|
|
list.add(hashMap);
|
|
|
|
list.add(hashMap);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} catch (IOException e) {
|
|
|
|
} catch (IOException e) {
|
|
|
@ -610,7 +610,7 @@ public class TeaGradeManageController {
|
|
|
|
@RequestParam(required = false) String classId,
|
|
|
|
@RequestParam(required = false) String classId,
|
|
|
|
@ApiParam("学号/姓名搜索框") @RequestParam(required = false) String keyWord,
|
|
|
|
@ApiParam("学号/姓名搜索框") @RequestParam(required = false) String keyWord,
|
|
|
|
@RequestParam String systemOwner) {
|
|
|
|
@RequestParam String systemOwner) {
|
|
|
|
return new ResultEntity<>(iTeaGradeManageService.getTheoryInfo(index, size, schoolId, classId, keyWord,systemOwner));
|
|
|
|
return new ResultEntity<>(iTeaGradeManageService.getTheoryInfo(index, size, schoolId, classId, keyWord, systemOwner));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|