管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2024-08-16 6dbd4c0d84e62235141c6ecb5b29eaac9ee1275e
src/main/java/com/lf/server/controller/data/LayerController.java
@@ -139,6 +139,9 @@
            }
            int count = layerService.insert(entity);
            if (count > 0) {
                layerService.clearCache();
            }
            return success(count);
        } catch (Exception ex) {
@@ -162,6 +165,9 @@
            }
            int count = layerService.inserts(list);
            if (count > 0) {
                layerService.clearCache();
            }
            return success(count);
        } catch (Exception ex) {
@@ -178,6 +184,9 @@
    public ResponseMsg<Integer> delete(int id) {
        try {
            int count = layerService.delete(id);
            if (count > 0) {
                layerService.clearCache();
            }
            return success(count);
        } catch (Exception ex) {
@@ -198,6 +207,9 @@
            }
            int count = layerService.deletes(ids);
            if (count > 0) {
                layerService.clearCache();
            }
            return success(count);
        } catch (Exception ex) {
@@ -220,6 +232,9 @@
            }
            int count = layerService.update(entity);
            if (count > 0) {
                layerService.clearCache();
            }
            return success(count);
        } catch (Exception ex) {
@@ -244,6 +259,9 @@
            }
            int count = layerService.updates(list);
            if (count > 0) {
                layerService.clearCache();
            }
            return success(count);
        } catch (Exception ex) {