|
@@ -199,6 +199,16 @@ public class UserStudyRecordServiceImpl extends ServiceImpl<UserStudyRecordMappe
|
|
|
subjectStudyRecordQueryBo.setUserId(examStudyRecordVo.getUserId());
|
|
subjectStudyRecordQueryBo.setUserId(examStudyRecordVo.getUserId());
|
|
|
subjectStudyRecordQueryBo.setGoodsId(examStudyRecordVo.getGoodsId());
|
|
subjectStudyRecordQueryBo.setGoodsId(examStudyRecordVo.getGoodsId());
|
|
|
List<ExamSonStudyRecordVo> examSonStudyRecordVos = baseMapper.listExamSon(subjectStudyRecordQueryBo);
|
|
List<ExamSonStudyRecordVo> examSonStudyRecordVos = baseMapper.listExamSon(subjectStudyRecordQueryBo);
|
|
|
|
|
+ for (ExamSonStudyRecordVo examSonStudyRecordVo : examSonStudyRecordVos) {
|
|
|
|
|
+ List<String> examTypes = baseMapper.examTypes(examSonStudyRecordVo.getQuestionId());
|
|
|
|
|
+ String s = "";
|
|
|
|
|
+ for (String examType : examTypes) {
|
|
|
|
|
+ if (StringUtils.isNotBlank(examType)) {
|
|
|
|
|
+ s= s.concat(examType + ",");
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ examSonStudyRecordVo.setExamType(s.substring(0, s.length() - 1));
|
|
|
|
|
+ }
|
|
|
examStudyRecordVo.setExamSonStudyRecordVos(examSonStudyRecordVos);
|
|
examStudyRecordVo.setExamSonStudyRecordVos(examSonStudyRecordVos);
|
|
|
}
|
|
}
|
|
|
return examStudyRecordVos;
|
|
return examStudyRecordVos;
|