|
|
|
@ -140,7 +140,7 @@ public class StuConceptBlockServiceImpl implements StuConceptBlockService {
|
|
|
|
|
@Override
|
|
|
|
|
public void hashLearningAssessmentScore(StuLearningAssessmentScoreDTO stuLearningAssessmentScoreDTO) {
|
|
|
|
|
StuAssessmentQuestionDetailsExample detailsExample = new StuAssessmentQuestionDetailsExample();
|
|
|
|
|
detailsExample.createCriteria().andUserIdEqualTo(stuLearningAssessmentScoreDTO.getUserId()).andModuleEqualTo(stuLearningAssessmentScoreDTO.getModule());
|
|
|
|
|
detailsExample.createCriteria().andUserIdEqualTo(stuLearningAssessmentScoreDTO.getUserId());
|
|
|
|
|
List<StuAssessmentQuestionDetails> stuAssessmentQuestionDetails = stuAssessmentQuestionDetailsMapper.selectByExample(detailsExample);
|
|
|
|
|
if (stuAssessmentQuestionDetails.size() != 0) {
|
|
|
|
|
StuLearningAssessmentExample example1 = new StuLearningAssessmentExample();
|
|
|
|
@ -198,7 +198,7 @@ public class StuConceptBlockServiceImpl implements StuConceptBlockService {
|
|
|
|
|
|
|
|
|
|
StuLearningAssessmentExample example1 = new StuLearningAssessmentExample();
|
|
|
|
|
StuLearningAssessmentExample.Criteria criteria1 = example1.createCriteria();
|
|
|
|
|
criteria1.andModuleEqualTo(stuLearningAssessmentScoreDTO.getModule());
|
|
|
|
|
criteria1.getAllCriteria();
|
|
|
|
|
List<StuLearningAssessment> stuLearningAssessments = stuLearningAssessmentMapper.selectByExample(example1);
|
|
|
|
|
|
|
|
|
|
List<StuLearningAssessmentDTO> stuLearningAssessmentDTOS = stuLearningAssessmentScoreDTO.getStuLearningAssessmentDTOS();
|
|
|
|
|