package com.dy.pipIrrGlobal.daoRm; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.dy.pipIrrGlobal.pojoRm.RmSoilLast; import com.dy.pipIrrGlobal.pojoRm.RmWeatherHistory; import com.dy.pipIrrGlobal.voRm.VoWeather; import com.dy.pipIrrGlobal.voRm.VoWeatherMaxMinTmp; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; import java.util.Map; /** * @Author: liurunyu * @Date: 2025/6/25 10:39 * @Description */ @Mapper public interface RmWeatherHistoryMapper extends BaseMapper { int deleteByPrimaryKey(Long id); int insert(RmWeatherHistory record); int insertSelective(RmWeatherHistory record); RmWeatherHistory selectByPrimaryKey(Long id); /** * 根据指定条件查询记录数量 * @param params * @return */ Long selectCount(Map params); /** * 根据指定条件查询记录 * @param params * @return */ List selectSome(Map params); List selectMaxMinTemperature(@Param("weatherId") Long weatherId, @Param("startId") Long startId, @Param("endId") Long endId); int updateByPrimaryKeySelective(RmWeatherHistory record); int updateByPrimaryKey(RmWeatherHistory record); }