From eb782eaac8f706a005ce18ed0b73fda22ac36113 Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期三, 22 十月 2025 10:27:14 +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