liurunyu
4 天以前 dc3a3b4993c8a205a7932328d149bd7cfc94cf06
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);
}