|
@@ -125,9 +125,9 @@ public class PushFacade {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- List<LisResult> lisResultList = BeanUtil.listCopyTo(pushVO.getLis(), LisResult.class);
|
|
|
- searchData.setLisArr(lisResultList);
|
|
|
}
|
|
|
+ List<LisResult> lisResultList = BeanUtil.listCopyTo(pushVO.getLis(), LisResult.class);
|
|
|
+ searchData.setLisArr(lisResultList);
|
|
|
|
|
|
return searchData;
|
|
|
}
|
|
@@ -200,13 +200,21 @@ public class PushFacade {
|
|
|
//查体 返回模板(标签列表)
|
|
|
if (featureTypeSet.contains(String.valueOf(QuestionTypeEnum.Vital.getKey()))) {
|
|
|
//没有推送信息时,默认取全科模板
|
|
|
- String deptName = "全科";
|
|
|
+ String deptName = "";
|
|
|
if (dis != null && dis.size() > 0) {
|
|
|
- deptName = dis.get(0).getExtraProperty();
|
|
|
+ for (FeatureRate featureRate : dis) {
|
|
|
+ if (StringUtil.isNotBlank(featureRate.getExtraProperty())) {
|
|
|
+ deptName = featureRate.getExtraProperty();
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ //deptName = dis.get(0).getExtraProperty();
|
|
|
+ }
|
|
|
+ if (StringUtil.isBlank(deptName)) {
|
|
|
+ deptName = "全科";
|
|
|
}
|
|
|
List<QuestionDTO> vitalDTO = getVitalModule(deptName, pushVO);
|
|
|
pushDTO.setVital(vitalDTO);
|
|
|
-
|
|
|
}
|
|
|
//化验 标签列表
|
|
|
if (featureTypeSet.contains(String.valueOf(QuestionTypeEnum.Lis.getKey()))) {
|