| | |
| | | /** |
| | | * 查询病史列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:history:list')") |
| | | //@PreAuthorize("@ss.hasPermi('system:history:list')") |
| | | @PostMapping("/selectMedicalHistoryList") |
| | | @ApiOperation("查询病史列表") |
| | | public TableDataInfo selectMedicalHistorylist(@RequestBody MedicalHistory medicalHistory) { |
| | |
| | | /** |
| | | * 导出病史列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:history:export')") |
| | | //@PreAuthorize("@ss.hasPermi('system:history:export')") |
| | | @Log(title = "病史", businessType = BusinessType.EXPORT) |
| | | @ApiOperation("导出病史列表") |
| | | @PostMapping("/export") |
| | |
| | | /** |
| | | * 获取病史详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:history:query')") |
| | | //@PreAuthorize("@ss.hasPermi('system:history:query')") |
| | | @ApiOperation("获取病史详细信息") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id,@PathVariable("pid") Long pid) { |
| | |
| | | /** |
| | | * 新增病史 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:history:add')") |
| | | //@PreAuthorize("@ss.hasPermi('system:history:add')") |
| | | @Log(title = "病史", businessType = BusinessType.INSERT) |
| | | @ApiOperation("新增病史") |
| | | @PostMapping("/add") |
| | |
| | | /** |
| | | * 修改病史 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:history:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('system:history:edit')") |
| | | @Log(title = "病史", businessType = BusinessType.UPDATE) |
| | | @ApiOperation("修改病史") |
| | | @PostMapping("/edit") |
| | |
| | | /** |
| | | * 删除病史 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:history:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('system:history:remove')") |
| | | @Log(title = "病史", businessType = BusinessType.DELETE) |
| | | @ApiOperation("删除病史") |
| | | @GetMapping("/remove/{ids}") |