月球大数据地理空间分析展示平台-【后端】-月球后台服务
13693261870
2023-09-02 e898cd9ca017a6f5bfe4266fcd2830b232047bc8
src/main/java/com/moon/server/controller/data/PublishController.java
@@ -251,7 +251,7 @@
                entity.setToken(WebHelper.getToken(req));
            }
            permsService.clearLayerCache();
            permsService.clearPermsCache();
            String method = getConvertMethod(entity.getType());
            long count = publishService.postForPub(entity, method, req);
@@ -303,10 +303,7 @@
                return fail("没有找到要删除的数据", -1);
            }
            // publishService.deleteFiles(list)
            permsService.clearLayerCache();
            publishService.deleteFiles(ids, req);
            permsService.clearPermsCache();
            int count = publishService.deletes(ids, req);
            return success(count);
@@ -329,7 +326,7 @@
                entity.setUpdateUser(ue.getId());
            }
            permsService.clearLayerCache();
            permsService.clearPermsCache();
            int count = publishService.update(entity);
            return success(count);