|
@@ -6,6 +6,7 @@ import com.diagbot.dto.PushBaseDTO;
|
|
import com.diagbot.dto.PushDTO;
|
|
import com.diagbot.dto.PushDTO;
|
|
import com.diagbot.dto.PushPlanDTO;
|
|
import com.diagbot.dto.PushPlanDTO;
|
|
import com.diagbot.dto.RespDTO;
|
|
import com.diagbot.dto.RespDTO;
|
|
|
|
+import com.diagbot.dto.TreatDTO;
|
|
import com.diagbot.entity.ConceptDetail;
|
|
import com.diagbot.entity.ConceptDetail;
|
|
import com.diagbot.enums.ConceptTypeEnum;
|
|
import com.diagbot.enums.ConceptTypeEnum;
|
|
import com.diagbot.util.BeanUtil;
|
|
import com.diagbot.util.BeanUtil;
|
|
@@ -19,6 +20,7 @@ import com.google.common.collect.Lists;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
|
|
+import java.util.ArrayList;
|
|
import java.util.HashMap;
|
|
import java.util.HashMap;
|
|
import java.util.List;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
import java.util.Map;
|
|
@@ -121,6 +123,16 @@ public class PushFacade {
|
|
Map<String, List<PushBaseDTO>> disMap = new HashMap<>();
|
|
Map<String, List<PushBaseDTO>> disMap = new HashMap<>();
|
|
disMap.put("可能诊断", dis);
|
|
disMap.put("可能诊断", dis);
|
|
data.setDis(disMap);
|
|
data.setDis(disMap);
|
|
|
|
+ List<TreatDTO> generaTreat = new ArrayList<>();
|
|
|
|
+ TreatDTO treatDTO1 = new TreatDTO();
|
|
|
|
+ treatDTO1.setName("无晶状体眼");
|
|
|
|
+ treatDTO1.setUniqueName("无晶状体眼");
|
|
|
|
+ generaTreat.add(treatDTO1);
|
|
|
|
+ TreatDTO treatDTO2 = new TreatDTO();
|
|
|
|
+ treatDTO2.setName("急性胰腺炎");
|
|
|
|
+ treatDTO2.setUniqueName("急性胰腺炎");
|
|
|
|
+ generaTreat.add(treatDTO2);
|
|
|
|
+ data.setGeneraTreat(generaTreat);
|
|
//TODO 出参映射
|
|
//TODO 出参映射
|
|
data = assembleFacade.assemblePushDTO(data, pushVO.getHospitalId());
|
|
data = assembleFacade.assemblePushDTO(data, pushVO.getHospitalId());
|
|
//TODO 是否有静态信息
|
|
//TODO 是否有静态信息
|