| | |
| | | @ApiOperation("获取患者门诊记录详细信息") |
| | | @ApiImplicitParam(name = "getInfo", value = "主键ID", dataType = "long", dataTypeClass = Long.class) |
| | | @PreAuthorize("@ss.hasPermi('smartor:patouthosp:query')") |
| | | @GetMapping(value = "/{id}") |
| | | @GetMapping(value = "getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(patMedOuthospService.selectPatMedOuthospById(id)); |
| | | } |
| | |
| | | @PreAuthorize("@ss.hasPermi('smartor:patouthosp:remove')") |
| | | @ApiImplicitParam(name = "remove", value = "主键ID", dataType = "long", dataTypeClass = Array.class) |
| | | @Log(title = "患者门诊记录", businessType = BusinessType.DELETE) |
| | | @GetMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(patMedOuthospService.deletePatMedOuthospByIds(ids)); |
| | | } |