liriming
2024-09-26 2070c06b8cc7b370c3a149669017f4f183f0f172
iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/controller/admin/DaPointController.java
@@ -61,7 +61,7 @@
    }
    @PreAuthorize("@ss.hasPermission('data:point:create')")
    @PostMapping("/data:point")
    @PostMapping("create")
    public CommonResult<Boolean> create(@RequestBody DaPointDTO daPointDTO){
        String id = UUID.randomUUID().toString();
        daPointDTO.setId(id);
@@ -78,8 +78,8 @@
    @PreAuthorize("@ss.hasPermission('data:point:delete')")
    @DeleteMapping("/delete")
    public CommonResult<Boolean> delete(String[] ids) {
        daPointService.delete(ids);
    public CommonResult<Boolean> delete(String id) {
        daPointService.delete(new String[]{id});
        return success(true);
    }