Browse Source

住院医生

DESKTOP-0GD05B0\Administrator 2 years ago
parent
commit
ce57791bba

+ 2 - 1
src/main/java/thyyxxk/webserver/service/zhuyuanyisheng/YiZhuLuRuServer.java

@@ -957,7 +957,7 @@ public class YiZhuLuRuServer {
         if (StringUtil.isBlank(item.getGroupNo())) {
             errorMessage.add("没有药房请重新开。");
         }
-        if (item.getParentNo() != null) {
+        if (item.getParentNo() != null && item.getActOrderNo() != null) {
             if (BigUtils.bigXiaoYu(item.getActOrderNo(), item.getParentNo())) {
                 errorMessage.add("子医嘱的医嘱号,小于父医嘱号,无法成组。【原因如果子医嘱的医嘱号小于父医嘱,会导致打印乱码】");
             }
@@ -1597,6 +1597,7 @@ public class YiZhuLuRuServer {
                     takeTheMedicineList.put(item.getGroupNo(), temp);
                 }
             }
+
         }
 
         Map<String, Object> check = batchVerification(patInfo.getList(), patInfo, true);