|  |  | 
 |  |  |  | 
 |  |  | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
 |  |  | import com.dy.pipIrrGlobal.pojoIr.IrIrrigateGroup; | 
 |  |  | import com.dy.pipIrrGlobal.pojoIr.IrIrrigateUnit; | 
 |  |  | import com.dy.pipIrrGlobal.voIr.VoGroup; | 
 |  |  | import com.dy.pipIrrGlobal.voIr.VoGroupOne; | 
 |  |  | import com.dy.pipIrrGlobal.voIr.VoUnit; | 
 |  |  | import com.dy.pipIrrGlobal.voIr.VoUnitOne; | 
 |  |  | import com.dy.pipIrrGlobal.voIr.VoGroupSimple; | 
 |  |  | import org.apache.ibatis.annotations.Mapper; | 
 |  |  |  | 
 |  |  | import java.util.List; | 
 |  |  | import java.util.Map; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * @author :WuZeYu | 
 |  |  |  * @Date :2024/5/21  15:32 | 
 |  |  |  * @LastEditTime :2024/5/21  15:32 | 
 |  |  |  * @author ZhuBaoMin | 
 |  |  |  * @date 2025-03-18 11:21 | 
 |  |  |  * @LastEditTime 2025-03-18 11:21 | 
 |  |  |  * @Description | 
 |  |  |  */ | 
 |  |  |  | 
 |  |  | @Mapper | 
 |  |  | public interface IrIrrigateGroupMapper extends BaseMapper<IrIrrigateGroup> { | 
 |  |  |     //增 | 
 |  |  |     int deleteByPrimaryKey(Long id); | 
 |  |  |  | 
 |  |  |     int insert(IrIrrigateGroup record); | 
 |  |  |  | 
 |  |  |     int insertSelective(IrIrrigateGroup record); | 
 |  |  |  | 
 |  |  |     //删 | 
 |  |  |     int deleteLogicById(Long id); | 
 |  |  |     IrIrrigateGroup selectByPrimaryKey(Long id); | 
 |  |  |  | 
 |  |  |     //改 | 
 |  |  |     int updateByPrimaryKeySelective(IrIrrigateGroup record); | 
 |  |  |  | 
 |  |  |     int updateByPrimaryKey(IrIrrigateGroup record); | 
 |  |  |  | 
 |  |  |     int deleteLogicById(Long id); | 
 |  |  |  | 
 |  |  |     //查一个 | 
 |  |  |     VoGroupOne selectById(Long id); | 
 |  |  | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     List<VoGroup> getIrrigateGroups(Map<?, ?> params); | 
 |  |  | } | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据指定条件获取轮灌组记录数 | 
 |  |  |      * @param params | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     Long getSimpleGroupCount(Map<?, ?> params); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据指定条件获取轮灌组列表 | 
 |  |  |      * @param params | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     List<VoGroupSimple> getSimpleGroups(Map<?, ?> params); | 
 |  |  | } |