package org.jeecg.modules.mdc.mapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import org.apache.ibatis.annotations.Param;
|
import org.jeecg.modules.mdc.dto.CurrentElectricHistoryDto;
|
import org.jeecg.modules.mdc.entity.CurrentXYZHistory;
|
|
import java.util.Date;
|
|
/**
|
* @Description: 设备坐标值表
|
* @Author: lius
|
* @Date: 2024-07-18
|
* @Version: V1.0
|
*/
|
public interface CurrentXYZHistoryMapper extends BaseMapper<CurrentXYZHistory> {
|
|
/**
|
* 获取数据的最小时间
|
*
|
* @param equipmentId
|
* @return
|
*/
|
Date getMinDate(@Param("equipmentId") String equipmentId);
|
|
/**
|
* 获取某台设备某个坐标的最大电流
|
*
|
* @param equipmentId
|
* @param axisType
|
* @param startDate
|
* @param endDate
|
* @return
|
*/
|
CurrentElectricHistoryDto getMaxElectric(@Param("equipmentId") String equipmentId, @Param("axisType") Integer axisType, @Param("startDate") Date startDate, @Param("endDate") Date endDate);
|
}
|