Ver código fonte

北仑:查房记录取值字段 记录医师->记录医生

wangsy 4 anos atrás
pai
commit
c04456cdef

+ 6 - 5
kernel/src/main/java/com/lantone/qc/kernel/catalogue/threelevelward/THR0140.java

@@ -34,25 +34,26 @@ public class THR0140 extends QCCatalogue {
         }
         List<ThreeLevelWardDoc> recordDoctorList = allDoctorWradDocs
                 .stream()
-                .filter(doc -> StringUtil.isBlank(doc.getStructureMap().get("记录医")))
+                .filter(doc -> StringUtil.isBlank(doc.getStructureMap().get("记录医")))
                 .collect(Collectors.toList());
         if (recordDoctorList.size() == 0) {
             status.set("0");
+            return;
         }
 
         StringBuffer message = new StringBuffer();
         //长兴:返回所有医师未签名的记录日期
         int i = 0;
         for (ThreeLevelWardDoc threeLevelWardDoc : allDoctorWradDocs) {
-            if (StringUtil.isBlank(threeLevelWardDoc.getStructureMap().get("记录医"))) {
-                if (threeLevelWardDoc.getStructureMap() != null && threeLevelWardDoc.getStructureMap().get("记录时间") != null) {
+            if (StringUtil.isBlank(threeLevelWardDoc.getStructureMap().get("记录医"))) {
+                if (threeLevelWardDoc.getStructureMap() != null && threeLevelWardDoc.getStructureMap().get("查房日期") != null) {
                     if (i > 1) {
                         break;
                     }
                     if (message.toString().length() == 0) {
-                        message.append(threeLevelWardDoc.getStructureMap().get("记录时间"));
+                        message.append(threeLevelWardDoc.getStructureMap().get("查房日期"));
                     } else {
-                        message.append(",").append(threeLevelWardDoc.getStructureMap().get("记录时间"));
+                        message.append(",").append(threeLevelWardDoc.getStructureMap().get("查房日期"));
                     }
                     i++;
                 }