package com.qianwen.smartman.modules.mdc.mapper; import com.baomidou.dynamic.datasource.annotation.DS; import java.util.List; import org.apache.ibatis.annotations.Param; import com.qianwen.smartman.modules.mdc.dto.ProcessParameterVO; import com.qianwen.smartman.modules.mdc.dto.TimeDTO; import com.qianwen.smartman.modules.mdc.entity.LastProcessParam; import com.qianwen.smartman.modules.mdc.entity.WorkstationCollectData; //@DS("tdengine") @DS("iotdb") public interface SuperProcessParameterMapper { @Deprecated List queryLastParameter(@Param("workstationId") String workstationId); /** * 查询工位最新参数 * @param workstationId * @return */ LastProcessParam getLastParameters(@Param("workstationId") String workstationId); List queryProcessParameter(@Param("workstationId") String workstationId, @Param("collectItems") List collectItems, @Param("startTime") Long startTime, @Param("endTime") Long endTime); List pageProcessParameter(@Param("size") Integer size, @Param("current") Integer current, @Param("startTime") Long startTime, @Param("endTime") Long endTime, @Param("item") String item, @Param("workstationId") String workstationId); Long countProcessParameter(@Param("item") String item, @Param("startTime") Long startTime, @Param("endTime") Long endTime, @Param("workstationId") String workstationId); ProcessParameterVO getOneDate(@Param("workstationId") String workstationId, @Param("item") String item, @Param("time") String time, @Param("flag") Boolean flag); List processParameterListByShift(@Param("times") List times, @Param("collectItems") List collectItems, @Param("workstationId") String workstationId); List oldOneCollectList(@Param("workstationId") String workstationId, @Param("item") String item, @Param("startTime") Long startTime, @Param("endTime") Long endTime); ProcessParameterVO oldFirstStatue(@Param("workstationId") String workstationId, @Param("item") String item, @Param("startTime") Long startTime); ProcessParameterVO oldLastStatue(@Param("workstationId") String workstationId, @Param("item") String item, @Param("endTime") Long endTime); }