package com.dy.pipIrrGlobal.daoIr;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.dy.pipIrrGlobal.pojoIr.IrCrop;
|
import com.dy.pipIrrGlobal.voIr.VoCrop;
|
import com.dy.pipIrrGlobal.voIr.VoCropOne;
|
import org.apache.ibatis.annotations.Mapper;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* @author :WuZeYu
|
* @Date :2024/5/24 13:55
|
* @LastEditTime :2024/5/24 13:55
|
* @Description
|
*/
|
@Mapper
|
public interface IrCropMapper extends BaseMapper<IrCrop> {
|
//增
|
int insertSelective(IrCrop record);
|
|
//删
|
int deleteLogicById(Long id);
|
|
//改
|
int updateByPrimaryKeySelective(IrCrop record);
|
/**
|
* 根据指定条件获取项目记录数
|
*
|
* @param params
|
* @return
|
*/
|
Long getRecordCount(Map<?, ?> params);
|
|
/**
|
* 根据指定条件获取项目记录
|
*
|
* @param params
|
* @return
|
*/
|
List<VoCrop> getCrops(Map<?, ?> params);
|
|
//查一个
|
VoCropOne selectById(Long id);
|
}
|