|
@@ -257,12 +257,21 @@ public class NeoFacade {
|
|
|
Integer sex = pushVO.getSex();
|
|
|
List<String> presentDiags = Lists.newArrayList();
|
|
|
PresentPushVo presentPushVo = pushVO.getPresentPushVo();
|
|
|
+ ChiefPushVo chiefPushVo = pushVO.getChiefPushVo();
|
|
|
if(presentPushVo != null){
|
|
|
List<Diag> diags = presentPushVo.getDiags();
|
|
|
if(ListUtil.isNotEmpty(diags)){
|
|
|
presentDiags = diags.stream().map(x -> x.getName()).collect(Collectors.toList());
|
|
|
}
|
|
|
}
|
|
|
+ if(chiefPushVo != null){
|
|
|
+ List<Diag> diags = chiefPushVo.getDiags();
|
|
|
+ if(ListUtil.isNotEmpty(diags) ){
|
|
|
+ List<String> collect = diags.stream().map(x -> x.getName()).collect(Collectors.toList());
|
|
|
+ presentDiags.retainAll(collect);
|
|
|
+ presentDiags.addAll(collect);
|
|
|
+ }
|
|
|
+ }
|
|
|
List<PD> pds = pushVO.getChiefPushVo().getPds();
|
|
|
PD pd = null;
|
|
|
if(ListUtil.isNotEmpty(pds)){
|
|
@@ -344,6 +353,7 @@ public class NeoFacade {
|
|
|
}
|
|
|
lis_dis_new = lis_dis_new.stream().distinct().collect(Collectors.toList());
|
|
|
}else {
|
|
|
+ lis_dis.addAll(presentDiags);
|
|
|
lis_dis_new =lis_dis;
|
|
|
}
|
|
|
return lis_dis_new;
|