Parcourir la source

字段标准化对接修改

rengb il y a 4 ans
Parent
commit
3b39a2aa4d

+ 14 - 5
kernel/src/main/java/com/lantone/qc/kernel/analysis/QCAnalysis.java

@@ -16,6 +16,7 @@ import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Component;
 
+import java.util.List;
 import java.util.Map;
 
 /**
@@ -57,11 +58,11 @@ public class QCAnalysis {
             }
             CatalogueUtil.qcCatalogueMap.get(entry.getKey()).execute(inputInfo, outputInfo);
         }
-//        inputInfo.getInputCatalogueMap().entrySet().parallelStream().forEach(entry -> {
-//            if (CatalogueUtil.qcCatalogueMap.get(entry.getKey()) != null) {
-//                CatalogueUtil.qcCatalogueMap.get(entry.getKey()).execute(inputInfo, outputInfo);
-//            }
-//        });
+        //        inputInfo.getInputCatalogueMap().entrySet().parallelStream().forEach(entry -> {
+        //            if (CatalogueUtil.qcCatalogueMap.get(entry.getKey()) != null) {
+        //                CatalogueUtil.qcCatalogueMap.get(entry.getKey()).execute(inputInfo, outputInfo);
+        //            }
+        //        });
         long t4 = System.currentTimeMillis();
 
         log.error(queryVo.getBehospitalInfo().getBehospitalCode() + "-----" + "trans层  耗时:" + (t2 - t1));
@@ -79,4 +80,12 @@ public class QCAnalysis {
         outputInfo.setResult(resultNew);
         return outputInfo;
     }
+
+    public OutputInfo standardFieldDock(QueryVo queryVo) {
+        OutputInfo outputInfo = new OutputInfo();
+        InputInfo inputInfo = TransDispatch.trans(queryVo);
+        outputInfo.setPageData(inputInfo.getPageData());
+        return outputInfo;
+    }
+
 }

+ 7 - 0
kernel/src/main/java/com/lantone/qc/kernel/web/controller/QCController.java

@@ -61,4 +61,11 @@ public class QCController {
         return response;
     }
 
+    @PostMapping("standardFieldDock")
+    public Response<OutputInfo> standardFieldDock(@RequestBody QueryVo queryVo) {
+        Response response = new Response();
+        response.setData(qCAnalysis.standardFieldDock(queryVo));
+        return response;
+    }
+
 }