浏览代码

查房医生职称 修改

rengb 5 年之前
父节点
当前提交
9bd32e1c1d

+ 8 - 8
kernel/src/main/java/com/lantone/qc/kernel/catalogue/threelevelward/THR03015.java

@@ -7,7 +7,7 @@ import com.lantone.qc.kernel.util.CatalogueUtil;
 import com.lantone.qc.pub.model.InputInfo;
 import com.lantone.qc.pub.model.OutputInfo;
 import com.lantone.qc.pub.model.doc.ThreeLevelWardDoc;
-import com.lantone.qc.pub.model.doc.ward.AttendingDoctorWardDoc;
+import com.lantone.qc.pub.model.doc.ward.DirectorDoctorWardDoc;
 import com.lantone.qc.pub.util.SpringContextUtil;
 import com.lantone.qc.pub.util.StringUtil;
 import org.springframework.stereotype.Component;
@@ -38,16 +38,16 @@ public class THR03015 extends QCCatalogue {
             }
         }
 
-        boolean findIndications = false;
+        boolean findIndications = true;
         ThreeLevelWardDoc threeLevelWardDoc = inputInfo.getThreeLevelWardDocs().get(0);
-        List<AttendingDoctorWardDoc> attendingDoctorWardDocs = threeLevelWardDoc.getAttendingDoctorWardDocs();
+        List<DirectorDoctorWardDoc> directorDoctorWardDocs = threeLevelWardDoc.getDirectorDoctorWardDocs();
         String jlDateStr, shDateStr, professor;
-        for (AttendingDoctorWardDoc attendingDoctorWardDoc : attendingDoctorWardDocs) {
-            jlDateStr = attendingDoctorWardDoc.getStructureMap().get("记录时间");
-            shDateStr = attendingDoctorWardDoc.getStructureMap().get("审核日期");
-            professor = getProfessor(attendingDoctorWardDoc.getStructureMap().get("审核人"));
+        for (DirectorDoctorWardDoc directorDoctorWardDoc : directorDoctorWardDocs) {
+            jlDateStr = directorDoctorWardDoc.getStructureMap().get("记录时间");
+            shDateStr = directorDoctorWardDoc.getStructureMap().get("审核日期");
+            professor = getProfessor(directorDoctorWardDoc.getStructureMap().get("审核人"));
             if (StringUtil.isBlank(professor)
-                    || !professor.contains("主")
+                    || !professor.contains("主")
                     || CatalogueUtil.compareTime(StringUtil.parseDateTime(jlDateStr), StringUtil.parseDateTime(shDateStr), 7 * 24 * 60L)) {
                 findIndications = false;
                 break;

+ 8 - 8
kernel/src/main/java/com/lantone/qc/kernel/catalogue/threelevelward/THR03017.java

@@ -7,7 +7,7 @@ import com.lantone.qc.kernel.util.CatalogueUtil;
 import com.lantone.qc.pub.model.InputInfo;
 import com.lantone.qc.pub.model.OutputInfo;
 import com.lantone.qc.pub.model.doc.ThreeLevelWardDoc;
-import com.lantone.qc.pub.model.doc.ward.DirectorDoctorWardDoc;
+import com.lantone.qc.pub.model.doc.ward.AttendingDoctorWardDoc;
 import com.lantone.qc.pub.util.SpringContextUtil;
 import com.lantone.qc.pub.util.StringUtil;
 import org.springframework.stereotype.Component;
@@ -38,16 +38,16 @@ public class THR03017 extends QCCatalogue {
             }
         }
 
-        boolean findIndications = false;
+        boolean findIndications = true;
         ThreeLevelWardDoc threeLevelWardDoc = inputInfo.getThreeLevelWardDocs().get(0);
-        List<DirectorDoctorWardDoc> directorDoctorWardDocs = threeLevelWardDoc.getDirectorDoctorWardDocs();
+        List<AttendingDoctorWardDoc> attendingDoctorWardDocs = threeLevelWardDoc.getAttendingDoctorWardDocs();
         String jlDateStr, shDateStr, professor;
-        for (DirectorDoctorWardDoc directorDoctorWardDoc : directorDoctorWardDocs) {
-            jlDateStr = directorDoctorWardDoc.getStructureMap().get("记录时间");
-            shDateStr = directorDoctorWardDoc.getStructureMap().get("审核日期");
-            professor = getProfessor(directorDoctorWardDoc.getStructureMap().get("审核人"));
+        for (AttendingDoctorWardDoc attendingDoctorWardDoc : attendingDoctorWardDocs) {
+            jlDateStr = attendingDoctorWardDoc.getStructureMap().get("记录时间");
+            shDateStr = attendingDoctorWardDoc.getStructureMap().get("审核日期");
+            professor = getProfessor(attendingDoctorWardDoc.getStructureMap().get("审核人"));
             if (StringUtil.isBlank(professor)
-                    || !professor.contains("主")
+                    || !professor.contains("主")
                     || CatalogueUtil.compareTime(StringUtil.parseDateTime(jlDateStr), StringUtil.parseDateTime(shDateStr), 48 * 60L)) {
                 findIndications = false;
                 break;