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