New file |
| | |
| | | package com.dy.pipIrrGlobal.daoIr; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.dy.pipIrrGlobal.pojoIr.IrUnitClient; |
| | | import com.dy.pipIrrGlobal.voIr.VoUnitSimple; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * @author ZhuBaoMin |
| | | * @date 2024-07-10 14:47 |
| | | * @LastEditTime 2024-07-10 14:47 |
| | | * @Description |
| | | */ |
| | | |
| | | @Mapper |
| | | public interface IrUnitClientMapper extends BaseMapper<IrUnitClient> { |
| | | int deleteByPrimaryKey(Long id); |
| | | |
| | | int insert(IrUnitClient record); |
| | | |
| | | int insertSelective(IrUnitClient record); |
| | | |
| | | IrUnitClient selectByPrimaryKey(Long id); |
| | | |
| | | int updateByPrimaryKeySelective(IrUnitClient record); |
| | | |
| | | int updateByPrimaryKey(IrUnitClient record); |
| | | |
| | | /** |
| | | * 根据农户编号获取灌溉单元数量 |
| | | * @param params |
| | | * @return |
| | | */ |
| | | Long getUnitCountByClientId(Map<?, ?> params); |
| | | |
| | | /** |
| | | * 根据农户编号获取灌溉单元列表 |
| | | * @param params |
| | | * @return |
| | | */ |
| | | List<VoUnitSimple> getUnitsByClientId(Map<?, ?> params); |
| | | } |