| | |
| | | */ |
| | | // @PreAuthorize("@ss.hasPermi('system:property:export')") |
| | | @Log(title = "个人记事本记录", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export/{ids}") |
| | | public void export(HttpServletResponse response,@PathVariable Long[] ids) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response) |
| | | { |
| | | List<ZSelfNote> list = zSelfNoteService.selectByCondition(); |
| | | log.info("导出记录为:{}",list); |
| | | ExcelUtil<ZSelfNote> util = new ExcelUtil<>(ZSelfNote.class); |
| | | util.exportExcel(response, list, "个人记事本记录数据"); |
| | | } |
| | | |
| | | @Log(title = "个人记事本记录", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export1/{ids}") |
| | | public void export1(HttpServletResponse response,@PathVariable Long[] ids) |
| | | { |
| | | List<ZSelfNote> list = zSelfNoteService.selectByIds(ids); |
| | | log.info("导出记录为:{}",list); |