From 5389773b2d1ae86daec68b00f67c3682dc907e01 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期五, 22 十一月 2024 14:35:48 +0800 Subject: [PATCH] 代码提交(长期任务电话完成) --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatMedPhysicalController.java | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 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 f4bc5de..c5f69a2 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 @@ -1,4 +1,4 @@ -package com.smartor.controller; +package com.ruoyi.web.controller.smartor; import java.util.List; import javax.servlet.http.HttpServletResponse; @@ -26,7 +26,7 @@ /** * 鎮h�呬綋妫�璁板綍Controller - * + * * @author smartor * @date 2023-03-04 */ @@ -42,9 +42,9 @@ * 鏌ヨ鎮h�呬綋妫�璁板綍鍒楄〃 */ @ApiOperation("鏌ヨ鎮h�呬綋妫�璁板綍鍒楄〃") - @PreAuthorize("@ss.hasPermi('smartor:patphysical:list')") - @GetMapping("/list") - public TableDataInfo list(PatMedPhysical patMedPhysical) + //@PreAuthorize("@ss.hasPermi('smartor:patphysical:list')") + @PostMapping("/selectPatMedPhysicalList") + public TableDataInfo selectPatMedPhysicallist(@RequestBody PatMedPhysical patMedPhysical) { startPage(); List<PatMedPhysical> list = patMedPhysicalService.selectPatMedPhysicalList(patMedPhysical); @@ -55,7 +55,7 @@ * 瀵煎嚭鎮h�呬綋妫�璁板綍鍒楄〃 */ @ApiOperation("瀵煎嚭鎮h�呬綋妫�璁板綍鍒楄〃") - @PreAuthorize("@ss.hasPermi('smartor:patphysical:export')") + //@PreAuthorize("@ss.hasPermi('smartor:patphysical:export')") @Log(title = "鎮h�呬綋妫�璁板綍", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, PatMedPhysical patMedPhysical) @@ -69,7 +69,7 @@ * 鑾峰彇鎮h�呬綋妫�璁板綍璇︾粏淇℃伅 */ @ApiOperation("鑾峰彇鎮h�呬綋妫�璁板綍璇︾粏淇℃伅") - @PreAuthorize("@ss.hasPermi('smartor:patphysical:query')") + //@PreAuthorize("@ss.hasPermi('smartor:patphysical:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { @@ -80,9 +80,9 @@ * 鏂板鎮h�呬綋妫�璁板綍 */ @ApiOperation("鏂板鎮h�呬綋妫�璁板綍") - @PreAuthorize("@ss.hasPermi('smartor:patphysical:add')") + //@PreAuthorize("@ss.hasPermi('smartor:patphysical:add')") @Log(title = "鎮h�呬綋妫�璁板綍", businessType = BusinessType.INSERT) - @PostMapping + @PostMapping("/add") public AjaxResult add(@RequestBody PatMedPhysical patMedPhysical) { return toAjax(patMedPhysicalService.insertPatMedPhysical(patMedPhysical)); @@ -92,9 +92,9 @@ * 淇敼鎮h�呬綋妫�璁板綍 */ @ApiOperation("淇敼鎮h�呬綋妫�璁板綍") - @PreAuthorize("@ss.hasPermi('smartor:patphysical:edit')") + //@PreAuthorize("@ss.hasPermi('smartor:patphysical:edit')") @Log(title = "鎮h�呬綋妫�璁板綍", businessType = BusinessType.UPDATE) - @PutMapping + @PostMapping("/edit") public AjaxResult edit(@RequestBody PatMedPhysical patMedPhysical) { return toAjax(patMedPhysicalService.updatePatMedPhysical(patMedPhysical)); @@ -104,9 +104,9 @@ * 鍒犻櫎鎮h�呬綋妫�璁板綍 */ @ApiOperation("鍒犻櫎鎮h�呬綋妫�璁板綍") - @PreAuthorize("@ss.hasPermi('smartor:patphysical:remove')") + //@PreAuthorize("@ss.hasPermi('smartor:patphysical:remove')") @Log(title = "鎮h�呬綋妫�璁板綍", businessType = BusinessType.DELETE) - @DeleteMapping("/{ids}") + @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { return toAjax(patMedPhysicalService.deletePatMedPhysicalByIds(ids)); -- Gitblit v1.9.3