| | |
| | | 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); |
| | | |
| | | /** |
| | | * 根据状态,起止时间获取聚合状态数据列表 |
| | | * @param workstationIds |
| | | * @param startTime 开始时间 |
| | | * @param endTime 结束时间 |
| | | * @param status 状态值,查询wcs=status的数据 |
| | | * @param top top多少(统计后取出最高的top个数据) |
| | | * @return 数据列表 |
| | | */ |
| | | List<StatusTimeTopVO> getStatusTimeByWcs(List<Long> workstationIds, LocalDateTime startTime, LocalDateTime endTime, Integer status, Integer top); |
| | | |
| | | List<SuperAggregateState> getOeeAnalysis(List<Long> workStationIdList, LocalDateTime startTime, LocalDateTime endTime); |
| | |
| | | |
| | | List<SuperAggregateState> crossDay(LocalDateTime start, LocalDateTime end); |
| | | |
| | | void saveState(List<SuperAggregateState> collect); |
| | | //void saveState(List<SuperAggregateState> collect); |
| | | |
| | | List<SuperAggregateState> getStatusDataByTime(List<Long> workstationIdList, LocalDateTime startTime, LocalDateTime endTime); |
| | | |