|
@@ -1,5 +1,6 @@
|
|
|
package com.diagbot.facade;
|
|
|
|
|
|
+import com.alibaba.druid.support.spring.stat.annotation.Stat;
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
@@ -253,6 +254,10 @@ public class KlConceptStaticFacade extends KlConceptStaticServiceImpl {
|
|
|
.stream()
|
|
|
.filter(i -> Arrays.asList(i.getContentType().split(",")).contains("4"))
|
|
|
.collect(Collectors.toList());
|
|
|
+ List<StaticKnowledgeDetailDTO> guidelineList = detailList
|
|
|
+ .stream()
|
|
|
+ .filter(i -> Arrays.asList(i.getContentType().split(",")).contains("5"))
|
|
|
+ .collect(Collectors.toList());
|
|
|
//Map<String, List<StaticKnowledgeDetailDTO>> detailMap = new HashMap<>();
|
|
|
Map<String, List<StaticKnowledgeDetailDTO>> detailMap = new HashMap<>();
|
|
|
if (ListUtil.isEmpty(staticKnowledgeVO.getContentTypes()) || staticKnowledgeVO.getContentTypes().contains(0)) {
|
|
@@ -268,6 +273,9 @@ public class KlConceptStaticFacade extends KlConceptStaticServiceImpl {
|
|
|
if (ListUtil.isNotEmpty(treatInfoList)) {
|
|
|
detailMap.put("治疗方案", treatInfoList);
|
|
|
}
|
|
|
+ if (ListUtil.isNotEmpty(guidelineList)) {
|
|
|
+ detailMap.put("诊疗指南", guidelineList);
|
|
|
+ }
|
|
|
} else {
|
|
|
if (ListUtil.isNotEmpty(introduceList) && staticKnowledgeVO.getContentTypes().contains(1)) {
|
|
|
detailMap.put("静态知识", introduceList);
|
|
@@ -281,6 +289,9 @@ public class KlConceptStaticFacade extends KlConceptStaticServiceImpl {
|
|
|
if (ListUtil.isNotEmpty(treatInfoList) && staticKnowledgeVO.getContentTypes().contains(4)) {
|
|
|
detailMap.put("治疗方案", treatInfoList);
|
|
|
}
|
|
|
+ if (ListUtil.isNotEmpty(guidelineList) && staticKnowledgeVO.getContentTypes().contains(5)) {
|
|
|
+ detailMap.put("诊疗指南", guidelineList);
|
|
|
+ }
|
|
|
}
|
|
|
if (type.equals(LexiconEnum.Scale.getKey())) {
|
|
|
//量表详情
|