package com.dy.pipIrrGlobal.daoPr;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.dy.pipIrrGlobal.pojoPr.PrCommonIntakes;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
/**
|
* @author ZhuBaoMin
|
* @date 2024-10-28 14:11
|
* @LastEditTime 2024-10-28 14:11
|
* @Description
|
*/
|
|
@Mapper
|
public interface PrCommonIntakesMapper extends BaseMapper<PrCommonIntakes> {
|
int deleteByPrimaryKey(Long id);
|
|
int insert(PrCommonIntakes record);
|
|
int insertSelective(PrCommonIntakes record);
|
|
PrCommonIntakes selectByPrimaryKey(Long id);
|
|
int updateByPrimaryKeySelective(PrCommonIntakes record);
|
|
int updateByPrimaryKey(PrCommonIntakes record);
|
|
/**
|
* 根据操作员ID、取水口ID获取常用取水口对象
|
* @param operatorId
|
* @param intakeId
|
* @return
|
*/
|
PrCommonIntakes selectByOperatorAndIntake(@Param("operatorId") Long operatorId, @Param("intakeId")Long intakeId);
|
}
|