| | |
| | | */ |
| | | package me.zhengjie.modules.attendance.rest; |
| | | |
| | | import me.zhengjie.annotation.AnonymousAccess; |
| | | import me.zhengjie.annotation.Log; |
| | | import me.zhengjie.modules.attendance.domain.AttendanceMonth; |
| | | import me.zhengjie.modules.attendance.service.AttendanceMonthService; |
| | |
| | | @Log("导出数据") |
| | | @ApiOperation("导出数据") |
| | | @GetMapping(value = "/download") |
| | | @PreAuthorize("@el.check('attendanceMonth:download')") |
| | | @AnonymousAccess |
| | | public void exportAttendanceMonth(HttpServletResponse response, AttendanceMonthQueryCriteria criteria) throws IOException { |
| | | attendanceMonthService.download(attendanceMonthService.queryAll(criteria), response); |
| | | } |