|
@@ -43,6 +43,9 @@ public class RetrievalFacade {
|
|
|
@Autowired
|
|
|
YiBaoOperationNameRepository operationRepository;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ TransfusionRemindRepository transfusionRemindRepository;
|
|
|
+
|
|
|
|
|
|
/**
|
|
|
* 检索
|
|
@@ -78,8 +81,7 @@ public class RetrievalFacade {
|
|
|
retrievalDTO.setDeptNames(ListUtil.arrayToList(new String[] { "呼吸内科", "消化内科", "全科" }));
|
|
|
break;
|
|
|
case 8:
|
|
|
- //todo Mark 从图谱里搜索输血类型
|
|
|
- retrievalDTO.setTransfusionNames(ListUtil.arrayToList(new String[] { "输血1", "输血2" }));
|
|
|
+ retrievalDTO.setTransfusionNames(getTransfusion("输注" ));
|
|
|
break;
|
|
|
}
|
|
|
|
|
@@ -159,6 +161,14 @@ public class RetrievalFacade {
|
|
|
}
|
|
|
|
|
|
|
|
|
+ /*
|
|
|
+ * 获取输血方式列表
|
|
|
+ */
|
|
|
+ public List<String> getTransfusion(String name) {
|
|
|
+ return transfusionRemindRepository.findTransfusionByName(name);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
/*
|
|
|
* 获取科室名称列表
|
|
|
*
|