| | |
| | | PatMedOuthospQueryReq patMedOuthospQueryReq = DtoConversionUtils.sourceToTarget(patMedOuthosp, PatMedOuthospQueryReq.class); |
| | | patMedOuthospQueryReq.setBeginAdmitdate(patMedOuthosp.getBeginTime()); |
| | | patMedOuthospQueryReq.setEndAdmitdate(patMedOuthosp.getEndTime()); |
| | | if(!CollectionUtils.isEmpty(patMedOuthosp.getDeptcodes())) { |
| | | String result = String.join(",", patMedOuthosp.getDeptcodes()); |
| | | patMedOuthospQueryReq.setDeptcode(result); |
| | | } |
| | | |
| | | List<PatMedOuthosp> patMedOuthospQueryResps = patMedOuthospMapper.callSpQueryOuthosp(patMedOuthospQueryReq); |
| | | if (patMedOuthosp.getPageNum() != null) { |
| | | for (PatMedOuthosp patMedOuthosp1 : patMedOuthospQueryResps) { |
| | |
| | | public Integer dealOutpatientInfo() { |
| | | PatMedOuthosp patMedOuthosp = new PatMedOuthosp(); |
| | | patMedOuthosp.setDiagcheckFlag("0"); |
| | | patMedOuthosp.setFuflag("1"); |
| | | List<PatMedOuthosp> patMedOuthosps = selectPatMedOuthospList(patMedOuthosp); |
| | | for (PatMedOuthosp patMedOuthosp1 : patMedOuthosps) { |
| | | PatArchive patArchive = patArchiveMapper.selectPatArchiveByPatid(patMedOuthosp1.getPatid()); |