|
@@ -92,9 +92,11 @@ public class SpecialReportService {
|
|
|
}
|
|
|
String collect = result.getCollectQuestion();
|
|
|
//答对的选项
|
|
|
- List<Long> collects = Arrays.stream(collect.split(","))
|
|
|
- .map(Long::parseLong).collect(Collectors.toList());
|
|
|
-
|
|
|
+ List<Long> collects = new ArrayList<>();
|
|
|
+ if (StringUtils.isNotBlank(collect)) {
|
|
|
+ collects = Arrays.stream(collect.split(","))
|
|
|
+ .map(Long::parseLong).collect(Collectors.toList());
|
|
|
+ }
|
|
|
boolean complexMaster = list.stream().anyMatch(s -> Constants.SPECIAL_MASTER_STATUS.contains(s.getContent()));
|
|
|
|
|
|
for (SpecialKnowledge knowledge : list) {
|