| | |
| | | /** |
| | | * 查询患者高血压记录列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:hypertension:list')") |
| | | //@PreAuthorize("@ss.hasPermi('system:hypertension:list')") |
| | | @PostMapping("/list") |
| | | @ApiOperation("查询患者高血压记录列表") |
| | | public TableDataInfo list(@RequestBody PatMedHypertension patMedHypertension) { |
| | |
| | | * 导出患者高血压记录列表 |
| | | */ |
| | | @ApiOperation("患者高血压记录") |
| | | @PreAuthorize("@ss.hasPermi('system:hypertension:export')") |
| | | //@PreAuthorize("@ss.hasPermi('system:hypertension:export')") |
| | | @Log(title = "患者高血压记录", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, PatMedHypertension patMedHypertension) { |
| | |
| | | */ |
| | | @ApiOperation("获取患者高血压记录详细信息") |
| | | @ApiImplicitParam(name = "getInfo", value = "主键ID", dataType = "long", dataTypeClass = Long.class) |
| | | @PreAuthorize("@ss.hasPermi('system:hypertension:query')") |
| | | //@PreAuthorize("@ss.hasPermi('system:hypertension:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(patMedHypertensionService.selectPatMedHypertensionById(id)); |
| | |
| | | * 新增患者高血压记录 |
| | | */ |
| | | @ApiOperation("患者高血压记录") |
| | | @PreAuthorize("@ss.hasPermi('system:hypertension:add')") |
| | | //@PreAuthorize("@ss.hasPermi('system:hypertension:add')") |
| | | @Log(title = "患者高血压记录", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody PatMedHypertension patMedHypertension) { |
| | |
| | | * 修改患者高血压记录 |
| | | */ |
| | | @ApiOperation("患者高血压记录") |
| | | @PreAuthorize("@ss.hasPermi('system:hypertension:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('system:hypertension:edit')") |
| | | @Log(title = "患者高血压记录", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody PatMedHypertension patMedHypertension) { |
| | |
| | | * 删除患者高血压记录 |
| | | */ |
| | | @ApiOperation("患者高血压记录") |
| | | @PreAuthorize("@ss.hasPermi('system:hypertension:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('system:hypertension:remove')") |
| | | @Log(title = "患者高血压记录", businessType = BusinessType.DELETE) |
| | | @ApiImplicitParam(name = "remove", value = "主键ID", dataType = "long", dataTypeClass = Array.class) |
| | | @GetMapping("/remove/{ids}") |