yangys
2024-10-30 c27b939fa5fa6ce4d712f7e9ced2ad811d69d5ec
smart-man-boot/src/main/java/com/qianwen/smartman/modules/mdc/service/ISuperAggregateStateService.java
@@ -8,12 +8,35 @@
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);