疯狂的狮子Li
2023-01-14 8ae8c5498da43d15e8fc511c7534fc9ff4a9c750
ruoyi-demo/src/main/java/com/ruoyi/demo/controller/TestBatchController.java
@@ -46,7 +46,7 @@
            testDemo.setValue("测试新增");
            list.add(testDemo);
        }
        return toAjax(testDemoMapper.insertBatch(list) ? 1 : 0);
        return toAjax(testDemoMapper.insertBatch(list));
    }
    /**
@@ -74,7 +74,7 @@
                testDemo.setId(null);
            }
        }
        return toAjax(testDemoMapper.insertOrUpdateBatch(list) ? 1 : 0);
        return toAjax(testDemoMapper.insertOrUpdateBatch(list));
    }
    /**