| | |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | @Service |
| | | /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/mdc/service/impl/SuperAggregateOutputServiceImpl.class */ |
| | | public class SuperAggregateOutputServiceImpl implements ISuperAggregateOutputService { |
| | | private final SuperAggregateOutputMapper baseMapper; |
| | | |
| | |
| | | this.baseMapper = baseMapper; |
| | | } |
| | | |
| | | @Override // org.springblade.modules.mdc.service.ISuperAggregateOutputService |
| | | @Override |
| | | public List<SuperAggregateOutput> getOutputData(List<Long> workstationIds, StatisticalMethodEnum statisticalMethodEnum, LocalDate startDate, LocalDate endDate) { |
| | | List<SuperAggregateOutput> superAggregateOutputList; |
| | | if (StatisticalMethodEnum.SHIFT.equals(statisticalMethodEnum) || StatisticalMethodEnum.DAY.equals(statisticalMethodEnum) || StatisticalMethodEnum.WEEK.equals(statisticalMethodEnum) || StatisticalMethodEnum.MONTH.equals(statisticalMethodEnum)) { |
| | |
| | | return superAggregateOutputList; |
| | | } |
| | | |
| | | @Override // org.springblade.modules.mdc.service.ISuperAggregateOutputService |
| | | @Override |
| | | public List<SuperAggregateOutput> queryPerfByDay(Long workstationId, String startTime, String endTime, Long employeeId) { |
| | | return this.baseMapper.queryPerfByDay(workstationId, startTime, endTime, employeeId); |
| | | } |
| | | |
| | | @Override // org.springblade.modules.mdc.service.ISuperAggregateOutputService |
| | | @Override |
| | | public List<SuperAggregateOutput> queryPerfByWeek(Long workstationId, List<Integer> weeks, Long employeeId) { |
| | | return this.baseMapper.queryPerfByWeek(workstationId, weeks, employeeId); |
| | | } |
| | | |
| | | @Override // org.springblade.modules.mdc.service.ISuperAggregateOutputService |
| | | @Override |
| | | public List<SuperAggregateOutput> queryPerfByMonth(Long workstationId, List<Integer> months, Long employeeId) { |
| | | return this.baseMapper.queryPerfByMonth(workstationId, months, employeeId); |
| | | } |
| | | |
| | | @Override // org.springblade.modules.mdc.service.ISuperAggregateOutputService |
| | | @Override |
| | | public List<SuperAggregateOutput> queryPerfByEtDay(Long employeeId, String time) { |
| | | return this.baseMapper.queryPerfByEtDay(employeeId, time); |
| | | } |
| | | |
| | | @Override // org.springblade.modules.mdc.service.ISuperAggregateOutputService |
| | | @Override |
| | | public List<SuperAggregateOutput> queryPerfByEtWeek(Long employeeId, Integer week) { |
| | | return this.baseMapper.queryPerfByEtWeek(employeeId, week); |
| | | } |
| | | |
| | | @Override // org.springblade.modules.mdc.service.ISuperAggregateOutputService |
| | | @Override |
| | | public List<SuperAggregateOutput> queryPerfByEtMonth(Long employeeId, Integer month) { |
| | | return this.baseMapper.queryPerfByEtMonth(employeeId, month); |
| | | } |
| | | |
| | | @Override // org.springblade.modules.mdc.service.ISuperAggregateOutputService |
| | | @Override |
| | | public List<SuperAggregateOutput> queryPerfByWtDay(Long workstationId, String time) { |
| | | return this.baseMapper.queryPerfByWtDay(workstationId, time); |
| | | } |
| | | |
| | | @Override // org.springblade.modules.mdc.service.ISuperAggregateOutputService |
| | | @Override |
| | | public List<SuperAggregateOutput> queryPerfByWtWeek(Long workstationId, Integer week) { |
| | | return this.baseMapper.queryPerfByWtWeek(workstationId, week); |
| | | } |
| | | |
| | | @Override // org.springblade.modules.mdc.service.ISuperAggregateOutputService |
| | | @Override |
| | | public List<SuperAggregateOutput> queryPerfByWtMonth(Long workstationId, Integer month) { |
| | | return this.baseMapper.queryPerfByWtMonth(workstationId, month); |
| | | } |