| | |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import com.ruoyi.common.annotation.AddOrgId; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | |
| | | * 查询患者高血压记录列表 |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('system:hypertension:list')") |
| | | @PostMapping("/list") |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("list") |
| | | @ApiOperation("查询患者高血压记录列表") |
| | | public TableDataInfo list(@RequestBody PatMedHypertension patMedHypertension) { |
| | | startPage(); |
| | |
| | | @ApiOperation("患者高血压记录") |
| | | //@PreAuthorize("@ss.hasPermi('system:hypertension:add')") |
| | | @Log(title = "患者高血压记录", businessType = BusinessType.INSERT) |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody PatMedHypertension patMedHypertension) { |
| | | return toAjax(patMedHypertensionService.insertPatMedHypertension(patMedHypertension)); |
| | |
| | | @ApiOperation("患者高血压记录") |
| | | //@PreAuthorize("@ss.hasPermi('system:hypertension:edit')") |
| | | @Log(title = "患者高血压记录", businessType = BusinessType.UPDATE) |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody PatMedHypertension patMedHypertension) { |
| | | return toAjax(patMedHypertensionService.updatePatMedHypertension(patMedHypertension)); |