Bläddra i källkod

初步诊断不完整修改

rengb 5 år sedan
förälder
incheckning
d704fe65eb

+ 4 - 2
kernel/src/main/java/com/lantone/qc/kernel/catalogue/behospitalized/BEH0011.java

@@ -16,6 +16,7 @@ import com.lantone.qc.pub.model.label.PacsLabel;
 import com.lantone.qc.pub.model.label.PastLabel;
 import com.lantone.qc.pub.model.label.PresentLabel;
 import com.lantone.qc.pub.util.StringUtil;
+import lombok.extern.slf4j.Slf4j;
 import org.apache.commons.lang3.StringUtils;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Component;
@@ -36,6 +37,7 @@ import java.util.stream.Collectors;
  * @Author : 楼辉荣
  * @Date: 2020-03-06 17:28
  */
+@Slf4j
 @Component
 public class BEH0011 extends QCCatalogue {
     //    @Autowired
@@ -259,7 +261,7 @@ public class BEH0011 extends QCCatalogue {
                 if (StringUtil.isBlank(info.get()) || info.get().indexOf("糖尿病") == -1) {
                     info.set(CatalogueUtil.concatInfo(info.get(), "糖尿病"));
                     status.set("-1");
-                    System.out.println("初步诊断不完整:"+texts[3]);
+                    log.error("初步诊断不完整:" + texts[3]);
                 }
                 break;
             }
@@ -269,7 +271,7 @@ public class BEH0011 extends QCCatalogue {
                 if (StringUtil.isBlank(info.get()) || info.get().indexOf("高血压") == -1) {
                     info.set(CatalogueUtil.concatInfo(info.get(), "高血压"));
                     status.set("-1");
-                    System.out.println("初步诊断不完整:"+texts[3]);
+                    log.error("初步诊断不完整:" + texts[3]);
                 }
                 break;
             }