From 46b67fef7a0f4b6dfc659de47bc5d885acdd09f5 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期五, 18 六月 2021 15:28:43 +0800
Subject: [PATCH] add 增加 ServicePlusImpl 自动以实现类 重写移除事务注解方法 防止多数据源失效

---
 ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDictDataController.java |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDictDataController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDictDataController.java
index 157030f..a272a6e 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDictDataController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDictDataController.java
@@ -21,7 +21,7 @@
 
 /**
  * 鏁版嵁瀛楀吀淇℃伅
- * 
+ *
  * @author ruoyi
  */
 @RestController
@@ -107,6 +107,7 @@
     @DeleteMapping("/{dictCodes}")
     public AjaxResult remove(@PathVariable Long[] dictCodes)
     {
-        return toAjax(dictDataService.deleteDictDataByIds(dictCodes));
+        dictDataService.deleteDictDataByIds(dictCodes);
+        return success();
     }
 }

--
Gitblit v1.9.3