月球大数据地理空间分析展示平台-【后端】-月球后台服务
13693261870
2023-08-25 7e0bae3a2e766241046877d10c5bd538e21d2473
src/main/java/com/moon/server/controller/sys/LayerController.java
@@ -106,7 +106,7 @@
            int count = layerService.insert(entity);
            if (count > 0) {
                permsService.clearLayerCache();
                permsService.clearPermsCache();
            }
            return success(count);
@@ -132,7 +132,7 @@
            int count = layerService.inserts(list);
            if (count > 0) {
                permsService.clearLayerCache();
                permsService.clearPermsCache();
            }
            return success(count);
@@ -151,7 +151,7 @@
        try {
            int count = layerService.delete(id);
            if (count > 0) {
                permsService.clearLayerCache();
                permsService.clearPermsCache();
            }
            return success(count);
@@ -174,7 +174,7 @@
            int count = layerService.deletes(ids);
            if (count > 0) {
                permsService.clearLayerCache();
                permsService.clearPermsCache();
            }
            return success(count);
@@ -199,7 +199,7 @@
            int count = layerService.update(entity);
            if (count > 0) {
                permsService.clearLayerCache();
                permsService.clearPermsCache();
            }
            return success(count);
@@ -226,7 +226,7 @@
            int count = layerService.updates(list);
            if (count > 0) {
                permsService.clearLayerCache();
                permsService.clearPermsCache();
            }
            return success(count);