zhaops %!s(int64=5) %!d(string=hai) anos
pai
achega
4e2a8e29fe

+ 4 - 0
data-service/src/main/java/com/diagbot/dto/PushDTO.java

@@ -20,6 +20,10 @@ public class PushDTO {
      * 症状
      */
     private List<ConceptPushDTO> symptom;
+    /**
+     * 其他史
+     */
+    private List<ConceptPushDTO> other;
     /**
      * 体征结果
      */

+ 26 - 0
data-service/src/main/java/com/diagbot/facade/PushSetFacade.java

@@ -0,0 +1,26 @@
+package com.diagbot.facade;
+
+import com.diagbot.client.AiptServiceClient;
+import com.diagbot.dto.PushSetDTO;
+import com.diagbot.dto.RespDTO;
+import com.diagbot.util.RespDTOUtil;
+import com.diagbot.vo.PushSetVO;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Component;
+
+/**
+ * @Description:
+ * @Author:zhaops
+ * @time: 2020/4/9 9:44
+ */
+@Component
+public class PushSetFacade {
+    @Autowired
+    private AiptServiceClient aiptServiceClient;
+
+    public PushSetDTO getPushSet(PushSetVO pushSetVO) {
+        RespDTO<PushSetDTO> respDTO = aiptServiceClient.getPushSet(pushSetVO);
+        RespDTOUtil.respNGDeal(respDTO, "获取推理配置信息失败");
+        return respDTO.data;
+    }
+}

+ 0 - 1
data-service/src/main/java/com/diagbot/web/MrqcController.java

@@ -24,7 +24,6 @@ import java.util.Map;
 @RequestMapping("/mrqc")
 @Api(value = "病历质控API", tags = { "病历质控API" })
 @SuppressWarnings("unchecked")
-@ApiIgnore
 public class MrqcController {
     @Autowired
     private MrqcFacade mrqcFacade;

+ 3 - 3
data-service/src/main/java/com/diagbot/web/PushSetController.java

@@ -2,9 +2,9 @@ package com.diagbot.web;
 
 
 import com.diagbot.annotation.SysLogger;
-import com.diagbot.client.AiptServiceClient;
 import com.diagbot.dto.PushSetDTO;
 import com.diagbot.dto.RespDTO;
+import com.diagbot.facade.PushSetFacade;
 import com.diagbot.vo.PushSetVO;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
@@ -29,13 +29,13 @@ import org.springframework.web.bind.annotation.RestController;
 public class PushSetController {
 
     @Autowired
-    private AiptServiceClient aiptServiceClient;
+    private PushSetFacade pushSetFacade;
 
     @ApiOperation(value = "推理配置项[by:zhaops]",
             notes = "mode: 推理模式<br>")
     @PostMapping("/getPushSet")
     @SysLogger("getPushSet")
     RespDTO<PushSetDTO> getPushSet(@RequestBody PushSetVO pushSetVO) {
-        return RespDTO.onSuc(aiptServiceClient.getPushSet(pushSetVO));
+        return RespDTO.onSuc(pushSetFacade.getPushSet(pushSetVO));
     }
 }

+ 1 - 0
icss-service/src/main/java/com/diagbot/dto/PushDTO.java

@@ -17,6 +17,7 @@ import java.util.Map;
 @Setter
 public class PushDTO {
     private List<ConceptPushDTO> symptom;
+    private List<ConceptPushDTO> other;
     private List<ConceptPushDTO> vital;
     private List<Long> vitalIds;
     private List<QuestionPushDTO> moduleVital;

+ 4 - 0
ltapi-service/src/main/java/com/diagbot/dto/PushDTO.java

@@ -20,6 +20,10 @@ public class PushDTO {
      * 症状
      */
     private List<ConceptPushDTO> symptom;
+    /**
+     * 其他史
+     */
+    private List<ConceptPushDTO> other;
     /**
      * 体征结果
      */