mirror of
https://github.com/dataease/dataease.git
synced 2026-05-21 12:45:37 +08:00
feat(数据集): 表字段抽象,字段编辑、选择
This commit is contained in:
@@ -21,12 +21,12 @@ public class DataSetTableController {
|
||||
private DataSetTableService dataSetTableService;
|
||||
|
||||
@PostMapping("batchAdd")
|
||||
public void batchAdd(@RequestBody List<DatasetTable> datasetTable) {
|
||||
public void batchAdd(@RequestBody List<DatasetTable> datasetTable) throws Exception {
|
||||
dataSetTableService.batchInsert(datasetTable);
|
||||
}
|
||||
|
||||
@PostMapping("update")
|
||||
public DatasetTable save(@RequestBody DatasetTable datasetTable) {
|
||||
public DatasetTable save(@RequestBody DatasetTable datasetTable) throws Exception {
|
||||
return dataSetTableService.save(datasetTable);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user