zhubaomin
2025-04-07 1a2b07f01ba4616fd9e894dddf474b56d020158c
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
46
package com.dy.pipIrrGlobal.daoIr;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dy.pipIrrGlobal.pojoIr.IrCrop;
import com.dy.pipIrrGlobal.voIr.VoCrop;
import com.dy.pipIrrGlobal.voIr.VoCropOne;
import org.apache.ibatis.annotations.Mapper;
 
import java.util.List;
import java.util.Map;
 
/**
 * @author :WuZeYu
 * @Date :2024/5/24  13:55
 * @LastEditTime :2024/5/24  13:55
 * @Description
 */
@Mapper
public interface IrCropMapper extends BaseMapper<IrCrop> {
    //增
    int insertSelective(IrCrop record);
 
    //删
    int deleteLogicById(Long id);
 
    //改
    int updateByPrimaryKeySelective(IrCrop record);
    /**
     * 根据指定条件获取项目记录数
     *
     * @param params
     * @return
     */
    Long getRecordCount(Map<?, ?> params);
 
    /**
     * 根据指定条件获取项目记录
     *
     * @param params
     * @return
     */
    List<VoCrop> getCrops(Map<?, ?> params);
 
    //查一个
    VoCropOne selectById(Long id);
}