From 784ce3c64aebecd7e30ab9d4c88043e89c37b35d Mon Sep 17 00:00:00 2001
From: dengzedong <dengzedong@email>
Date: 星期一, 25 十一月 2024 18:05:40 +0800
Subject: [PATCH]  添加方法的默认参数(pyFile,模型路径)bug

---
 iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/controller/admin/DaPointController.java |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/controller/admin/DaPointController.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/controller/admin/DaPointController.java
index a1788ea..8bc84b7 100644
--- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/controller/admin/DaPointController.java
+++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/controller/admin/DaPointController.java
@@ -20,7 +20,6 @@
 import io.swagger.v3.oas.annotations.Parameters;
 import io.swagger.v3.oas.annotations.tags.Tag;
 import org.springframework.security.access.prepost.PreAuthorize;
-import org.springframework.transaction.annotation.Transactional;
 import org.springframework.validation.annotation.Validated;
 import org.springframework.web.bind.annotation.*;
 import org.springframework.web.multipart.MultipartFile;
@@ -111,7 +110,6 @@
     @PreAuthorize("@ss.hasPermission('data:point:update')")
     @PutMapping("/enable")
     @Operation(summary = "启用")
-    @Transactional
     public CommonResult<Boolean> enable(@RequestBody String[] ids) {
         daPointService.enableByIds(ids);
         return success(true);
@@ -120,7 +118,6 @@
     @PreAuthorize("@ss.hasPermission('data:point:update')")
     @PutMapping("/disable")
     @Operation(summary = "禁用")
-    @Transactional
     public CommonResult<Boolean> disable(@RequestBody String[] ids) {
         daPointService.disableByIds(ids);
         return success(true);

--
Gitblit v1.9.3