liusheng
2025-11-07 c27e4ce95a0489907ba3848851f14ac7cca1caca
smartor/src/main/java/com/smartor/service/impl/ExternalInfoServiceImpl.java
@@ -242,6 +242,7 @@
            patMedInhosp.setInhospno(externalInHospPatientInfo.getZyhm());
            List<PatMedInhosp> patMedInhospList = patMedInhospMapper.selectPatMedInhospList2(patMedInhosp);
            if (CollectionUtils.isNotEmpty(patMedInhospList) && patMedInhospList.size() > 0) {
                log.error("****patMedInhospList的值为:{}",patMedInhospList.get(0).getInhospid());
                continue;
            }
@@ -595,7 +596,8 @@
    public Boolean getExternalLeaveHospPatientInfo30Day() {
        try {
            // 固定开始时间
            String fixedStartTime = "2025-03-25";
//            String fixedStartTime = "2025-03-25";
            String fixedStartTime = "2025-02-01";
            SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
            String today = formatter.format(new Date());
@@ -608,7 +610,8 @@
            try {
                startCal.setTime(formatter.parse(fixedStartTime));
                endCal.setTime(formatter.parse(today));
                endCal.setTime(formatter.parse("2025-06-08"));
//                endCal.setTime(formatter.parse(today));
            } catch (ParseException e) {
                log.error("日期解析失败:{}", e.getMessage(), e);
                return false;