| | |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | @Service |
| | | /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/service/impl/ShiftDetailServiceImpl.class */ |
| | | public class ShiftDetailServiceImpl extends ServiceImpl<ShiftDetailMapper, ShiftDetail> implements IShiftDetailService { |
| | | @Autowired |
| | | private IShiftRestTimeService shiftRestTimeService; |
| | |
| | | private final Integer SHIFT4 = 4; |
| | | private final String ZERO_TIME = " 00:00:00"; |
| | | |
| | | @Override // org.springblade.modules.cps.service.IShiftDetailService |
| | | |
| | | public void saveShiftDetail(List<ShiftDetailDTO> shiftDetailDTOList, Long modelId) { |
| | | shiftDetailDTOList.stream().map(shiftDetailDTO -> { |
| | | ShiftDetail shiftDetail = new ShiftDetail(); |
| | |
| | | }).collect(Collectors.toList()); |
| | | } |
| | | |
| | | @Override // org.springblade.modules.cps.service.IShiftDetailService |
| | | @Override |
| | | public List<ShiftInfoDTO> getShiftInfoDtoList(List<Long> workstationIdList, LocalDate startDay, LocalDate endDay) { |
| | | List<ShiftInfoDTO> calendarCodeShiftDTOList = this.calendarService.listShiftInfo(workstationIdList, startDay, endDay); |
| | | String message1 = MessageUtils.message("calendar.shift.shift1", new Object[0]); |