liurunyu
5 天以前 e1f1023dee5d094fcb1e428f36cce09211c4542a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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);
 
}