| package com.dy.pipIrrGlobal.daoRm; | 
|   | 
| import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
| import com.dy.pipIrrGlobal.pojoRm.RmSoilHistory; | 
| import com.dy.pipIrrGlobal.pojoRm.RmSoilLast; | 
| import com.dy.pipIrrGlobal.voRm.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/25 10:04 | 
|  * @Description | 
|  */ | 
| @Mapper | 
| public interface RmSoilLastMapper extends BaseMapper<RmSoilLast> { | 
|     int deleteByPrimaryKey(Long id); | 
|   | 
|     int insert(RmSoilLast record); | 
|   | 
|     int insertSelective(RmSoilLast record); | 
|   | 
|     RmSoilLast selectByPrimaryKey(Long id); | 
|   | 
|     List<RmSoilLast> selectRmSoilLast(@Param("stSoilId") Long stSoilId) ; | 
|   | 
|     /** | 
|      * 根据指定条件查询记录数量 | 
|      * @param params | 
|      * @return | 
|      */ | 
|     Long selectCount(Map<?, ?> params); | 
|   | 
|     /** | 
|      * 根据指定条件查询记录 | 
|      * @param params | 
|      * @return | 
|      */ | 
|     List<VoSoil> selectSome(Map<?, ?> params); | 
|   | 
|     /** | 
|      * 根据指定条件查询记录 | 
|      * @param soilId | 
|      * @return | 
|      */ | 
|     List<VoSoil> selectSomeBySoilId(@Param("soilId") Long soilId); | 
|   | 
|     int updateByPrimaryKeySelective(RmSoilLast record); | 
|   | 
|     int updateByPrimaryKey(RmSoilLast record); | 
| } |