From e53334611e8d51fb67e769cba898743f11dcf627 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期五, 16 六月 2023 17:45:23 +0800 Subject: [PATCH] 患者管理相关接口,提交 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatMedPhysicalController.java | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatMedPhysicalController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatMedPhysicalController.java index 5bebbe7..f4bc5de 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatMedPhysicalController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatMedPhysicalController.java @@ -2,6 +2,9 @@ import java.util.List; import javax.servlet.http.HttpServletResponse; + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; @@ -27,6 +30,7 @@ * @author smartor * @date 2023-03-04 */ +@Api(description = "鎮h�呬綋妫�璁板綍") @RestController @RequestMapping("/smartor/patphysical") public class PatMedPhysicalController extends BaseController @@ -37,6 +41,7 @@ /** * 鏌ヨ鎮h�呬綋妫�璁板綍鍒楄〃 */ + @ApiOperation("鏌ヨ鎮h�呬綋妫�璁板綍鍒楄〃") @PreAuthorize("@ss.hasPermi('smartor:patphysical:list')") @GetMapping("/list") public TableDataInfo list(PatMedPhysical patMedPhysical) @@ -49,6 +54,7 @@ /** * 瀵煎嚭鎮h�呬綋妫�璁板綍鍒楄〃 */ + @ApiOperation("瀵煎嚭鎮h�呬綋妫�璁板綍鍒楄〃") @PreAuthorize("@ss.hasPermi('smartor:patphysical:export')") @Log(title = "鎮h�呬綋妫�璁板綍", businessType = BusinessType.EXPORT) @PostMapping("/export") @@ -62,6 +68,7 @@ /** * 鑾峰彇鎮h�呬綋妫�璁板綍璇︾粏淇℃伅 */ + @ApiOperation("鑾峰彇鎮h�呬綋妫�璁板綍璇︾粏淇℃伅") @PreAuthorize("@ss.hasPermi('smartor:patphysical:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) @@ -72,6 +79,7 @@ /** * 鏂板鎮h�呬綋妫�璁板綍 */ + @ApiOperation("鏂板鎮h�呬綋妫�璁板綍") @PreAuthorize("@ss.hasPermi('smartor:patphysical:add')") @Log(title = "鎮h�呬綋妫�璁板綍", businessType = BusinessType.INSERT) @PostMapping @@ -83,6 +91,7 @@ /** * 淇敼鎮h�呬綋妫�璁板綍 */ + @ApiOperation("淇敼鎮h�呬綋妫�璁板綍") @PreAuthorize("@ss.hasPermi('smartor:patphysical:edit')") @Log(title = "鎮h�呬綋妫�璁板綍", businessType = BusinessType.UPDATE) @PutMapping @@ -94,6 +103,7 @@ /** * 鍒犻櫎鎮h�呬綋妫�璁板綍 */ + @ApiOperation("鍒犻櫎鎮h�呬綋妫�璁板綍") @PreAuthorize("@ss.hasPermi('smartor:patphysical:remove')") @Log(title = "鎮h�呬綋妫�璁板綍", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") -- Gitblit v1.9.3