| New file | 
|  |  |  | 
|---|
|  |  |  | 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); | 
|---|
|  |  |  | } | 
|---|