package com.dy.pipIrrGlobal.daoPr; 
 | 
  
 | 
import com.baomidou.mybatisplus.core.mapper.BaseMapper; 
 | 
import com.dy.pipIrrGlobal.pojoPr.PrStSoil; 
 | 
import com.dy.pipIrrGlobal.pojoPr.PrStWeather; 
 | 
import com.dy.pipIrrGlobal.voPr.VoMqttSimple; 
 | 
import com.dy.pipIrrGlobal.voPr.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/17 16:10 
 | 
 * @Description 
 | 
 */ 
 | 
@Mapper 
 | 
public interface PrStWeatherMapper extends BaseMapper<PrStWeather> { 
 | 
    int deleteByPrimaryKey(Long id); 
 | 
  
 | 
    /** 
 | 
     * 逻辑删除 
 | 
     * @param id primaryKey 
 | 
     * @return update count 
 | 
     */ 
 | 
    int deleteLogicById(Long id); 
 | 
  
 | 
    int insert(PrStWeather record); 
 | 
  
 | 
    int insertSelective(PrStWeather record); 
 | 
  
 | 
    PrStWeather selectByPrimaryKey(Long id); 
 | 
  
 | 
  
 | 
    VoWeather selectOne(Long id) ; 
 | 
    /** 
 | 
     * 根据指定条件查询记录总数 
 | 
     * @param params 
 | 
     * @return 
 | 
     */ 
 | 
    Long totalCount(Map<?, ?> params); 
 | 
  
 | 
    /** 
 | 
     * 根据指定条件查询记录 
 | 
     * @param params 
 | 
     * @return 
 | 
     */ 
 | 
    List<VoWeather> selectSome(Map<?, ?> params); 
 | 
  
 | 
    List<PrStWeather> selectStPoByFBoxIdAndNo(@Param("fbox_id")String fboxId, @Param("no")Integer no) ; 
 | 
  
 | 
    List<VoMqttSimple> selectAllSimple() ; 
 | 
  
 | 
    int updateByPrimaryKeySelective(PrStWeather record); 
 | 
  
 | 
    int updateByPrimaryKey(PrStWeather record); 
 | 
} 
 |