|
|
@@ -158,7 +158,7 @@ public class DatasetController { |
|
|
*/ |
|
|
*/ |
|
|
@DeleteMapping({"{id}"}) |
|
|
@DeleteMapping({"{id}"}) |
|
|
@ApiOperation("根据id删除数据集") |
|
|
@ApiOperation("根据id删除数据集") |
|
|
public AjaxResult deleteById(@PathVariable("id") Integer id) { |
|
|
|
|
|
|
|
|
public AjaxResult deleteById(@PathVariable("id") Integer id) throws Exception { |
|
|
return AjaxResult.success(this.datasetService.removeById(id)); |
|
|
return AjaxResult.success(this.datasetService.removeById(id)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|