zhubaomin
2025-03-29 4297d17c914dc6b2d64388776ba0db7fb093c1b9
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
package com.dy.pipIrrGlobal.daoIr;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dy.pipIrrGlobal.pojoIr.IrGroupIntake;
import org.apache.ibatis.annotations.Mapper;
 
import java.util.List;
 
/**
 * @author ZhuBaoMin
 * @date 2025-03-18 11:45
 * @LastEditTime 2025-03-18 11:45
 * @Description 轮灌组取水口关联实体类
 */
 
@Mapper
public interface IrGroupIntakeMapper extends BaseMapper<IrGroupIntake> {
    int deleteByPrimaryKey(Long id);
 
    int insert(IrGroupIntake record);
 
    int insertSelective(IrGroupIntake record);
 
    IrGroupIntake selectByPrimaryKey(Long id);
 
    int updateByPrimaryKeySelective(IrGroupIntake record);
 
    int updateByPrimaryKey(IrGroupIntake record);
 
    /**
     * 根据组ID获取取水口ID集合
     * @param groupId
     * @return
     */
    List<Long> getIntakeIdsByGroupId(Long groupId);
 
    /**
     * 根据组ID删除取水口关联
     * @param groupId
     * @return
     */
    Integer deleteByGroupId(Long groupId);
}