| | |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | @Service |
| | | /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/mdc/service/impl/StatisticsServiceImpl.class */ |
| | | public class StatisticsServiceImpl implements IStatisticsService { |
| | | @Override // org.springblade.modules.mdc.service.IStatisticsService |
| | | public SplitFilterListVO organizeQueryConditions(AnalysisFilterVO input) { |
| | |
| | | buildMonthData(intervalDateDtoList, result); |
| | | } |
| | | SplitFilterListVO vo = new SplitFilterListVO(); |
| | | vo.setItems((Collection) result.stream().map(c -> { |
| | | vo.setItems( result.stream().map(c -> { |
| | | SplitFilterVO voItem = new SplitFilterVO(); |
| | | voItem.setTitle(c.getTitle()); |
| | | voItem.setDate(c.getDate()); |
| | |
| | | IntervalDateDto intervalDateDto = intervalDateDtoList.get(0); |
| | | List<String> dayList = intervalDateDto.getDayList(); |
| | | dayList.forEach(day -> { |
| | | shiftKeyNameMap.forEach(shiftIndex, shiftName -> { |
| | | shiftKeyNameMap.forEach((shiftIndex, shiftName) -> { |
| | | String code = StrUtil.format("{}_{}", new Object[]{day, shiftIndex}); |
| | | String title = StrUtil.format("{}-{}", new Object[]{day, shiftKeyNameMap.get(String.valueOf(shiftIndex))}); |
| | | LocalDate localDate = LocalDateUtil.stringToLocalDate(day, DateConstant.PATTERN_DATE); |