|
|
@@ -557,7 +557,7 @@ public class PaperService {
|
|
|
}
|
|
|
|
|
|
public List<LearnPaperQuestion> getQuestionsByRandom(Long studentId, Integer total, Collection<Long> knowledgeIds, List<String> types) {
|
|
|
- Map<String, KnowTypeAssign> knowTypeAssignMap = buildKnowTypeAssignMap(studentId, "2", null, types, knowledgeIds, false);
|
|
|
+ Map<String, KnowTypeAssign> knowTypeAssignMap = buildKnowTypeAssignMap(studentId, "2", null, types, knowledgeIds, true);
|
|
|
List<KnowTypeAssign> knowTypeAssignList = Lists.newArrayList(knowTypeAssignMap.values());
|
|
|
List<LearnPaperQuestion> pqList = Lists.newArrayList();
|
|
|
Set<String> existQuestionSet = Sets.newHashSet();
|