|
@@ -180,7 +180,7 @@ public class RetrievalFacade {
|
|
|
List<Integer> types = staticKnowledgeIndexVO.getTypes();
|
|
|
|
|
|
//TODO 诊断
|
|
|
- List<YiBaoDiseaseName> icdDiseaseList = icdDiseaseRepository.findByNameLike("*" + inputStr + "*");
|
|
|
+ List<YiBaoDiseaseName> icdDiseaseList = icdDiseaseRepository.findByNameContaining(inputStr);
|
|
|
List<StaticKnowledgeIndexDTO> disRetList = Lists.newLinkedList();
|
|
|
for (YiBaoDiseaseName icdDisease : icdDiseaseList) {
|
|
|
StaticKnowledgeIndexDTO staticDTO = new StaticKnowledgeIndexDTO();
|
|
@@ -190,7 +190,7 @@ public class RetrievalFacade {
|
|
|
disRetList.add(staticDTO);
|
|
|
}
|
|
|
//TODO 药品
|
|
|
- List<Medicine> medicineList = medicineRepository.findByNameLike("*" + inputStr + "*");
|
|
|
+ List<Medicine> medicineList = medicineRepository.findByNameContaining(inputStr);
|
|
|
|
|
|
List<StaticKnowledgeIndexDTO> drugRetList = Lists.newLinkedList();
|
|
|
for (Medicine medicine : medicineList) {
|
|
@@ -201,7 +201,7 @@ public class RetrievalFacade {
|
|
|
drugRetList.add(staticDTO);
|
|
|
}
|
|
|
//TODO 检验套餐
|
|
|
- List<LisSet> lisSetList = lisSetRepository.findByNameLike("*" + inputStr + "*");
|
|
|
+ List<LisSet> lisSetList = lisSetRepository.findByNameContaining(inputStr);
|
|
|
|
|
|
List<StaticKnowledgeIndexDTO> lisSetRetList = Lists.newLinkedList();
|
|
|
for (LisSet lisSet : lisSetList) {
|
|
@@ -212,7 +212,7 @@ public class RetrievalFacade {
|
|
|
lisSetRetList.add(staticDTO);
|
|
|
}
|
|
|
//TODO 检验明细关联出检验套餐
|
|
|
- List<LisName> lisList = lisRepository.findByNameLike("*" + inputStr + "*");
|
|
|
+ List<LisName> lisList = lisRepository.findByNameContaining(inputStr);
|
|
|
|
|
|
List<StaticKnowledgeIndexDTO> lisSetRelatecLisRetList = Lists.newLinkedList();
|
|
|
for (LisName lis : lisList) {
|
|
@@ -228,7 +228,7 @@ public class RetrievalFacade {
|
|
|
}
|
|
|
}
|
|
|
//TODO 检验明细
|
|
|
- lisList = lisRepository.findByNameLike("*" + inputStr + "*");
|
|
|
+ lisList = lisRepository.findByNameContaining(inputStr);
|
|
|
|
|
|
List<StaticKnowledgeIndexDTO> lisRetList = Lists.newLinkedList();
|
|
|
for (LisName lis : lisList) {
|
|
@@ -239,7 +239,7 @@ public class RetrievalFacade {
|
|
|
lisRetList.add(staticDTO);
|
|
|
}
|
|
|
//TODO 检查
|
|
|
- List<PacsName> pacsList = pacsRepository.findByNameLike("*" + inputStr + "*");
|
|
|
+ List<PacsName> pacsList = pacsRepository.findByNameContaining(inputStr);
|
|
|
|
|
|
List<StaticKnowledgeIndexDTO> pacsRetList = Lists.newLinkedList();
|
|
|
for (PacsName pacs : pacsList) {
|
|
@@ -252,7 +252,7 @@ public class RetrievalFacade {
|
|
|
|
|
|
|
|
|
//TODO 手术和操作
|
|
|
- List<YiBaoOperationName> operationList = operationRepository.findByNameLike("*" + inputStr + "*");
|
|
|
+ List<YiBaoOperationName> operationList = operationRepository.findByNameContaining(inputStr);
|
|
|
|
|
|
List<StaticKnowledgeIndexDTO> operationRetList = Lists.newLinkedList();
|
|
|
|