From c1e48a47b39dbd6919bfd9cf2e7023e9f3d6fee8 Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期五, 05 十一月 2021 10:24:21 +0800
Subject: [PATCH] 1105测试代码修改

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComClusterOrganizationServiceImpl.java |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComClusterOrganizationServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComClusterOrganizationServiceImpl.java
index 12fdbcc..f71c41a 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComClusterOrganizationServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComClusterOrganizationServiceImpl.java
@@ -71,9 +71,9 @@
         BeanUtils.copyProperties(addClusterAdminDto,organizationDO);
         organizationDO.setCreateAt(new Date());
         if(this.baseMapper.insert(organizationDO) > 0){
-            return R.ok();
+            return R.ok("新增成功");
         }
-        return R.fail();
+        return R.fail("新增失败");
     }
 
     /**
@@ -98,9 +98,9 @@
         BeanUtils.copyProperties(editClusterAdminDto,organizationDO);
         organizationDO.setUpdateAt(new Date());
         if(this.baseMapper.updateById(organizationDO) > 0){
-            return R.ok();
+            return R.ok("编辑成功");
         }
-        return R.fail();
+        return R.fail("编辑失败");
     }
 
     /**
@@ -121,9 +121,9 @@
         organizationDO.setIsDel(ComClusterOrganizationDO.isOk.yes);
         organizationDO.setUpdateAt(new Date());
         if(this.baseMapper.updateById(organizationDO) > 0){
-            return R.ok();
+            return R.ok("删除成功");
         }
-        return R.fail();
+        return R.fail("删除失败");
     }
 
     /**

--
Gitblit v1.7.1