| | |
| | | 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; |
| | | } |
| | | |
| | |
| | | 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()); |
| | | |
| | |
| | | |
| | | 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; |