liurunyu
4 天以前 fa40a38ac0c25ada4bf554e742862fb2200c8a78
pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoRm/RmWeatherLastMapper.java
@@ -1,16 +1,22 @@
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
 */
public interface RmWeatherLastMapper {
@Mapper
public interface RmWeatherLastMapper extends BaseMapper<RmWeatherLast> {
    int deleteByPrimaryKey(Long id);
    int insert(RmWeatherLast record);
@@ -21,6 +27,27 @@
    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);