| | |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.PageUtils; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.system.service.ISysConfigService; |
| | | import com.smartor.domain.PatMedInhosp; |
| | | import com.smartor.domain.PatMedInhospVO; |
| | | import com.smartor.domain.PatMedReq; |
| | |
| | | |
| | | @Autowired |
| | | private IPatMedOuthospService iPatMedOuthospService; |
| | | |
| | | //todo |
| | | @Autowired |
| | | private ISysConfigService configService; |
| | | |
| | | |
| | | /** |
| | | * 查询患者住院记录列表 |
| | |
| | | return success(patMedInhospService.getDeptCodeByPatId(patMedInhosp)); |
| | | } |
| | | |
| | | /** |
| | | * 查询出、入院看病人次和人数(人数分为首次服务、再次服务、专病服务) |
| | | */ |
| | | @PostMapping("/selectPatMedInhospListCount") |
| | | @ApiOperation("查询出、入院看病人次和人数") |
| | | public AjaxResult selectPatMedInhospListCount(@RequestBody PatMedReq patMedReq) { |
| | |
| | | // } |
| | | // } |
| | | |
| | | @ApiOperation("测试定时任务dealOutHospInfo") |
| | | @PostMapping("/dealOutHospInfo") |
| | | public void dealOutHospInfo() { |
| | | String config = configService.selectConfigByKey("visit.early.day"); |
| | | //出院表 |
| | | patMedInhospService.dealOutHospInfo(config); |
| | | } |
| | | } |