yaozc
2024-05-30 86b0362eaf4c320dc6a54fc12ce80b0bf7890a85
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/attendance/rest/AttendanceMonthController.java
@@ -15,6 +15,7 @@
*/
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;
@@ -46,7 +47,7 @@
    @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);
    }