| | |
| | | import com.qianwen.smartman.modules.mdc.vo.StatusTimeTopVO; |
| | | |
| | | public interface ISuperAggregateStateService { |
| | | /** |
| | | * 根据日期获取工位状态数据 |
| | | * @param workstationIds |
| | | * @param statisticalMethod |
| | | * @param startDate |
| | | * @param endDate |
| | | * @return |
| | | */ |
| | | List<SuperAggregateState> getStatusData(List<Long> workstationIds, StatisticalMethodEnum statisticalMethod, LocalDate startDate, LocalDate endDate); |
| | | |
| | | /** |
| | | * 稼动率数据查询 |
| | | * @param workstationIds |
| | | * @param statisticalMethod |
| | | * @param startDate |
| | | * @param endDate |
| | | * @return |
| | | */ |
| | | List<SuperAggregateState> getStatusDataWithFeedback(List<Long> workstationIds, StatisticalMethodEnum statisticalMethod, LocalDate startDate, LocalDate endDate); |
| | | |
| | | List<SuperAggregateState> getStatusByCondition(List<Long> workstationIds, LocalDateTime startTime, LocalDateTime endTime); |
| | | |
| | | /** |
| | | * 统计首页稼动率排名时使用的查询 |
| | | * @param workstationIds |
| | | * @param startTime |
| | | * @param endTime |
| | | * @return |
| | | */ |
| | | List<SuperAggregateState> getStatusByTimeSection(List<Long> workstationIds, LocalDateTime startTime, LocalDateTime endTime); |
| | | |
| | | List<StatusTimeTopVO> getStatusTimeByWcs(List<Long> workstationIds, LocalDateTime startTime, LocalDateTime endTime, Integer status, Integer top); |