| | |
| | | /** |
| | | * 查询在线excel设计器列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:onlinereport:list')") |
| | | // @PreAuthorize("@ss.hasPermi('system:onlinereport:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(JimuReport jimuReport) { |
| | | startPage(); |
| | |
| | | /** |
| | | * 导出在线excel设计器列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:onlinereport:export')") |
| | | // @PreAuthorize("@ss.hasPermi('system:onlinereport:export')") |
| | | @Log(title = "在线excel设计器", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, JimuReport jimuReport) { |
| | |
| | | /** |
| | | * 获取在线excel设计器详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:onlinereport:query')") |
| | | // @PreAuthorize("@ss.hasPermi('system:onlinereport:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") String id) { |
| | | return success(jimuReportService.selectJimuReportById(id)); |
| | |
| | | /** |
| | | * 新增在线excel设计器 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:onlinereport:add')") |
| | | // @PreAuthorize("@ss.hasPermi('system:onlinereport:add')") |
| | | @Log(title = "在线excel设计器", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody JimuReport jimuReport) { |
| | |
| | | * 修改在线excel设计器 |
| | | */ |
| | | @ApiOperation(value = "修改") |
| | | @PreAuthorize("@ss.hasPermi('system:onlinereport:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('system:onlinereport:edit')") |
| | | @Log(title = "在线excel设计器", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody JimuReport jimuReport) { |
| | |
| | | /** |
| | | * 删除在线excel设计器 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:onlinereport:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('system:onlinereport:remove')") |
| | | @Log(title = "在线excel设计器", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable String[] ids) { |