|
|
@@ -8,6 +8,7 @@ import com.google.common.collect.Lists;
|
|
|
import com.google.common.collect.Sets;
|
|
|
import com.ruoyi.common.utils.CommonUtils;
|
|
|
import com.ruoyi.common.utils.NumberUtils;
|
|
|
+import com.ruoyi.enums.PaperType;
|
|
|
import com.ruoyi.learn.domain.LearnStudent;
|
|
|
import com.ruoyi.learn.mapper.LearnAnswerMapper;
|
|
|
import com.ruoyi.learn.mapper.LearnExamineeMapper;
|
|
|
@@ -33,8 +34,8 @@ public class LearnStatService {
|
|
|
this.learnStudentService = learnStudentService;
|
|
|
this.learnTeacherService = learnTeacherService1;
|
|
|
}
|
|
|
- public List<JSONObject> selectStudentPractices(Long studentId) {
|
|
|
- return examineeMapper.selectStudentPractices(studentId);
|
|
|
+ public List<JSONObject> selectStudentPractices(Long studentId, PaperType paperType) {
|
|
|
+ return examineeMapper.selectStudentPractices(studentId, paperType.getVal());
|
|
|
}
|
|
|
|
|
|
public List<JSONObject> getSimulatedClassRecord(Long teacherId) {
|