| | |
| | | package com.qianwen.smartman.modules.mdc.mapper; |
| | | |
| | | import com.baomidou.dynamic.datasource.annotation.DS; |
| | | import java.time.LocalDateTime; |
| | | import java.util.List; |
| | | |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import com.baomidou.dynamic.datasource.annotation.DS; |
| | | import com.baomidou.mybatisplus.annotation.InterceptorIgnore; |
| | | import com.qianwen.smartman.modules.mdc.entity.SuperAggregateOutput; |
| | | |
| | | @DS("tdengine") |
| | | @DS("iotdb") |
| | | @InterceptorIgnore(tenantLine = "true") |
| | | public interface SuperAggregateOutputMapper { |
| | | List<SuperAggregateOutput> getOutputDataByNaturalDate(@Param("workstationIds") List<Long> workstationIds, @Param("startDate") String startDate, @Param("endDate") String endDate); |
| | | /** |
| | | * 自然日产量 |
| | | * @param workstationIds |
| | | * @param startDate |
| | | * @param endDate |
| | | * @return |
| | | */ |
| | | List<SuperAggregateOutput> getOutputDataByNaturalDate(@Param("workstationIds") List<Long> workstationIds, @Param("startDate") LocalDateTime startDate, @Param("endDate") LocalDateTime endDate); |
| | | |
| | | List<SuperAggregateOutput> getOutputDataByFactoryDate(@Param("workstationIds") List<Long> workstationIds, @Param("startDate") String startDate, @Param("endDate") String endDate); |
| | | /** |
| | | * 根据起止日期,获取产量数据 |
| | | * @param workstationIds |
| | | * @param startFatoryDate |
| | | * @param endFatoryDate |
| | | * @return |
| | | */ |
| | | List<SuperAggregateOutput> getOutputDataByFactoryDate(@Param("workstationIds") List<Long> workstationIds, @Param("startFatoryDate") int startFatoryDate, @Param("endFatoryDate") int endFatoryDate); |
| | | |
| | | List<SuperAggregateOutput> getOutputDataByWorkstationAndFactoryDate(@Param("workstationId") Long workstationId, @Param("startDate") String startDate, @Param("endDate") String endDate); |
| | | |