From 9526971c403417c1c007804f24884c443b9e6cd7 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期三, 04 九月 2024 00:34:40 +0800 Subject: [PATCH] 代码提交 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatMedRegistrationController.java | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatMedRegistrationController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatMedRegistrationController.java index 442fec0..887d19b 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatMedRegistrationController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatMedRegistrationController.java @@ -8,6 +8,8 @@ import com.ruoyi.common.utils.poi.ExcelUtil; import com.smartor.domain.PatMedRegistration; import com.smartor.service.IPatMedRegistrationService; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.web.bind.annotation.*; @@ -21,6 +23,7 @@ * @author ruoyi * @date 2024-08-01 */ +@Api(description = " 鎮h�呮寕鍙疯褰�") @RestController @RequestMapping("/smartor/registration") public class PatMedRegistrationController extends BaseController { @@ -30,6 +33,7 @@ /** * 鏌ヨ鎮h�呮寕鍙疯褰曞垪琛� */ + @ApiOperation("鏌ヨ鎮h�呮寕鍙疯褰曞垪琛�") @PreAuthorize("@ss.hasPermi('system:registration:list')") @GetMapping("/list") public TableDataInfo list(PatMedRegistration patMedRegistration) { @@ -41,6 +45,7 @@ /** * 瀵煎嚭鎮h�呮寕鍙疯褰曞垪琛� */ + @ApiOperation("瀵煎嚭鎮h�呮寕鍙疯褰曞垪琛�") @PreAuthorize("@ss.hasPermi('system:registration:export')") @Log(title = "鎮h�呮寕鍙疯褰�", businessType = BusinessType.EXPORT) @PostMapping("/export") @@ -53,6 +58,7 @@ /** * 鑾峰彇鎮h�呮寕鍙疯褰曡缁嗕俊鎭� */ + @ApiOperation("鑾峰彇鎮h�呮寕鍙疯褰曡缁嗕俊鎭�") @PreAuthorize("@ss.hasPermi('system:registration:query')") @GetMapping(value = "/getInfo/{registid}") public AjaxResult getInfo(@PathVariable("registid") Long registid) { @@ -62,6 +68,7 @@ /** * 鏂板鎮h�呮寕鍙疯褰� */ + @ApiOperation("鏂板鎮h�呮寕鍙疯褰�") @PreAuthorize("@ss.hasPermi('system:registration:add')") @Log(title = "鎮h�呮寕鍙疯褰�", businessType = BusinessType.INSERT) @PostMapping("/add") @@ -72,6 +79,7 @@ /** * 淇敼鎮h�呮寕鍙疯褰� */ + @ApiOperation("淇敼鎮h�呮寕鍙疯褰�") @PreAuthorize("@ss.hasPermi('system:registration:edit')") @Log(title = "鎮h�呮寕鍙疯褰�", businessType = BusinessType.UPDATE) @PostMapping("/edit") @@ -82,6 +90,7 @@ /** * 鍒犻櫎鎮h�呮寕鍙疯褰� */ + @ApiOperation("鍒犻櫎鎮h�呮寕鍙疯褰�") @PreAuthorize("@ss.hasPermi('system:registration:remove')") @Log(title = "鎮h�呮寕鍙疯褰�", businessType = BusinessType.DELETE) @GetMapping("/remove/{registids}") -- Gitblit v1.9.3