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/PatMedInhospController.java | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatMedInhospController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatMedInhospController.java index a50de21..3fbecd7 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatMedInhospController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatMedInhospController.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/patinhosp") public class PatMedInhospController extends BaseController @@ -37,6 +41,7 @@ /** * 鏌ヨ鎮h�呬綇闄㈣褰曞垪琛� */ + @ApiOperation("鏌ヨ鎮h�呬綇闄㈣褰曞垪琛�") @PreAuthorize("@ss.hasPermi('smartor:patinhosp:list')") @GetMapping("/list") public TableDataInfo list(PatMedInhosp patMedInhosp) @@ -49,6 +54,7 @@ /** * 瀵煎嚭鎮h�呬綇闄㈣褰曞垪琛� */ + @ApiOperation("瀵煎嚭鎮h�呬綇闄㈣褰曞垪琛�") @PreAuthorize("@ss.hasPermi('smartor:patinhosp:export')") @Log(title = "鎮h�呬綇闄㈣褰�", businessType = BusinessType.EXPORT) @PostMapping("/export") @@ -62,6 +68,7 @@ /** * 鑾峰彇鎮h�呬綇闄㈣褰曡缁嗕俊鎭� */ + @ApiOperation("鑾峰彇鎮h�呬綇闄㈣褰曡缁嗕俊鎭�") @PreAuthorize("@ss.hasPermi('smartor:patinhosp:query')") @GetMapping(value = "/{inhospid}") public AjaxResult getInfo(@PathVariable("inhospid") Long inhospid) @@ -72,6 +79,7 @@ /** * 鏂板鎮h�呬綇闄㈣褰� */ + @ApiOperation("鏂板鎮h�呬綇闄㈣褰�") @PreAuthorize("@ss.hasPermi('smartor:patinhosp:add')") @Log(title = "鎮h�呬綇闄㈣褰�", businessType = BusinessType.INSERT) @PostMapping @@ -83,6 +91,7 @@ /** * 淇敼鎮h�呬綇闄㈣褰� */ + @ApiOperation("淇敼鎮h�呬綇闄㈣褰�") @PreAuthorize("@ss.hasPermi('smartor:patinhosp:edit')") @Log(title = "鎮h�呬綇闄㈣褰�", businessType = BusinessType.UPDATE) @PutMapping @@ -94,6 +103,7 @@ /** * 鍒犻櫎鎮h�呬綇闄㈣褰� */ + @ApiOperation("鍒犻櫎鎮h�呬綇闄㈣褰�") @PreAuthorize("@ss.hasPermi('smartor:patinhosp:remove')") @Log(title = "鎮h�呬綇闄㈣褰�", businessType = BusinessType.DELETE) @DeleteMapping("/{inhospids}") -- Gitblit v1.9.3