xiangpei
2024-03-07 2b5b4582b5c28e69b0854fd16906be6f2b142b41
ycl-server/src/main/java/com/ycl/platform/controller/YwPointController.java
@@ -38,6 +38,12 @@
        return ywPointService.add(form);
    }
    @PostMapping("/batch")
    @ApiOperation(value = "批量添加", notes = "批量添加")
    public Result batchAdd(@RequestBody @NotEmpty(message = "数据不能为空") List<YwPointForm> form) {
        return ywPointService.batchAdd(form);
    }
    @PutMapping
    @ApiOperation(value = "修改", notes = "修改")
    public Result update(@RequestBody @Validated(Update.class) YwPointForm form) {
@@ -56,7 +62,7 @@
        return ywPointService.remove(ids);
    }
    @PreAuthorize("@ss.hasPermi('point:page')")
//    @PreAuthorize("@ss.hasPermi('point:page')")
    @GetMapping("/page")
    @ApiOperation(value = "分页", notes = "分页")
    public Result page(YwPointQuery query) {