| | |
| | | import com.ruoyi.inspect.dto.StaffAttendanceDTO; |
| | | import com.ruoyi.inspect.pojo.StaffAttendanceTrackingRecord; |
| | | import com.ruoyi.inspect.service.StaffAttendanceTrackingRecordService; |
| | | import com.ruoyi.performance.dto.AuxiliaryOriginalHoursLookDto; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.commons.lang3.ObjectUtils; |
| | |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.time.LocalDateTime; |
| | | import java.util.Arrays; |
| | | |
| | |
| | | return Result.success(trackingRecordService.updateById(trackingRecord)); |
| | | } |
| | | |
| | | |
| | | @ApiOperation("导出考勤记录") |
| | | @GetMapping("/exportStaffAttendanceRecords") |
| | | public void exportStaffAttendanceRecords(HttpServletResponse response, StaffAttendanceDTO staffAttendanceDTO){ |
| | | trackingRecordService.exportStaffAttendanceRecords(response,staffAttendanceDTO); |
| | | } |
| | | |
| | | } |