From 78b0e909aa6ece787091e5d81450c8927ef2599e Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期五, 15 十二月 2023 17:03:12 +0800
Subject: [PATCH] 代码提交

---
 ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatMedOuthospController.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatMedOuthospController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatMedOuthospController.java
index d7502dd..c233309 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatMedOuthospController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatMedOuthospController.java
@@ -43,9 +43,9 @@
      * 鏌ヨ鎮h�呴棬璇婅褰曞垪琛�
      */
     @PreAuthorize("@ss.hasPermi('smartor:patouthosp:list')")
-    @GetMapping("/list")
+    @PostMapping("/selectPatMedOuthospList")
     @ApiOperation("鏌ヨ鎮h�呴棬璇婅褰曞垪琛�")
-    public TableDataInfo list(PatMedOuthosp patMedOuthosp) {
+    public TableDataInfo selectPatMedOuthosplist(@RequestBody  PatMedOuthosp patMedOuthosp) {
         startPage();
         List<PatMedOuthosp> list = patMedOuthospService.selectPatMedOuthospList(patMedOuthosp);
         return getDataTable(list);
@@ -81,7 +81,7 @@
     @ApiOperation("鏂板鎮h�呴棬璇婅褰�")
     @PreAuthorize("@ss.hasPermi('smartor:patouthosp:add')")
     @Log(title = "鎮h�呴棬璇婅褰�", businessType = BusinessType.INSERT)
-    @PostMapping
+    @PostMapping("/add")
     public AjaxResult add(@RequestBody PatMedOuthosp patMedOuthosp) {
         return toAjax(patMedOuthospService.insertPatMedOuthosp(patMedOuthosp));
     }
@@ -92,7 +92,7 @@
     @ApiOperation("淇敼鎮h�呴棬璇婅褰�")
     @PreAuthorize("@ss.hasPermi('smartor:patouthosp:edit')")
     @Log(title = "鎮h�呴棬璇婅褰�", businessType = BusinessType.UPDATE)
-    @PutMapping
+    @PostMapping("/edit")
     public AjaxResult edit(@RequestBody PatMedOuthosp patMedOuthosp) {
         return toAjax(patMedOuthospService.updatePatMedOuthosp(patMedOuthosp));
     }
@@ -104,7 +104,7 @@
     @PreAuthorize("@ss.hasPermi('smartor:patouthosp:remove')")
     @ApiImplicitParam(name = "remove", value = "涓婚敭ID", dataType = "long", dataTypeClass = Array.class)
     @Log(title = "鎮h�呴棬璇婅褰�", businessType = BusinessType.DELETE)
-    @DeleteMapping("/{ids}")
+    @GetMapping("/{ids}")
     public AjaxResult remove(@PathVariable Long[] ids) {
         return toAjax(patMedOuthospService.deletePatMedOuthospByIds(ids));
     }

--
Gitblit v1.9.3