zhubaomin
2025-04-07 1a2b07f01ba4616fd9e894dddf474b56d020158c
pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrIntakeVcMapper.java
New file
@@ -0,0 +1,35 @@
package com.dy.pipIrrGlobal.daoPr;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dy.pipIrrGlobal.pojoPr.PrIntakeVc;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
/**
 * @author ZhuBaoMin
 * @date 2024-05-31 19:26
 * @LastEditTime 2024-05-31 19:26
 * @Description
 */
@Mapper
public interface PrIntakeVcMapper extends BaseMapper<PrIntakeVc> {
    int deleteByPrimaryKey(Long id);
    int insert(PrIntakeVc record);
    int insertSelective(PrIntakeVc record);
    PrIntakeVc selectByPrimaryKey(Long id);
    int updateByPrimaryKeySelective(PrIntakeVc record);
    int updateByPrimaryKey(PrIntakeVc record);
    /**
     * 根据取水口ID获取与之绑定虚拟卡ID
     * @param intakeId
     * @return
     */
    Long getVcIdByIntakeId(@Param("intakeId") Long intakeId);
}