From 75cb81f0b88f313857ea431b46b929bef95d7cc8 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期一, 29 七月 2024 10:36:59 +0800
Subject: [PATCH] 代码提交
---
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatMedOuthospController.java | 12 ++++++------
1 files changed, 6 insertions(+), 6 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 671b110..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
@@ -34,7 +34,7 @@
*/
@RestController
@RequestMapping("/smartor/patouthosp")
-@Api("鎮h�呴棬璇婅褰�")
+@Api(description = "鎮h�呴棬璇婅褰�")
public class PatMedOuthospController extends BaseController {
@Autowired
private IPatMedOuthospService patMedOuthospService;
@@ -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