From 73f5b82df781d2b061ba24d29182f6898b5535d9 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期日, 28 十二月 2025 14:34:04 +0800
Subject: [PATCH] 代码提交

---
 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceTransportController.java |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceTransportController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceTransportController.java
index 1a9e3ed..9d04165 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceTransportController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceTransportController.java
@@ -28,7 +28,7 @@
  */
 @Api(description = "渚涜�呰浆杩愮櫥璁�")
 @RestController
-@RequestMapping("/system/transport")
+@RequestMapping("/project/transport")
 public class ServiceTransportController extends BaseController {
     @Autowired
     private IServiceTransportService serviceTransportService;
@@ -118,8 +118,11 @@
     @ApiOperation("鍒犻櫎渚涜�呰浆杩愮櫥璁�")
     // @PreAuthorize("@ss.hasPermi('system:transport:remove')")
     @Log(title = "渚涜�呰浆杩愮櫥璁�", businessType = BusinessType.DELETE)
-    @GetMapping("/remove/{ids}")
-    public AjaxResult remove(@PathVariable Long[] ids) {
-        return toAjax(serviceTransportService.removeByIds(Arrays.asList(ids)));
+    @GetMapping("/remove/{id}")
+    public AjaxResult remove(@PathVariable Long id) {
+        ServiceTransport serviceTransport = new ServiceTransport();
+        serviceTransport.setId(id);
+        serviceTransport.setDelFlag(1);
+        return toAjax(serviceTransportService.updateById(serviceTransport));
     }
 }

--
Gitblit v1.9.3