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