| | |
| | | /** |
| | | * 查询患者门诊记录列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:patouthosp:list')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:patouthosp:list')") |
| | | @PostMapping("/selectPatMedOuthospList") |
| | | @ApiOperation("查询患者门诊记录列表") |
| | | public TableDataInfo selectPatMedOuthosplist(@RequestBody PatMedOuthosp patMedOuthosp) { |
| | |
| | | /** |
| | | * 导出患者门诊记录列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:patouthosp:export')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:patouthosp:export')") |
| | | @Log(title = "患者门诊记录", businessType = BusinessType.EXPORT) |
| | | @ApiOperation("患者门诊记录") |
| | | @PostMapping("/export") |
| | |
| | | */ |
| | | @ApiOperation("获取患者门诊记录详细信息") |
| | | @ApiImplicitParam(name = "getInfo", value = "主键ID", dataType = "long", dataTypeClass = Long.class) |
| | | @PreAuthorize("@ss.hasPermi('smartor:patouthosp:query')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:patouthosp:query')") |
| | | @GetMapping(value = "getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(patMedOuthospService.selectPatMedOuthospById(id)); |
| | |
| | | * 新增患者门诊记录 |
| | | */ |
| | | @ApiOperation("新增患者门诊记录") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patouthosp:add')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:patouthosp:add')") |
| | | @Log(title = "患者门诊记录", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody PatMedOuthosp patMedOuthosp) { |
| | |
| | | * 修改患者门诊记录 |
| | | */ |
| | | @ApiOperation("修改患者门诊记录") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patouthosp:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:patouthosp:edit')") |
| | | @Log(title = "患者门诊记录", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody PatMedOuthosp patMedOuthosp) { |
| | |
| | | * 删除患者门诊记录 |
| | | */ |
| | | @ApiOperation("删除患者门诊记录") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patouthosp:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:patouthosp:remove')") |
| | | @ApiImplicitParam(name = "remove", value = "主键ID", dataType = "long", dataTypeClass = Array.class) |
| | | @Log(title = "患者门诊记录", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |