修改错题集设置失败问题

master
xiaoCJ 7 months ago
parent f4cc8c25fa
commit 221963af3b

@ -236,7 +236,7 @@ public class TheoryTestServiceImpl implements ITheoryTestService {
} else {
stuError.setJudgeIds(String.valueOf(theoryTestDto.getJudgeErrorIds()));
}
errorMapper.updateByPrimaryKey(stuError);
errorMapper.updateByPrimaryKeySelective(stuError);
}
UpdateTheoryRecord(theoryTestDto.getUserId(), theoryTestDto.getScore(), theoryTestDto.getExamDuration());
return i;

Loading…
Cancel
Save