| | |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import com.github.pagehelper.ISelect; |
| | | import com.ruoyi.common.annotation.AddOrgId; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | |
| | | */ |
| | | @ApiOperation("查询患者住院记录列表") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:patinhosp:list')") |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("/selectPatMedInhospList") |
| | | public TableDataInfo selectPatMedInhosplist(@RequestBody PatMedInhosp patMedInhosp) { |
| | | PageUtils.startPageByPost(patMedInhosp.getPageNum(), patMedInhosp.getPageSize()); |
| | |
| | | /** |
| | | * 查询当前登陆人自己(病区、部门)的患者住院记录列表 |
| | | */ |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @ApiOperation("查询当前登陆人自己(病区、部门)的患者住院记录列表") |
| | | @PostMapping("/selectPatMedInhospListByCondition") |
| | | public TableDataInfo selectPatMedInhospListByCondition(@RequestBody PatMedInhospVO patMedInhospVO) { |
| | |
| | | /** |
| | | * 查询出、入院看病人次和人数(人数分为首次服务、再次服务、专病服务) |
| | | */ |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("/selectPatMedInhospListCount") |
| | | @ApiOperation("查询出、入院看病人次和人数") |
| | | public AjaxResult selectPatMedInhospListCount(@RequestBody PatMedReq patMedReq) { |
| | |
| | | @ApiOperation("新增患者住院记录") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:patinhosp:add')") |
| | | @Log(title = "患者住院记录", businessType = BusinessType.INSERT) |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody PatMedInhosp patMedInhosp) { |
| | | SysUser user = getLoginUser().getUser(); |
| | |
| | | @ApiOperation("修改患者住院记录") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:patinhosp:edit')") |
| | | @Log(title = "患者住院记录", businessType = BusinessType.UPDATE) |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody PatMedInhosp patMedInhosp) { |
| | | return toAjax(patMedInhospService.updatePatMedInhosp(patMedInhosp)); |