package com.dy.pipIrrGlobal.daoIr;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.dy.pipIrrGlobal.pojoIr.IrIrrigateGroup;
|
import com.dy.pipIrrGlobal.voIr.VoGroup;
|
import com.dy.pipIrrGlobal.voIr.VoGroupOne;
|
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
|
* @Description
|
*/
|
@Mapper
|
public interface IrIrrigateGroupMapper extends BaseMapper<IrIrrigateGroup> {
|
//增
|
int insertSelective(IrIrrigateGroup record);
|
|
//删
|
int deleteLogicById(Long id);
|
|
//改
|
int updateByPrimaryKeySelective(IrIrrigateGroup record);
|
|
//查一个
|
VoGroupOne selectById(Long id);
|
|
/**
|
* 根据指定条件获取取水口记录数
|
*
|
* @param params
|
* @return
|
*/
|
Long getRecordCount(Map<?, ?> params);
|
|
/**
|
* 根据指定条件获取取水口记录
|
*
|
* @param params
|
* @return
|
*/
|
List<VoGroup> getIrrigateGroups(Map<?, ?> params);
|
|
/**
|
* 根据轮灌组编号获取取水口列表
|
* @param groupId
|
* @return
|
*/
|
List<Long> getIntakesByGroupId(Long groupId);
|
}
|