月球大数据地理空间分析展示平台-【后端】-月球后台服务
13693261870
2023-08-25 7e0bae3a2e766241046877d10c5bd538e21d2473
src/main/java/com/moon/server/controller/sys/ResController.java
@@ -142,7 +142,7 @@
            int count = resService.insert(entity);
            if (count > 0) {
                permsService.clearResCache();
                permsService.clearPermsCache();
            }
            return success(count);
@@ -169,7 +169,7 @@
            int count = resService.inserts(list);
            if (count > 0) {
                permsService.clearResCache();
                permsService.clearPermsCache();
            }
            return success(count);
@@ -188,7 +188,7 @@
        try {
            int count = resService.delete(id);
            if (count > 0) {
                permsService.clearResCache();
                permsService.clearPermsCache();
            }
            return success(count);
@@ -211,7 +211,7 @@
            int count = resService.deletes(ids);
            if (count > 0) {
                permsService.clearResCache();
                permsService.clearPermsCache();
            }
            return success(count);
@@ -237,7 +237,7 @@
            int count = resService.update(entity);
            if (count > 0) {
                permsService.clearResCache();
                permsService.clearPermsCache();
            }
            return success(count);
@@ -265,7 +265,7 @@
            int count = resService.updates(list);
            if (count > 0) {
                permsService.clearResCache();
                permsService.clearPermsCache();
            }
            return success(count);