liurunyu
7 天以前 e8937f27fce194d015ce6c27d286e7fc89f5e580
pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrCommonIntakesMapper.java
New file
@@ -0,0 +1,36 @@
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);
}