| | |
| | | import io.swagger.v3.oas.annotations.tags.Tag; |
| | | import jakarta.annotation.Resource; |
| | | import jakarta.validation.Valid; |
| | | 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("/list") |
| | | @Operation(summary = "查询排班日历") |
| | | @PreAuthorize("@ss.hasPermission('mes:cal-team-shift:query')") |
| | | public CommonResult<List<MesCalCalendarRespVO>> getCalendarList(@Valid MesCalCalendarListReqVO reqVO) { |
| | | // 1.1 根据查询类型获取班组排班记录 |
| | | List<MesCalTeamShiftDO> teamShifts = getTeamShifts(reqVO); |