mirror of
https://github.com/dataease/dataease.git
synced 2026-05-18 17:58:11 +08:00
feat(X-Pack): [数据填报]增加清空表数据功能
This commit is contained in:
@@ -67,6 +67,10 @@ public interface DataFillingApi {
|
||||
@GetMapping("/form/{formId}/delete/{id}")
|
||||
void deleteRowData(@PathVariable("formId") Long formId, @PathVariable("id") Long id) throws Exception;
|
||||
|
||||
@DePermit({"#p0+':manage'"})
|
||||
@GetMapping("/form/{formId}/truncate")
|
||||
void truncateRowData(@PathVariable("formId") Long formId) throws Exception;
|
||||
|
||||
@DePermit({"#p0+':manage'"})
|
||||
@PostMapping("/form/{formId}/batch-delete")
|
||||
void batchDeleteRowData(@PathVariable("formId") Long formId, @RequestBody List<Long> ids) throws Exception;
|
||||
|
||||
Reference in New Issue
Block a user