| | |
| | | SysUser user = getLoginUser().getUser(); |
| | | patMedInhosp.setOrgid(user.getOrgid()); |
| | | List<PatMedInhosp> list = patMedInhospService.selectPatMedInhospList(patMedInhosp); |
| | | long count = PageUtils.count(new ISelect() { |
| | | @Override |
| | | public void doSelect() { |
| | | patMedInhospService.selectPatMedInhospList(patMedInhosp); |
| | | } |
| | | }); |
| | | return getDataTable2(count, list); |
| | | // 分页查询时 PageHelper 已经执行过 count,这里直接用 PageInfo 取总数,避免再跑一次全量查询 |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | |
| | | @PostMapping("/dealOutHospInfo") |
| | | public void dealOutHospInfo() { |
| | | String config = configService.selectConfigByKey("visit.early.day"); |
| | | if (port.equals("8095")) { |
| | | //出院表 |
| | | iPatMedInhospService.dealOutHospInfo(config); |
| | | //门诊表(新华的暂时不做门诊随访) |
| | | if (!active.equals("xh")) { |
| | | iPatMedOuthospService.dealOutpatientInfo(); |
| | | } |
| | | //出院表 |
| | | iPatMedInhospService.dealOutHospInfo(config); |
| | | //门诊表(新华的暂时不做门诊随访) |
| | | if (!active.equals("xh")) { |
| | | iPatMedOuthospService.dealOutpatientInfo(); |
| | | } |
| | | } |
| | | |