|
@@ -460,6 +460,7 @@ public class NeoFacade {
|
|
|
if (presentPushVo != null) {
|
|
|
if (ListUtil.isNotEmpty(presentPushVo.getSymptoms())) {
|
|
|
symptom_present = presentPushVo.getSymptoms().stream().map(x -> x.getName()).collect(Collectors.toList());
|
|
|
+ symptom_present = symptom_present.size() >= 5? symptom_present.subList(0,5) : symptom_present;
|
|
|
}
|
|
|
}
|
|
|
symptoms = Stream.of(symptom_chief, symptom_present).flatMap(Collection::stream).distinct().collect(Collectors.toList());
|