| | |
| | | //查询该vip 用户的 vip 库,从该120题中取出题目 |
| | | VipTopic vipTopic = new VipTopic(); |
| | | vipTopic.setUserId(Long.parseLong(score.getUserId())); |
| | | vipTopic.setApplyId(score.getApplyId()); |
| | | // vipTopic.setApplyId(score.getApplyId()); |
| | | VipTopic topic = vipTopicService.getOne(Condition.getQueryWrapper(vipTopic)); |
| | | if (null!=topic){ |
| | | List<String> list = Arrays.asList(topic.getTopicIds().split(",")); |
| | |
| | | public List<ExamScoreVO> getExamScoreList(ExamScoreVO examScoreVO) { |
| | | return baseMapper.getExamScoreList(examScoreVO); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 根据id 取出题目信息(随机取) |
| | | * @param list 题目id集合 |
| | | * @param number 题目梳理 |
| | | * @return |
| | | */ |
| | | @Override |
| | | public List<ExamSubjectChoicesVO> queryRandomSubjectList(List<String> list, int number) { |
| | | return baseMapper.queryRandomSubjectList(list,number); |
| | | } |
| | | |
| | | /** |
| | | * 模拟考试随机抽题,未缴费人员 |
| | | * @return |
| | | */ |
| | | @Override |
| | | public List<ExamSubjectChoicesVO> simulateQueryRandomSubjectList() { |
| | | return baseMapper.simulateQueryRandomSubjectList(); |
| | | } |
| | | } |