| package com.dy.pipIrrGlobal.daoMd; | 
|   | 
| import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
| import com.dy.pipIrrGlobal.pojoMd.MdEt0; | 
| import com.dy.pipIrrGlobal.voRm.VoManure; | 
| import org.apache.ibatis.annotations.Mapper; | 
| import org.apache.ibatis.annotations.Param; | 
|   | 
| import java.util.Date; | 
| import java.util.List; | 
| import java.util.Map; | 
|   | 
| /**: This is a mapper interface for database operations on the MdEt0 entity. | 
|  *               It provides basic CRUD (Create, Read, Update, Delete) functionality. | 
|  * @Author: liurunyu | 
|  * @Date: 2025/8/19 8:35 | 
|     // Deletes a record from the database using its primary key | 
|  * @Descripton | 
|  */ | 
|     // Inserts a new MdEt0 record into the database | 
| @Mapper | 
| public interface MdEt0Mapper extends BaseMapper< MdEt0> { | 
|     // Inserts a new MdEt0 record into the database, only including non-null fields | 
|     int deleteByPrimaryKey(Long id); | 
|   | 
|     // Selects and retrieves a MdEt0 record from the database using its primary key | 
|     int insert(MdEt0 record); | 
|   | 
|     // Updates an existing MdEt0 record in the database, only updating fields that are not null | 
|     int insertSelective(MdEt0 record); | 
|   | 
|     // Updates an existing MdEt0 record in the database with all fields | 
|     MdEt0 selectByPrimaryKey(Long id); | 
|   | 
|     MdEt0 selectByCropWeatherDt(@Param("cropId") Long cropId, @Param("weatherId") Long weatherId, @Param("dt") String dt); | 
|   | 
|     int updateByPrimaryKeySelective(MdEt0 record); | 
|   | 
|     int updateByPrimaryKey(MdEt0 record); | 
|   | 
|     List<MdEt0> selectEt0ByDt(@Param("ymd")String ymd) ; | 
|   | 
|     List<MdEt0> selectEt0ByCropAndDt(Map<?, ?> params); | 
|   | 
| } |