| | |
| | | * 查询患者手术记录列表 |
| | | */ |
| | | @ApiOperation("查询患者手术记录列表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:operation:list')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:operation:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(PatMedOperation patMedOperation) { |
| | | startPage(); |
| | |
| | | * 导出患者手术记录列表 |
| | | */ |
| | | @ApiOperation("导出患者手术记录列表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:operation:export')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:operation:export')") |
| | | @Log(title = "患者手术记录" , businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, PatMedOperation patMedOperation) { |
| | |
| | | * 获取患者手术记录详细信息 |
| | | */ |
| | | @ApiOperation("获取患者手术记录详细信息") |
| | | @PreAuthorize("@ss.hasPermi('smartor:operation:query')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:operation:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(patMedOperationService.selectPatMedOperationById(id)); |
| | |
| | | /** |
| | | * 新增患者手术记录 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:operation:add')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:operation:add')") |
| | | @Log(title = "患者手术记录" , businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody PatMedOperation patMedOperation) { |
| | |
| | | * 修改患者手术记录 |
| | | */ |
| | | @ApiOperation("修改患者手术记录") |
| | | @PreAuthorize("@ss.hasPermi('smartor:operation:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:operation:edit')") |
| | | @Log(title = "患者手术记录" , businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody PatMedOperation patMedOperation) { |
| | |
| | | * 删除患者手术记录 |
| | | */ |
| | | @ApiOperation("删除患者手术记录") |
| | | @PreAuthorize("@ss.hasPermi('smartor:operation:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:operation:remove')") |
| | | @Log(title = "患者手术记录" , businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |