|
|
@@ -37,7 +37,7 @@ public class SysReportController extends BaseController
|
|
|
/**
|
|
|
* 查询【请填写功能名称】列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:report:list')")
|
|
|
+
|
|
|
@GetMapping("/list")
|
|
|
public TableDataInfo list(SysReport sysReport)
|
|
|
{
|
|
|
@@ -56,7 +56,7 @@ public class SysReportController extends BaseController
|
|
|
/**
|
|
|
* 导出【请填写功能名称】列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:report:export')")
|
|
|
+
|
|
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
|
|
|
@PostMapping("/export")
|
|
|
public void export(HttpServletResponse response, SysReport sysReport)
|
|
|
@@ -69,7 +69,6 @@ public class SysReportController extends BaseController
|
|
|
/**
|
|
|
* 获取【请填写功能名称】详细信息
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:report:query')")
|
|
|
@GetMapping(value = "/{id}")
|
|
|
public AjaxResult getInfo(@PathVariable("id") Long id)
|
|
|
{
|
|
|
@@ -79,7 +78,6 @@ public class SysReportController extends BaseController
|
|
|
/**
|
|
|
* 新增【请填写功能名称】
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:report:add')")
|
|
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
|
|
|
@PostMapping
|
|
|
public AjaxResult add(@RequestBody SysReport sysReport)
|
|
|
@@ -90,7 +88,6 @@ public class SysReportController extends BaseController
|
|
|
/**
|
|
|
* 修改【请填写功能名称】
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:report:edit')")
|
|
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping
|
|
|
public AjaxResult edit(@RequestBody SysReport sysReport)
|
|
|
@@ -101,7 +98,6 @@ public class SysReportController extends BaseController
|
|
|
/**
|
|
|
* 删除【请填写功能名称】
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:report:remove')")
|
|
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
|
|
|
@DeleteMapping("/{ids}")
|
|
|
public AjaxResult remove(@PathVariable Long[] ids)
|