From e00ef99886b9ab84f39c81432f8c7640e93026f9 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期四, 27 二月 2025 15:54:30 +0800
Subject: [PATCH] 代码提交

---
 ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/ServiceTaskoperController.java |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/ServiceTaskoperController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/ServiceTaskoperController.java
index df4a3da..7f719d3 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/ServiceTaskoperController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/ServiceTaskoperController.java
@@ -29,7 +29,7 @@
  * @author lihu
  * @date 2025-02-25
  */
-@Api("妯℃澘绉戝鍏宠仈")
+@Api("鎵嬫湳妯℃澘绉戝鍏宠仈")
 @RestController
 @RequestMapping("/smartor/taskoper")
 public class ServiceTaskoperController extends BaseController
@@ -42,8 +42,8 @@
      */
     @ApiOperation("鏌ヨ妯℃澘绉戝鍏宠仈鍒楄〃")
     //@PreAuthorize("@ss.hasPermi('smartor:taskoper:list')")
-    @GetMapping("/list")
-    public TableDataInfo list(ServiceTaskoper serviceTaskoper)
+    @PostMapping("/list")
+    public TableDataInfo list(@RequestBody ServiceTaskoper serviceTaskoper)
     {
         startPage();
         List<ServiceTaskoper> list = serviceTaskoperService.selectServiceTaskoperList(serviceTaskoper);
@@ -105,9 +105,9 @@
     @ApiOperation("鍒犻櫎妯℃澘绉戝鍏宠仈")
     //@PreAuthorize("@ss.hasPermi('smartor:taskoper:remove')")
     @Log(title = "妯℃澘绉戝鍏宠仈", businessType = BusinessType.DELETE)
-	@GetMapping("/remove/{ids}")
-    public AjaxResult remove(@PathVariable Long[] ids)
+	@GetMapping("/remove/{id}")
+    public AjaxResult remove(@PathVariable Long id)
     {
-        return toAjax(serviceTaskoperService.deleteServiceTaskoperByIds(ids));
+        return toAjax(serviceTaskoperService.deleteServiceTaskoperById(id));
     }
 }

--
Gitblit v1.9.3