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/SysPostController.java |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysPostController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysPostController.java
index 0c73ea8..b63c155 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysPostController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysPostController.java
@@ -42,9 +42,7 @@
     @GetMapping("/list")
     public TableDataInfo list(SysPost post)
     {
-        startPage();
-        List<SysPost> list = postService.selectPostList(post);
-        return getDataTable(list);
+        return postService.selectPagePostList(post);
     }
     
     @Log(title = "宀椾綅绠$悊", businessType = BusinessType.EXPORT)

--
Gitblit v1.9.3