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
47
48
package com.dy.pipIrrGlobal.daoIr;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dy.pipIrrGlobal.pojoIr.IrIrrigateScheduling;
import com.dy.pipIrrGlobal.voIr.VoScheduling;
import com.dy.pipIrrGlobal.voIr.VoSchedulingOne;
import org.apache.ibatis.annotations.Mapper;
 
import java.util.List;
import java.util.Map;
 
/**
 * @author :WuZeYu
 * @Date :2024/5/27  10:46
 * @LastEditTime :2024/5/27  10:46
 * @Description
 */
@Mapper
public interface IrIrrigateSchedulingMapper  extends BaseMapper<IrIrrigateScheduling> {
 
    //增
    int insertSelective(IrIrrigateScheduling record);
 
    //删
    int deleteLogicById(Long id);
 
    //改
    int updateByPrimaryKeySelective(IrIrrigateScheduling record);
 
    //查一个
    VoSchedulingOne selectById(Long id);
 
    /**
     * 根据指定条件获取作物灌溉制度数
     *
     * @param params
     * @return
     */
    Long getRecordCount(Map<?, ?> params);
 
    /**
     * 根据指定条件获取作物灌溉制度记录
     *
     * @param params
     * @return
     */
    List<VoScheduling> getSchedulings(Map<?, ?> params);
}