| | |
| | | import io.swagger.v3.oas.annotations.Operation; |
| | | import io.swagger.v3.oas.annotations.tags.Tag; |
| | | import jakarta.annotation.Resource; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | |
| | | |
| | | @GetMapping("/employee-summary") |
| | | @Operation(summary = "员工工时统计(考勤口径)") |
| | | @PreAuthorize("@ss.hasPermission('hrm:work-hour-statistics:query')") |
| | | public CommonResult<List<HrmEmployeeWorkHourRespVO>> getEmployeeWorkHourSummary( |
| | | HrmEmployeeWorkHourReqVO reqVO) { |
| | | return success(workHourStatisticsService.getEmployeeWorkHourSummary(reqVO)); |
| | |
| | | |
| | | @GetMapping("/team-summary") |
| | | @Operation(summary = "班组工时统计(报工口径)") |
| | | @PreAuthorize("@ss.hasPermission('hrm:work-hour-statistics:query')") |
| | | public CommonResult<List<MesProWorkHourSummaryRespDTO>> getTeamWorkHourSummary( |
| | | MesProWorkHourSummaryReqDTO reqDTO) { |
| | | return success(workHourStatisticsService.getTeamWorkHourSummary(reqDTO)); |