|
@@ -35,10 +35,10 @@ public class ParentsV1QueryDaoImpl implements ParentsV1QueryDao {
|
|
|
|
|
|
@Autowired
|
|
|
private PagingHibernateJdbcDao dao;
|
|
|
- @Autowired
|
|
|
- private KmtHomeworkWrongQuestionService kmtHomeworkWrongQuestionService;
|
|
|
- @Autowired
|
|
|
- private KmtExerciseQuestionService kmtExerciseQuestionService;
|
|
|
+// @Autowired
|
|
|
+// private KmtHomeworkWrongQuestionService kmtHomeworkWrongQuestionService;
|
|
|
+// @Autowired
|
|
|
+// private KmtExerciseQuestionService kmtExerciseQuestionService;
|
|
|
|
|
|
@Override
|
|
|
public List<Map<String, Object>> getChildEasemobList(String userId) {
|
|
@@ -274,7 +274,7 @@ public class ParentsV1QueryDaoImpl implements ParentsV1QueryDao {
|
|
|
List<String> questionList = new ArrayList<>();
|
|
|
if (Objects.equals(2, type)) {
|
|
|
//打印原题的查询类型,需要返回图片关联的错题原题
|
|
|
- List<Map<String, Object>> questionMapList = kmtHomeworkWrongQuestionService.findQuestionList(Collections.singletonList(homeworkPictureId));
|
|
|
+ List<Map<String, Object>> questionMapList = null; //kmtHomeworkWrongQuestionService.findQuestionList(Collections.singletonList(homeworkPictureId));
|
|
|
|
|
|
//取出没有分多个小题的题目
|
|
|
questionList = questionMapList.stream()
|
|
@@ -289,7 +289,7 @@ public class ParentsV1QueryDaoImpl implements ParentsV1QueryDao {
|
|
|
.map(questionMap -> String.valueOf(questionMap.get("parent_id")))
|
|
|
.distinct()
|
|
|
.collect(Collectors.toList());
|
|
|
- List<String> questionAndParentList = kmtExerciseQuestionService.findListAndParentByParentId(parentQuestionIdList);
|
|
|
+ List<String> questionAndParentList = null; //kmtExerciseQuestionService.findListAndParentByParentId(parentQuestionIdList);
|
|
|
questionList.addAll(questionAndParentList);
|
|
|
}
|
|
|
|