liurunyu
5 天以前 e1534c601e1310575264a0ddc5266bdd2c47750b
pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrStWeatherMapper.java
@@ -1,11 +1,15 @@
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
@@ -16,12 +20,37 @@
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);