| New file | 
|  |  |  | 
|---|
|  |  |  | 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); | 
|---|
|  |  |  | } | 
|---|