package com.dy.pipIrrGlobal.daoIr;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.dy.pipIrrGlobal.pojoIr.IrIrrigatePlan;
|
import com.dy.pipIrrGlobal.voIr.VoIrrigatePlan;
|
import org.apache.ibatis.annotations.Mapper;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* @author ZhuBaoMin
|
* @date 2025-02-20 15:33
|
* @LastEditTime 2025-02-20 15:33
|
* @Description
|
*/
|
|
@Mapper
|
public interface IrIrrigatePlanMapper extends BaseMapper<IrIrrigatePlan> {
|
int deleteByPrimaryKey(Long id);
|
|
int insert(IrIrrigatePlan record);
|
|
int insertSelective(IrIrrigatePlan record);
|
|
IrIrrigatePlan selectByPrimaryKey(Long id);
|
|
int updateByPrimaryKeySelective(IrIrrigatePlan record);
|
|
int updateByPrimaryKey(IrIrrigatePlan record);
|
|
/**
|
* 发布指定的灌溉计划
|
* @param planId
|
* @return
|
*/
|
int publishIrrigatePlan(Long planId);
|
|
/**
|
* 根据指定的条件获取计划数量
|
* @param params
|
* @return
|
*/
|
Long getIrrigatePlanCount(Map<?, ?> params);
|
|
/**
|
* 根据指定的条件获取计划列表
|
* @param params
|
* @return
|
*/
|
List<VoIrrigatePlan> getIrrigatePlans(Map<?, ?> params);
|
}
|