package com.dy.pipIrrGlobal.daoRm;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.dy.pipIrrGlobal.pojoRm.RmWeatherHistory;
|
import com.dy.pipIrrGlobal.pojoRm.RmWeatherLast;
|
import com.dy.pipIrrGlobal.voRm.VoWeather;
|
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 RmWeatherLastMapper extends BaseMapper<RmWeatherLast> {
|
int deleteByPrimaryKey(Long id);
|
|
int insert(RmWeatherLast record);
|
|
int insertSelective(RmWeatherLast record);
|
|
RmWeatherLast selectByPrimaryKey(Long id);
|
|
List<RmWeatherLast> selectRmWeatherLast(@Param("stWeatherId") Long stWeatherId) ;
|
|
/**
|
* 根据指定条件查询记录数量
|
* @param params
|
* @return
|
*/
|
Long selectCount(Map<?, ?> params);
|
|
/**
|
* 根据指定条件查询记录
|
* @param params
|
* @return
|
*/
|
List<VoWeather> selectSome(Map<?, ?> params);
|
|
/**
|
* 根据指定条件查询记录
|
* @param weatherId
|
* @return
|
*/
|
List<VoWeather> selectSomeByWeatherId(@Param("weatherId") Long weatherId);
|
|
int updateByPrimaryKeySelective(RmWeatherLast record);
|
|
int updateByPrimaryKey(RmWeatherLast record);
|
}
|