|
@@ -70,42 +70,7 @@ public class DragTableStatisticController extends BaseController
|
|
|
return success(dragTableStatisticService.selectDragTableStatisticById(id));
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * 新增动态表格统计
|
|
|
- */
|
|
|
- @PreAuthorize("@ss.hasPermi('system:statistic:add')")
|
|
|
- @Log(title = "动态表格统计", businessType = BusinessType.INSERT)
|
|
|
- @PostMapping
|
|
|
- @ApiOperation(value = "新增动态表格统计")
|
|
|
- public AjaxResult add(@RequestBody DragTableVo vo)
|
|
|
- {
|
|
|
- return toAjax(dragTableStatisticService.batchInsertDragTableStatistic(vo));
|
|
|
- }
|
|
|
|
|
|
- /**
|
|
|
- * 修改动态表格统计
|
|
|
- */
|
|
|
- @PreAuthorize("@ss.hasPermi('system:statistic:edit')")
|
|
|
- @Log(title = "动态表格统计", businessType = BusinessType.UPDATE)
|
|
|
- @PutMapping
|
|
|
- @ApiOperation(value = "修改动态表格统计")
|
|
|
- public AjaxResult edit(@RequestBody DragTableVo vo)
|
|
|
- {
|
|
|
- dragTableStatisticService.updateDragTableStatistic(vo);
|
|
|
- return AjaxResult.success();
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * 删除动态表格统计
|
|
|
- */
|
|
|
- @PreAuthorize("@ss.hasPermi('system:statistic:remove')")
|
|
|
- @Log(title = "动态表格统计", businessType = BusinessType.DELETE)
|
|
|
- @DeleteMapping("/{tableKey}")
|
|
|
- @ApiOperation(value = "删除动态表格统计")
|
|
|
- public AjaxResult remove(@PathVariable String tableKey)
|
|
|
- {
|
|
|
- return toAjax(dragTableStatisticService.deleteDragTableStatisticByTableKey(tableKey));
|
|
|
- }
|
|
|
|
|
|
/**
|
|
|
* 获取动态表格统计详细信息
|