Bladeren bron

删除无用代码

rengb 4 jaren geleden
bovenliggende
commit
27e46ca479

+ 0 - 40
trans/src/main/java/com/lantone/qc/trans/beilun/BeiLunAnesthesiaRelatedDocTrans.java

@@ -1,40 +0,0 @@
-package com.lantone.qc.trans.beilun;
-
-import com.google.common.collect.Lists;
-import com.lantone.qc.pub.model.doc.AnesthesiaRelatedDoc;
-import com.lantone.qc.pub.model.vo.MedrecVo;
-import com.lantone.qc.pub.util.FastJsonUtils;
-import com.lantone.qc.trans.ModelDocTrans;
-import com.lantone.qc.trans.comsis.OrdinaryAssistant;
-
-import java.util.List;
-import java.util.Map;
-
-/**
- * @Description:
- * @Author: HUJING
- * @Date: 2020/5/11 16:23
- */
-public class BeiLunAnesthesiaRelatedDocTrans extends ModelDocTrans {
-    @Override
-    public List<AnesthesiaRelatedDoc> extract(MedrecVo medrecVo) {
-        List<AnesthesiaRelatedDoc> retList = Lists.newArrayList();
-        List<String> contents = (List) medrecVo.getContent().get("content");
-        contents.forEach(content -> {
-            retList.add(getAnesthesiaRelatedDoc((Map) FastJsonUtils.getJsonToMap(content)));
-        });
-        return retList;
-    }
-
-    private AnesthesiaRelatedDoc getAnesthesiaRelatedDoc(Map<String, String> content) {
-        Map<String, String> structureMap = OrdinaryAssistant.mapKeyContrast(content, keyContrasts);
-        AnesthesiaRelatedDoc anesthesiaRelatedDoc = new AnesthesiaRelatedDoc();
-        anesthesiaRelatedDoc.setStructureMap(structureMap);
-        anesthesiaRelatedDoc.setPageData((Map) content);
-        return anesthesiaRelatedDoc;
-    }
-
-    private List<String> keyContrasts = Lists.newArrayList(
-            "组织手术名称=手术名称"
-    );
-}

+ 0 - 4
trans/src/main/java/com/lantone/qc/trans/beilun/BeilunDocTrans.java

@@ -76,10 +76,6 @@ public class BeilunDocTrans extends DocTrans {
                 BeiLunDoctorAdviceDocTrans doctorAdviceDocTrans = new BeiLunDoctorAdviceDocTrans();
                 inputInfo.setDoctorAdviceDocs(doctorAdviceDocTrans.extract(i));
             }
-            if (i.getTitle().equals("手术麻醉信息")) {
-                BeiLunAnesthesiaRelatedDocTrans changxAnesthesiaRelatedDocTrans = new BeiLunAnesthesiaRelatedDocTrans();
-                inputInfo.setAnesthesiaRelatedDocs(changxAnesthesiaRelatedDocTrans.extract(i));
-            }
             //            if (i.getTitle().equals("值班交接制度")) {
             //                ChangxDutyShiftSystemDocTrans dutyShiftSystemDocTrans = new ChangxDutyShiftSystemDocTrans();
             //                inputInfo.setDutyShiftSystemDocs(dutyShiftSystemDocTrans.extract(i));