Browse Source

出院带药不需要限制医嘱条数

DESKTOP-0GD05B0\Administrator 2 years ago
parent
commit
4f335ebf8b

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

@@ -1512,9 +1512,9 @@ public class YiZhuLuRuServer {
                 .eq("isnull(a.self_buy,'0')", "4");
         XinZhenYiZhu patInfo = dao.queryPatientInfo(patNo, times);
         patInfo.setList(dao.selectOrderNo(qw));
-        if (dao.obtainTheNumberOfDischargedDrugs(patNo, times) > 出院带药限制数量) {
-            return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, "出院带药医嘱不得超过 4 种,且不得超过 15 天。");
-        }
+//        if (dao.obtainTheNumberOfDischargedDrugs(patNo, times) > 出院带药限制数量) {
+//            return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, "出院带药医嘱不得超过 4 种,且不得超过 15 天。");
+//        }
         String userCode = TokenUtil.getTokenUserId();
         // 出院带药需要生成药单 key 是不同的药房。不同的药房就要
         Map<String, List<XinZhenYzActOrder>> takeTheMedicineList = new HashMap<>(Capacity.TWO);