Browse Source

操作日志内容修改

chenw 6 years ago
parent
commit
093197c647

+ 12 - 12
bi-server/src/main/java/com/usoftchina/bi/server/service/dashboard/DashboardsService.java

@@ -58,7 +58,7 @@ public class DashboardsService {
     private static final Logger LOGGER = LoggerFactory.getLogger(DashboardsService.class);
 
     /*
-    保存看板
+    保存报表
      */
     public RepEntity setDashboards(String token, DashboardsInfo dashboardsInfo) {
         //校验报表编号是否已存在
@@ -85,7 +85,7 @@ public class DashboardsService {
     }
 
     /*
-    更新看板
+    更新报表
      */
     public RepEntity updateDashboards(String token, DashboardsInfo dashboardsInfo) {
         //校验报表编号是否已存在
@@ -161,7 +161,7 @@ public class DashboardsService {
     }
 
     /*
-    删除看板
+    删除报表
      */
     public RepEntity delDashboards(String token, Integer id) {
         int userId = BaseContextHolder.getUserId();
@@ -175,14 +175,14 @@ public class DashboardsService {
             name = dashboards.getBdName();
         }
         dashboardsMapper.delDashboards(id);
-        //删除看板-图表关联关系
+        //删除报表-图表关联关系
         dashboardsMapper.deleteDashboardChartRelation(id);
-        messageLogService.delete("看板", name, BaseContextHolder.getUserName(), null);
+        messageLogService.delete("报表", name, BaseContextHolder.getUserName(), null);
         return new RepEntity(RepCode.success);
     }
 
     /*
-    查看看板
+    查看报表
      */
     public RepEntity getListDashboards(String token, TestPage testPage) {
         int id = BaseContextHolder.getUserId();
@@ -192,7 +192,7 @@ public class DashboardsService {
     }
 
     /*
-    查看单个看板
+    查看单个报表
      */
     public RepEntity getDashboards(String token, int id) {
         int userId = BaseContextHolder.getUserId();
@@ -204,7 +204,7 @@ public class DashboardsService {
     }
 
     /**
-     * 通过code查看单个看板
+     * 通过code查看单个报表
      * @param code
      * @return
      */
@@ -262,7 +262,7 @@ public class DashboardsService {
     }
 
     /**
-     * 通过分享链接获取看板信息
+     * 通过分享链接获取报表信息
      * @param data
      * @return
      */
@@ -282,7 +282,7 @@ public class DashboardsService {
     }
 
     /*
-    转交看板
+    转交报表
      */
     public RepEntity changeDashOrder(String token, ChangeOrderInfo changeOrderInfo) {
         int userId = BaseContextHolder.getUserId();
@@ -296,7 +296,7 @@ public class DashboardsService {
     }
 
     /*
-    查看看板分发对象
+    查看报表分发对象
      */
     public RepEntity getDashOrder(String token, int dashId) {
         int userId = BaseContextHolder.getUserId();
@@ -324,7 +324,7 @@ public class DashboardsService {
     }
 
     /**
-     * 复制看板
+     * 复制报表
      * @param dashboardCopyInfo
      * @return
      */