|
|
|
@ -652,7 +652,6 @@ public class ObjectiveApi {
|
|
|
|
|
@ApiOperation("获取所选客观题数量及分数")
|
|
|
|
|
@PostMapping("getChooseObjCountAndSorce")
|
|
|
|
|
private Map<String, BigDecimal> getChooseObjCountAndSorce(@RequestBody List<String> objectIdList) {
|
|
|
|
|
|
|
|
|
|
Map<String, BigDecimal> chooseObjCountAndSorce = sysObjectiveQuestionMapper.getChooseObjCountAndSorce(objectIdList);
|
|
|
|
|
return chooseObjCountAndSorce;
|
|
|
|
|
}
|
|
|
|
@ -665,8 +664,9 @@ public class ObjectiveApi {
|
|
|
|
|
private List<SysObjectiveQuestionsDto> selectObjByType(@RequestParam String type,
|
|
|
|
|
@RequestParam String schoolId,
|
|
|
|
|
@RequestParam String systemOwner) {
|
|
|
|
|
List<SysObjectiveQuestionsDto> sysObjectiveQuestionsDtos = sysObjectiveQuestionMapper.selectObjByType(type, schoolId);
|
|
|
|
|
|
|
|
|
|
SysOneCatalog sysOneCatalogs = getSysOneCatalogs(systemOwner);
|
|
|
|
|
String oneId = sysOneCatalogs.getOneId();
|
|
|
|
|
List<SysObjectiveQuestionsDto> sysObjectiveQuestionsDtos = sysObjectiveQuestionMapper.selectObjByType(type, schoolId, oneId);
|
|
|
|
|
return sysObjectiveQuestionsDtos;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|