| | |
| | | package com.smartor.controller; |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | |
| | | |
| | | /** |
| | | * 患者体检记录Controller |
| | | * |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-04 |
| | | */ |
| | |
| | | * 查询患者体检记录列表 |
| | | */ |
| | | @ApiOperation("查询患者体检记录列表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patphysical:list')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:patphysical:list')") |
| | | @PostMapping("/selectPatMedPhysicalList") |
| | | public TableDataInfo selectPatMedPhysicallist(@RequestBody PatMedPhysical patMedPhysical) |
| | | { |
| | |
| | | * 导出患者体检记录列表 |
| | | */ |
| | | @ApiOperation("导出患者体检记录列表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patphysical:export')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:patphysical:export')") |
| | | @Log(title = "患者体检记录", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, PatMedPhysical patMedPhysical) |
| | |
| | | * 获取患者体检记录详细信息 |
| | | */ |
| | | @ApiOperation("获取患者体检记录详细信息") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patphysical:query')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:patphysical:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | |
| | | * 新增患者体检记录 |
| | | */ |
| | | @ApiOperation("新增患者体检记录") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patphysical:add')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:patphysical:add')") |
| | | @Log(title = "患者体检记录", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody PatMedPhysical patMedPhysical) |
| | |
| | | * 修改患者体检记录 |
| | | */ |
| | | @ApiOperation("修改患者体检记录") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patphysical:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:patphysical:edit')") |
| | | @Log(title = "患者体检记录", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody PatMedPhysical patMedPhysical) |
| | |
| | | * 删除患者体检记录 |
| | | */ |
| | | @ApiOperation("删除患者体检记录") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patphysical:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:patphysical:remove')") |
| | | @Log(title = "患者体检记录", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |